Thread:User talk:Ryan lane/search attributes with a userdefined filter

Hey Ryan,

please give me a hint. 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?<< );

Thanks for help.

Best regards