Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Insert emty value to LDAP

I want to insert values in LDAP but data can contains empty value.
I obtain this error
Exception in component tLDAPOutput_1
javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 - 00000057:
LdapErr: DSID-0C090A85, comment: Error in attribute conversion operation, data 0, vece.

.
How can i solve this problem?
Thx 0683p000009MACn.png
Labels (3)
3 Replies
Anonymous
Not applicable
Author

Please, can you provide the sample of ldap entry which are rejected by the tLDAPout component ?
Regards,
GAT
Anonymous
Not applicable
Author

Thank for your reply! Here is an example of LDIF entry rejected by the LdapOutput Component
dn: CN=DUPOND TOTO,OU=Utilisateurs,OU=AD,DC=domain,DC=com
objectClass: top
objectClass: person
objectClass: user
cn: DUPOND TOTO
sn: DUPOND
postalAddress: c.dupond@domain.com
homePhone:
division: DPD

It doesn't work because homePhone attribut has no value.
Best regard,
npa
Anonymous
Not applicable
Author

The 'homePhone' (Home Telephone Number) attribute specifies home
telephone numbers (e.g., "+1 775 555 1234") associated with a person.
( 0.9.2342.19200300.100.1.20 NAME 'homePhone'
EQUALITY telephoneNumberMatch
SUBSTR telephoneNumberSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.50 )
The telephoneNumber (1.3.6.1.4.1.1466.115.121.1.50) syntax and the
'telephoneNumberMatch' and 'telephoneNumberSubstringsMatch' rules are
described in .
The Home Telephone Number attribute type specifies a home telephone number associated with a person. Attribute values should follow the agreed format for international telephone numbers: i.e., "+44 71 123 4567".
You must replace empty or null by default value like (+) for example.
Regards,