Lokesh Taxali wrote:
I have some Java code in a web app that programatically accesses an LDAP
server to retrieve user names in a given group. When traversing the
SearchResult results object,

Using JLDAP, I would hope :)

I query for the member's name using the
attribute ID "member" - however if the application is deployed on a
different LDAP server like Domino then I have to use "uniqueMember". Is
there a programatic way of finding out what string to use for attribute
ID, so I dont have to keep changing between 'member' and 'uniqueMember'
each time the app is deployed differently.

Assuming the server's schema is based on RFC 2256, for any entry:

(objectclass=groupofnames) implies the use of member
(objectclass=groupofuniquenames) implies the use of uniquemember

Jon Roberts
www.mentata.com

---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to