Extension talk:LDAP Authentication/FAQ

Hi, I tried to set up the LDAP authentification using the following config: $wgGroupPermissions['*' ]['createaccount'] = false; $wgGroupPermissions['user']['createaccount'] = false; $wgGroupPermissions['*']['read'] = true; $wgGroupPermissions['*']['edit'] = false; require_once("extensions/LdapAuthentification.php"); $wgAuth= new LdapAuthenticationPlugin; $wgLDAPDebug = 3; $wgLDAPDomainNames = array( "compass" ); $wgLDAPServerNames = array( "compass"=>"ldap.compass" ); $wgLDAPSearchAttributes = array ("compass"=>"uid"); $wgLDAPBaseDNs = array("ou=People,dc=compass"); $wgLDAPSearchStrings = array("compass" => "uid=USER-NAME,ou=People,dc=compass"); $wgLDAPEncryptionType = array( "compass"=>"ssl"); $wgLDAPUseLocal = false; $wgLDAPDisableAutoCreate = array("compass"=>"false"); but my wiki does not seem to use the LDAP at all - no matter what I put into the ServerNames it still claims that there is no user by the name blabla. I've read that this is often due to missing LDAP support in PHP but I'm pretty sure it is there - I tried some sample php code for LDAP and it works. Also, ldapsearch on the command line work as it should. Any ideas? I get this as debug: Entering validDomain User is using a valid domain. etting domain as: compass Entering getCanonicalName Username isn't empty. Munged username: Komm Entering allowPasswordChange Entering modifyUITemplate


 * This is not the right spot for support requests. There is a tab at the top of each page that says support. Please post this there. I can't and won't monitor a million discussion pages. --Ryan lane 16:59, 21 September 2009 (UTC)