Discussion:
reg: the attribute mapping in eDirectory
(too old to reply)
m***@yahoo.com
2006-01-06 21:43:26 UTC
Permalink
I am having problems in finding the attribute name in eDirectory for the
coresponding LDAP attribute DISTINGUISHEDNAME.

Can some one help me.

I know in IPlanet it is entryDN, I don't know in eDirectory and I am not
able to find it.

forex:
I am having ldap browser where I can see list of users, if I want to see
the DN for particular user I have to know the attribute name which holds
it.

In IPlanet it is entryDN and in AD it is distinguishedName.
I dont know for eDirectory?
Susan Perrin
2006-01-06 22:44:19 UTC
Permalink
Hi

eDirectory doesn't provide a separate attribute on its objects for
distinguished name. The fdn of the object returned in the ldap message is
the objectName of type LDAPDN. The cldap sdk function ldap_get_dn gets the
fdn of the object for you.

If you want to search based on matching rules of the fdn, eDirectory
supports extensible matching rule for fdn matching.

I hope this helps.

Thank you
Susan
m***@yahoo.com
2006-01-09 19:52:21 UTC
Permalink
Hi Susan!

Thanks a lot for your response.

I am java (java sdk), and I am not able to find fucntion that gets me the
xxxDN().
can you help me in finding it?

If you have any sort of code that would help me in getting the DN using
java sdk that would be a great help.


--praveen
Post by Susan Perrin
Hi
eDirectory doesn't provide a separate attribute on its objects for
distinguished name. The fdn of the object returned in the ldap message is
the objectName of type LDAPDN. The cldap sdk function ldap_get_dn gets the
fdn of the object for you.
If you want to search based on matching rules of the fdn, eDirectory
supports extensible matching rule for fdn matching.
I hope this helps.
Thank you
Susan
Susan Perrin
2006-01-09 23:52:17 UTC
Permalink
Hi

If you are using the Novell jldap classes, the sample at
http://developer.novell.com/ndk/doc/samplecode/jldap_sample/Search.java.html

shows the line System.out.println("\n" + nextEntry.getDN()); in the loop
that is processing the searchResults.

If you are using jndi/ldap, the sample at
http://java.sun.com/products/jndi/tutorial/basics/directory/basicsearch.html
shows use of getName.

Thank you
Susan
m***@yahoo.com
2006-01-11 16:17:42 UTC
Permalink
Thank you susan!

It worked.

Thanks a lot.

--praveen
Post by Susan Perrin
Hi
If you are using the Novell jldap classes, the sample at
http://developer.novell.com/ndk/doc/samplecode/jldap_sample/Search.java.ht
ml
Post by Susan Perrin
shows the line System.out.println("\n" + nextEntry.getDN()); in the loop
that is processing the searchResults.
If you are using jndi/ldap, the sample at
http://java.sun.com/products/jndi/tutorial/basics/directory/basicsearch.ht
ml
Post by Susan Perrin
shows use of getName.
Thank you
Susan
Loading...