Hi,

It's a good idea.

I have to make what Mark K suggested and I feel there are still some things to work out (RSS) but I will.

César


Ciaran Gultnieks wrote:
There is a ticket about LDAP in trac:

  http://laconi.ca/trac/ticket/704

It might be a good idea to add your information and patch there so
people looking for it that way can find it.

Cheers,

Ciaran

Cesar Alba wrote:
Hi,

I've done the LDAP authentication for Laconica 0.6.4.2 and here it goes
in case someone needs it.

I've changed 4 files: lib/util.php, actions/profilesettings.php,
actions/register.php and actions/login.php

The part of authentication is taken (with permission) from a code by
cesarfp and edubr.

To make it happen these lines must be added to the config.php file.
$config['site']['remotepassword']= true;
$config['remotepassword']['type']= 'ldap';
$config['remotepassword']['LDAPserver']= 'MYSERVER';
$config['remotepassword']['LDAPport']= 'MYPORT';  #Can be omited if
using the default LDAP port (389)
$config['remotepassword']['LDAPbase']= 'o=MYLAPBASE';
If $config['site']['remotepassword'] is true, all references to a user
provided password are omitted on the registration, the settings
modification and the login screen (the lost password form).

It is my first PHP code so any suggestion will be welcome.

César


------------------------------------------------------------------------

_______________________________________________
Laconica-dev mailing list
Laconica-dev@laconi.ca
http://mail.laconi.ca/mailman/listinfo/laconica-dev



_______________________________________________
Laconica-dev mailing list
Laconica-dev@laconi.ca
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to