[sork] Passwd application configuration

Jan Schneider jan at horde.org
Thu May 17 16:26:39 UTC 2012


Zitat von suganthapriya vishwanathan <suganthapriyav at gmail.com>:

> Hi Team,
>
> I have installed Horde webmail groupware edition 4.07 using php pear.
>
> I have installed  passwd application for changing the mail users passwd. I
> have  my existing LDAP server for user authentication.
>
> I am not able to reset the passwd getting error message as "Password module
> is not configured properly" in browser.
>
> In /var/log/messages getting error message as " Invalid bind credentials"
>
> I have pasted the backends.php file of passwd application below for your
> reference.
>
> $backends['ldap'] = array(
>     'disabled' => false,

Are you sure this backend is used at all? Did you disable the hordesql  
Backend or let the user select the backend?

>     'name' => 'LDAP Server',
>     'preferred' => '',
>     'policy' => array(
>         'minLength' => 6,
>         'minNumeric' => 1,
>     ),
>     'driver' => 'Ldap',
>     'params' => array(
>         'host' => 'localhost',
>         'port' => 389,
>         'basedn' => 'dc=mail,dc=mydomain,dc=com',
>
>           'admindn' => 'cn=Manager,dc=mail,dc=mydomain,dc=com',
>           'adminpw' => 'xxxxxxxxxxxxxxxxxxxxx',

I guess these are just placeholders, and you tested that those exact  
credentials work from the command line of the Horde server?

>         // LDAP object key attribute.
>         'uid' => 'mail',
>         // The attribute storing the password.
>         'attribute' => 'userPassword',
>         // These attributes will enable shadow password policies.
>         // 'shadowlastchange' => 'shadowLastChange',
>         // 'shadowmin' => 'shadowMin',
>         // This will be appended to the username when looking for the
> userdn.
>         'realm' => '',
>         // Use this filter when searching for the user's DN.
>         'filter' => '(objectClass=*)',
>         // Hash method to use when storing the password
>         'encryption' => 'ssha',
>         // Whether to enable TLS for this LDAP connection
>         // Note: make sure that the host matches cn in the server
> certificate.
>         'tls' => false
>     ),
> );

Check the logs, for Horde and LDAP.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/




More information about the sork mailing list