]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/Ldap/README
Store the canonical forms of the email address and nickname
[quix0rs-gnu-social.git] / plugins / Ldap / README
1 The LDAP plugin allows for StatusNet to handle authentication, authorization, and user information through LDAP.
2
3 Installation
4 ============
5 Add configuration entries to config.php. These entries are:
6
7 The following are documented at http://pear.php.net/manual/en/package.networking.net-ldap2.connecting.php
8 $config['ldap']['binddn']
9 $config['ldap']['bindpw']
10 $config['ldap']['basedn']
11 $config['ldap']['host']
12
13 $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'
14 $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'
15 $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'
16 $config['ldap']['nickname_homepage'] Set this to the name of the ldap attribute that holds the the url of the user's home page.
17 $config['ldap']['nickname_location'] Set this to the name of the ldap attribute that holds the user's location.
18
19 $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)
20 $config['ldap']['autoregister'] Set to true if users should be automatically created when they attempt to login
21
22 Finally, add "addPlugin('ldap');" to the bottom of your config.php
23