[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Comparing two DNs
Hi there,
How can I compare two DNs to see if they are actually the same?
Since there can be different spacing between RDNs and various escaping used
within an RDN value, a simple string comparison is probably not robust
enough. I'm using the LDAP C SDK by Netscape, and have an impression that
there is a function to do it, but I can't find it.
Also, when you query a server, does it always return the DN of an
entry exactly the same way?
Thanks,
Jing