diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-11-18 15:40:27 -0500 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-11-18 15:40:27 -0500 |
commit | 297f320e6f30aa973b275efc4aed59bf8c45fc0a (patch) | |
tree | 845505f60bcf771acb4f5ba3d5ef56a7e0c1f104 /plugins/LdapAuthorization/README | |
parent | 9ed70a5b111c57923eff46da84c8f6e3167eb01e (diff) |
attributes['username'] is required
Diffstat (limited to 'plugins/LdapAuthorization/README')
-rw-r--r-- | plugins/LdapAuthorization/README | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/LdapAuthorization/README b/plugins/LdapAuthorization/README index 2166b2726..fcf1efa47 100644 --- a/plugins/LdapAuthorization/README +++ b/plugins/LdapAuthorization/README @@ -45,6 +45,9 @@ filter: Default search filter. scope: Default search scope. See http://pear.php.net/manual/en/package.networking.net-ldap2.connecting.php +attributes: an array that relates StatusNet user attributes to LDAP ones + username*: LDAP attribute value entered when authenticating to StatusNet + * required default values are in (parenthesis) @@ -72,7 +75,7 @@ addPlugin('ldapAuthentication', array( addPlugin('ldapAuthorization', array( 'provider_name'=>'Example', 'authoritative'=>false, - 'uniqueMember_attribute'=>'uniqueMember', + 'uniqueMember_attribute'=>'member', 'roles_to_groups'=> array( 'moderator'=>'CN=SN-Moderators,OU=Users,OU=StatusNet,OU=US,DC=americas,DC=global,DC=loc', 'administrator'=> array('CN=System-Adminstrators,OU=Users,OU=StatusNet,OU=US,DC=americas,DC=global,DC=loc', @@ -81,6 +84,8 @@ addPlugin('ldapAuthorization', array( 'binddn'=>'username', 'bindpw'=>'password', 'basedn'=>'OU=Users,OU=StatusNet,OU=US,DC=americas,DC=global,DC=loc', - 'host'=>array('server1', 'server2') + 'host'=>array('server1', 'server2'), + 'attributes'=>array( + 'username'=>'sAMAccountName') )); |