Validate user id against AD
55366Sep 19 2008 — edited Sep 19 2008I need to write an application to validate a user id is in Active Directory. The only way I have figured out how to do this is using dbms_ldap.simple_bind_s and supplying the user id and a password (the password is not the actual password). I'm able to take the return value from the call and determine if the user exists in AD, but it also counts as an invalid login attempt to AD. During my testing I have managed to lock out several accounts.
Does dbms_ldap have a way to just validate if the user is valid without passing in a password?