On Fri, Nov 27, 2009 at 12:34 PM, Chris Fanning
<[email protected]> wrote:
> 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 ?
>
opps. :(
So I've downloaded statusnet-mainline-master.tar.gz
and configured as following.
addPlugin('ldapAuthentication', array(
'provider_name'=>'Example',
'authoritative'=>true,
'autoregistration'=>true,
#'binddn'=>'username',
#'bindpw'=>'password',
'basedn'=>'ou=people,dc=company,dc=com',
'host'=>array('ldap.company.com'),
'password_changeable'=>false,
'attributes'=>array(
'username'=>'uid',
'nickname'=>'uid',
'email'=>'mail',
'fullname'=>'cn')
));
Still no go though. Not even an attempt to connect to the ldap server.
Chris.
> 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