This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Security and the fly likes search a user in LDAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "search a user in LDAP" Watch "search a user in LDAP" New topic

search a user in LDAP

vittal mareddy

Joined: Jul 24, 2011
Posts: 16
I have a below code to lookup LDAP to find userprincipal name using login name, works fine, look up to default ldap server, if i want to provide ldap server name, port and principal user name and password, what code i have to use, it will be great help.

It is sorta covered in the JavaRanch Style Guide.
subject: search a user in LDAP
Similar Threads
LDAP for Authentication
LDAP Context properties and LDAP authentication.
How to configure LDAP in JBoss AS 7.1.1
How to bind() ?
JNA to call advapi32 GetUserName function