[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: passwd not working with OpenLDAP / PAM



Am Freitag, 22. November 2002 11:50 schrieb Matthias Eichler:
> * /etc/pam.d/passwd:
>   The smbpass.so line is for later stacking of both mechanisms,
>   so Linux-passwd also changes the "ntpassword" and
>   "lmpassword"-attributes of the user, for password consitency
>   between SMB and Linux.
> ---
> #%PAM-1.0
> auth     sufficient     pam_ldap.so
> auth     required       pam_unix.so     nullok use_first_pass
> account  sufficient     pam_ldap.so
> account  required       pam_unix.so
> password required       pam_pwcheck.so  nullok
> password required       pam_ldap.so     use_first_pass use_authtok
> #password sufficient     pam_smbpass.so  audit use_first_pass
> password required       pam_unix.so     nullok use_first_pass \
> use_authtok min=4 max=15 obscure
   -------------    (try to disable this)
> session  required       pam_unix.so
> ---

I had the same problem and this helped me, but I don't have
an explanation... :-/
( so I'm not sure if I'm doing something totally wrong )

Jörg