[Date Prev][Date Next] [Chronological] [Thread] [Top]

[openldap 2.1.12] about use of ldap_add_s(...)


I would like to add in my database this following attribute
'optionvalues' with the value 'AABCDAA' and according to this format:
optionvalues:: AABCDAA

'optionvalues' is a string (SYNTAX{100})

I use for that the ldap function :
int ldap_add_s(LDAP *ld, const char *dn, LDAPMod *attrs[]);
To complete LDAPMod structure, I use "struct berval **modv_bvals" and

but the result is always the same:
optionvalues: AABCDAA

only one ':' ??

so How can I do to obtain 2 ':' ?

Thanks a lot