diff options
author | Evan Prodromou <evan@status.net> | 2009-11-07 13:03:52 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-11-07 13:03:52 -0500 |
commit | d9cde0ef80ee838a99035d44f0286b3cc902e332 (patch) | |
tree | ac9d74d52a06890db71f61ac934e75b937c19753 /plugins/Ldap/README | |
parent | f2b642ce822c480cfc418c38106cc18c3a428cf4 (diff) | |
parent | 2d8ad0409d8e78ec35a65156bc375eacbe561963 (diff) |
Merge branch '0.9.x' into userflag
Diffstat (limited to 'plugins/Ldap/README')
-rw-r--r-- | plugins/Ldap/README | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/Ldap/README b/plugins/Ldap/README new file mode 100644 index 000000000..617738e0b --- /dev/null +++ b/plugins/Ldap/README @@ -0,0 +1,23 @@ +The LDAP plugin allows for StatusNet to handle authentication, authorization, and user information through LDAP. + +Installation +============ +Add configuration entries to config.php. These entries are: + +The following are documented at http://pear.php.net/manual/en/package.networking.net-ldap2.connecting.php +$config['ldap']['binddn'] +$config['ldap']['bindpw'] +$config['ldap']['basedn'] +$config['ldap']['host'] + +$config['ldap']['nickname_attribute'] Set this to the name of the ldap attribute that holds the username. For example, on Microsoft's Active Directory, this should be set to 'sAMAccountName' +$config['ldap']['nickname_email'] Set this to the name of the ldap attribute that holds the user's email address. For example, on Microsoft's Active Directory, this should be set to 'mail' +$config['ldap']['nickname_fullname'] Set this to the name of the ldap attribute that holds the user's full name. For example, on Microsoft's Active Directory, this should be set to 'displayName' +$config['ldap']['nickname_homepage'] Set this to the name of the ldap attribute that holds the the url of the user's home page. +$config['ldap']['nickname_location'] Set this to the name of the ldap attribute that holds the user's location. + +$config['ldap']['authoritative'] Set to true if LDAP's responses are authoritative (meaning if LDAP fails, do check the any other plugins or the internal password database) +$config['ldap']['autoregister'] Set to true if users should be automatically created when they attempt to login + +Finally, add "addPlugin('ldap');" to the bottom of your config.php + |