Changes between Version 10 and Version 11 of GuardPlugin


Ignore:
Timestamp:
2012-05-24T00:17:04Z (12 years ago)
Author:
Pan Luo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GuardPlugin

    v10 v11  
    114114    'servicePassword' => 'PASSWORD', // password to connect to LDAP
    115115    'baseDn' => 'ou=Campus Login, o=school.ca',
    116     'usernameField' => 'username', // not used
    117     'passwordField' => 'password', // not used
     116    'usernameField' => 'username',
     117    'attributeSearchFilters' => array(
     118//        'uid',
     119    ),
     120    'attributeMap' => array(
     121//        'username' => 'uid',
     122    ),
    118123);
    119124}}}
     
    123128* servicePassword: The password used to connect to LDAP server
    124129* baseDn: The base DN
     130* usernameField: Change it if the key name of the username is not "username" in the LDAP directory
     131* attributeSearchFilters: The filters is used to search for attributes. The values of those filters come from the first ldap search (using the username)
     132* attributeMap: Mapping the attributes to the $this->data
    125133
    126134=== Note ===