06-21-04 10:50 PM
Thanks for the reply, craigdawson. I appreciate your time.
I have now connected to LDAP. However, the only way in which I can obtain th
e user's attributes is by calling:
String user = "CN=Smith Bob A,OU=Information Systems,OU=Maryville";
javax.naming.directory.Attributes atts = ctx.getAttributes (user);
I need to determine how I can send in the user name instead of the distingui
shed name as the value of the String user defined above. When the user logs
in, I do not have the distinguished name; all I have is the user name (i.e.
samaccountname in Active Di
rectory). In the DirectContext API, I do not see a method that will allow m
e to send in a user name instead of the distinguished name.
Any assistance is greatly appreciated.
[ Post a follow-up to this message ]
|