[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LDAP auth for some users



On 9 Jan 01 20:48:54 GMT, Anton Emmerfors <anton@vegasys.com> wrote:

>Using the current style in /etc/pam.d/login I am asked twice for
>passwords which I don't want. So I tried converting to the "new style"
>(value=action) but then it won't work at all.

You need to do something along the lines of:

auth	sufficient	pam_ldap.so
auth	required	pam_unix.so try_first_pass

>Am I correct in assuming that a "default=ok" is equivalent to
>"required"?

Couldn't say.

>Has anyone succesfully used a system like this or am I trying to climb
>the wrong tree?

I had the same problem and the recipe above fixed it.

Frank



Reply to: