Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Changing LDAP "Search Attribute"
John Eric Hamacher
Joined: Apr 25, 2007
May 23, 2008 13:22:00
I am authenticating against LDAP as such:
Hashtable authEnv = new Hashtable();
"CN=" + userAuth.getFirstName() + " " + userAuth.getLastName() +
I am using the user's first and last name to authenticate. Now, I want to use their login id to authenticate. I was told "to change the Search Attribute from 'uid' to 'sAMAccountName'". I don't know what this refers to. Does anybody have any ideas?
I agree. Here's the link:
subject: Changing LDAP "Search Attribute"
problem in LDAP Authentication
JNDI, LDAP, & Active Directory
WLS6.1 - Configuring realm for openLdap
Tranasaction Rollback in JAVA LDAP API
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013