On 30 Jul 2007, at 12:07, Anders Trobäck wrote:
...
However, I did add the winbind to the system-auth like this:
auth       required     pam_env.so
auth       sufficient   /lib/security/pam_winbind.so
auth       sufficient   pam_unix.so use_first_pass likeauth nullok

account    required     pam_unix.so

password sufficient     pam_winbind.so
password   required     pam_cracklib.so difok=2 minlen=8 dcredit=2
ocredit=2 retry=3
password sufficient  pam_unix.so nullok md5 shadow use_authtok
password   required     pam_deny.so

session    required     pam_limits.so
session    required     pam_unix.so


Now I can ssh to the box but I as soon as I are logged on I'm kicked
off!

Do the winbind users have a shell & homedir?

I'm afraid I can't recall how the shell is defined for them, but I use pam_mkhomedir for the latter. I have always used courier-imap at home, but it doesn't use a pam session, required for pam_mkhomedir, so chose Dovecot IMAP for this office. I'm pretty sure that ssh works fine with pam_mkhomedir, tho'.

Stroller.

--
[EMAIL PROTECTED] mailing list

Reply via email to