Is there a way to use the LDAP C SDK to add an object with a forward
slash in the distinguished name?
I've tried to do so using the ldap_add_s() call. This fails with a
LDAP_INVALID_DN_SYNTAX error. This seems to be the correct error since
RFC 1779 does not list the forward slash as a valid DN character.
Unfortunately, I need to programmatically add subnets objects to Active
Directory. Microsoft stores these subnet objects with a DN in the format
of "cn=10.10.10.10/24".
Can I use the SDK to accomplish this?
Thanks!
--
Alexis MacFarlane
Senior Software Engineer
Lucent Technologies
IP Services Product Group