[sork] Passwd + LDAP + H4 problem
Maximiliano Boscovich
mboscovich at gmail.com
Thu Sep 15 20:56:57 UTC 2011
2011/9/15 Ralf Lang <lang at b1-systems.de>:
> Hi,
>
> Am Donnerstag, 15. September 2011, 22:08:11 schrieb Maximiliano Boscovich:
>> Hi people,
>> I installed H4 from git repository, i configured them and it work
>> great. The only problem is the passwd module (version 4.0.0-git). It
>> work, but when i try to do a user password change, it's just do the
>> message "Fallo al cambiar la contraseña de Rectorado LDAP Server: Bind
>> failed: Invalid credentials". I'm using LDAP, and i seted the config
>> file of H4 passwd with the sames config parameter that i've use on my
>> previous horder version (H3) of passwd module.
>>
>> The H4 passwd config is:
>>
>> $backends['ldap'] = array(
>> 'disabled' => false,
>> 'name' => 'Rectorado LDAP Server',
>> 'preferred' => '',
>> 'password policy' => array(
>> 'minLength' => 8,
>> 'minNumeric' => 2,
>> ),
>> 'driver' => 'Ldap',
>> 'params' => array(
>> 'host' => 'ldap.intranet',
>> 'port' => 389,
>> 'basedn' => 'dc=rectorado,dc=unl,dc=edu,dc=ar',
>> 'uid' => 'uid',
>> 'attribute' => 'userPassword',
>> 'realm' => '',
>> 'filter' => '',
>> 'encryption' => 'ssha',
>> 'tls' => false
>> )
>> );
>>
>>
>> And my old (working on H3) config is:
>>
>> $backends['ldap'] = array(
>> 'name' => 'Rectorado LDAP Server',
>> 'preferred' => 'ldap.intranet.',
>> 'password policy' => array(
>> 'minLength' => 8,
>> 'maxLength' => 12
>> ),
>> 'driver' => 'ldap',
>> 'params' => array(
>> 'host' => 'ldap://ldap.intranet',
>> 'port' => 389,
>> 'basedn' => 'dc=rectorado,dc=unl,dc=edu,dc=ar',
>> 'uid' => 'uid',
>> 'realm' => '',
>> 'encryption' => 'ssha',
>> 'tls' => false
>> )
>> );
>
> What did you do about the default driver (sql)? Did you disable that one?
Yes i disabled that backend putting "disable => true". I'm also try
comment all other backends, leaving comment out the ldap backend.
>
>
>> I put horder en Debug log level, and it show this when i try to change
>> a user password [1]
>>
>> Can anybody give me an advice to solve the problem? .
>>
>> Regards.
>> Maximiliano.
>>
>>
>>
>> [1]
>> Sep 15 12:55:42 correo HORDE: Horde_Registry: retrieved app with cache ID
>> horde_registry|app|1316091959|f5848f263e5923a674fd315c81f3072b [pid 23992
>> on line 1701 of
>>...
>>...
> Is your current user in the form user at domain or just 'user' ?
My current user is just in the form "user".
> --
> Ralf Lang
> Linux Consultant / Developer
> Tel.: +49-170-6381563
> Mail: lang at b1-systems.de
>
> B1 Systems GmbH
> Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
> GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
> --
> 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
>
Thanks for you instant reply.
Regards.
Maximiliano.
More information about the sork
mailing list