[sork] Passwd and LDAP problems

Edwin Culp eculp at encontacto.net
Mon Jun 7 12:00:20 PDT 2004


Quoting AJ <aj at mindcrash.com>:

> Hi,
>   I am using IMP for authentication against a cyrus imap server, 
> which in turns
> authenticate against an LDAP directory.

What does your slapd.log file show when trying to change the
password?

I just checked mine in head and get:

Jun  7 13:54:38 home slapd[14273]: conn=22 op=0 BIND
dn="mail=eculp at mymail.org,ou=people,o=mydomain.org" mech=SIMPLE
ssf=0
Jun  7 13:54:38 home slapd[14273]: conn=22 op=0 RESULT tag=97
err=0 text=
Jun  7 13:54:38 home slapd[14273]: conn=22 op=1 MOD
dn="mail=eculp at mymail.org,ou=people,o=mydomain.org"
Jun  7 13:54:38 home slapd[14273]: conn=22 op=1 MOD
attr=userPassword
Jun  7 13:54:38 home slapd[14273]: conn=22 op=1 RESULT tag=103
err=0 text=

The last two lines show the attribute modified and the last line
shows success.

ed

> Mu uid's are in the form of firstname.lastname at domain.com.
> I am NOT using realms with horde.  Passwd does not seem to work with 
> or without
> the realm setting in backends.php.  What do I need to do to get this to work?
> I keep getting a user not found error.  It seems to be ignoring the @ sign.
> Here is backends.php:
>
> $backends['ldap'] = array(
>     'name' => 'LDAP',
>     'preferred' => 'localhost',
>     'password policy' => array(
>         'minLength' => 3,
>         'maxLength' => 8
>     ),
>     'driver' => 'ldap',
>     'params' => array(
>         'host' => 'localhost',
>         'port' => 389,
>         'basedn' => 'ou=users,dc=domain,dc=com',
>         'uid' => 'uid',
>         'realm' => 'domain.com',
>         'encryption' => 'ssha',
>         'tls' => false // make sure the host == cn in the server certificate
>     )
> );
>
>
> Thanks!
> AJ
>
> --
> Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sork-unsubscribe at lists.horde.org





More information about the sork mailing list