Thread:Extension talk:LDAP Authentication/AutoAuth with Windows AD : cannot pull preferences/reply (2)

Hey there,

I finally found the reasons why it was not working :
 * $wgLDAPSearchStrings should not be defined if one wants to do a proxy bind
 * Encryption + multiple servers might have thrown the whole thing off a bit (will require some investigation, maybe it was only the next item, see below)
 * ProxyAgent was wrong (should not have been a full DN but just a EXAMPLEDOMAIN\\USER-NAME string
 * BaseDN was wrong (dc=mydom,dc=tld did it)

Also, it is worth noting that when debugging AutoAuthentication, one needs to add require_once("$IP/includes/GlobalFunctions.php") ; before actually calling AuthAutoSetup;, otherwise the debug print function is undefined.

Cheers,

Romain