Thread:Extension talk:LDAP Authentication/how to no anonymous bind and can't enable debug

I disable anonymous search in ldap's acl, I don't know about LDAPProxy, I think it just a account for binding. now I can only login the admin user（wiki's uid=1) If I try to login the ldap user, it will tell me no such user and I can't create user. And the SearchAttributes shouldn't be an objectclass ? I can't find log the in /tmp or in DocumentRoot/tmp/debug.log, even I don't have this directory DocumentRoot/tmp/debug.log drwxrwx--x 15 www-data www-data 4096  8月 19 14:05 wiki.test,tw

mediawiki-1.19.1 LdapAuthentication-MW1.19-108775 $wgLDAPDomainNames = array("ldaptest"); $wgLDAPServerNames = array("ldaptest"=>"ldap.test.tw"); $wgLDAPUseLocal = false; $wgLDAPEncryptionType = array("ldaptest"=>"ssl"); $wgLDAPOptions = array; $wgLDAPPort = array("ldaptest"=>636); $wgLDAPSearchStrings = array; $wgLDAPProxyAgent = array("ldaptest"=>"cn=ldapreader,ou=ldapauth,dc=test,dc=tw"); $wgLDAPProxyAgentPassword = array("ldaptest"=>'readpassword'); $wgLDAPSearchAttributes = array("ldaptest"=>"uid"); $wgLDAPBaseDNs = array("ldaptest"=>"ou=web,dc=test,dc=tw"); $wgLDAPGroupBaseDNs = array("ldaptest"=>"ou=Group,ou=web,dc=test,dc=tw"); $wgLDAPUserBaseDNs = array("ldaptest"=>"ou=People,ou=web,dc=test,dc=tw"); $wgLDAPWriterDN = array("ldaptest"=>"cn=webwriter,ou=ldapauth,dc=test,dc=tw"); $wgLDAPWriterPassword = array("ldaptest"=>'writepassword'); $wgLDAPWriteLocation = array("ou=People,ou=web,dc=test,dc=tw"); $wgLDAPAddLDAPUsers = array("ldaptest"=>true); $wgLDAPUpdateLDAP = array("ldaptest"=>true); $wgLDAPPasswordHash = array("ldaptest"=>"crypt"); $wgLDAPMailPassword = array("ldaptest"=>true); $wgLDAPPreferences = array("ldaptest"=>array("email"=>"mail","realname"=>"sn","nickname"=>"cn")); $wgLDAPDisableAutoCreate = array("ldaptest"=>true); $wgLDAPDebug = 3; $wgDebugLogGroups["ldap"] = "/tmp/debug.log" ; $wgLDAPGroupUseFullDN = array; $wgLDAPLowerCaseUsername = array; $wgLDAPLowerCaseUsernameScheme = array; $wgLDAPGroupUseRetrievedUsername = array; $wgLDAPGroupObjectclass = array; $wgLDAPGroupAttribute = array; $wgLDAPGroupNameAttribute = array; $wgLDAPGroupsUseMemberOf = array; $wgLDAPUseLDAPGroups = array("ldaptest"=>true); $wgLDAPLocallyManagedGroups = array; $wgLDAPGroupsPrevail = array("ldaptest"=>true); $wgLDAPRequiredGroups = array; $wgLDAPExcludedGroups = array; $wgLDAPGroupSearchNestedGroups = array; $wgLDAPAuthAttribute = array; $wgLDAPAutoAuthUsername = ""; $wgLDAPAutoAuthDomain = ""; $wgPasswordResetRoutes['domain'] = true;