Rakesh Yadav wrote:
I want to get unique ids for each ldap entry, but i don't know whether ldap provides unique id for each entry or not.
Well, it also depends on the scope within which the ID has to be unique.
You might want to look at attribute entryUUID which is generated by the LDAP server. The entryUUID never changes even when renaming the entry. Not all LDAP servers support this though. OpenLDAP does.
See also http://www.ietf.org/rfc/rfc4530.txt
Ciao, Michael.