[Date Prev][Date Next]
Promblems with ldap_modrdn_s function.
-----BEGIN PGP SIGNED MESSAGE-----
I'm using the C function ldap_modrdn_s() from the OpenLDAP API for modify the
RDN of an entry in my DIT (Directory Information Tree).
This is part of the C code I'm using:
if ((ldap_cod=ldap_modrdn_s(ld,oldrdn,newrdn)) != LDAP_SUCCESS)
The problem is that the function ldap_modrdn_s() returns LDAP_SUCCESS, but
when I search for the newrdn entry I can't found it, and the oldrdn has been
eliminated from the directory.
May someone help me with this ?
Is there any option in the OpenLDAP config file that may be the origin of
this problem ?
I have C code for add new entries, modify attributes, delete entries, ... and
goes fine. The only problem I have is with this function.
Is there any other way to obtain the same result ?
Thanks in advance for your help.
Carles Xavier Munyoz Baldó / email@example.com
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
-----END PGP SIGNATURE-----