Hi,

I'm trying to use the ldap plugin with statusnet-0.8.2
Is that possible or do I need to go with 0.9 ?

I would like to use the ldap plugin to only allow users who are
already in the ldap database and, deny user registration from
statusnet.

I have done:
pear install Net_LDAP2 and,
extracted the plugin from
http://gitorious.org/statusnet/mainline/trees/ and pasted Ldap
directory into the plugins directory

in config.php I have.
$config['site']['logfile'] = '/tmp/statusnet.log';
#$config['ldap']['binddn']
#$config['ldap']['bindpw']
$config['ldap']['basedn'] = 'ou=people,dc=example,dc=com';
$config['ldap']['host'] = 'ldap.example.com';

$config['ldap']['nickname_attribute'] = 'uid';
$config['ldap']['nickname_email'] = 'mail';
$config['ldap']['nickname_fullname'] = 'cn';
#$config['ldap']['nickname_homepage']
#$config['ldap']['nickname_location']

$config['ldap']['authoritative'] = 'false';
$config['ldap']['autoregister'] = 'false';

addPlugin('ldap');


When I try to login I get "Incorrect username or password."
Looking at network traffic I see there no connection is made to the
ldap.example.com server.

Nothing is written to the log file.
Any help please?

Thanks.
Chris.
_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to