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

Ah. You are setting a group base dn, but are not setting a user base dn. The extension isn't finding the user's DN, so it can't find it in any groups. It works when you change the code because you are manually setting the user base dn in the code. Set the setting...