Thread:Extension talk:LDAP Authentication/LDAP search for special entry

Hey,

I'am searching for a possibility to access a special colum at the ldap. For example, if a user want to log in, at first, I want to check if this user exists or not. After this step, I want to check a special attribute. Only User, which have an entry at these attribute are allowed to log in. But I don't know how and where to set these filter. I thought, perhaps here at the LocalSettings.php? but I'am really not sure. $wgLDAPSearchAttributes = array( "array"=>"uid" >>here?<< ); I want to search for something like: "(eduPersonEntitlement = urn:mace:dir:entitlement....)" Thanks for help. Best regards