Hi all,

I have setup samba with winbind and pam. After successfully joining the domain 
I can loginto my Mandrake 9.0 box as a windows NT 4.0 domain user and it 
authenticates to the NT 40 box and creates the users home dir. i did this by 
editing the /etc/pam.d/login file and adding these lines:

auth            sufficient     /lib/security/pam_winbind.so
account   sufficient     /lib/security/pam_winbind.so
session    required     /lib/security/pam_mkhomedir.so umask=0022

This works great.

But this is going to be a mail server so I need to have the user dirs created 
when they loginto imap. So i edited the /etc/pam.d/imap file like this:

auth       required     /lib/security/pam_winbind.so
auth       required     /lib/security/pam_stack.so service=system-auth
account    required     /lib/security/pam_winbind.so
account    required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_mkhomedir.so umask=0022

And restart xinetd but the users dirs arn't created?

Can anyone help me get this working?

Thanks 
Ralph


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to