Thread:Extension talk:LDAP Authentication/why is it "Doing an anonymous bind" instead of using the username and password i entered?/reply (5)

so if I add

$wgLDAPSearchAttributes = array( "AD"=>"sAMAccountName" );

it should work?

It didn't seem to change anything.

Sorry I am LDAP stupid but I was thinking that it would authenticate with the user name and password provided and then do the lookup to check to see if it is in the proper group. Obviously if it couldn't ever authenticate then it is a badpass or username.

Thank you very much for the help.