[Samba] Winbind adduser scipt

Seppo Mattila sma at virke.fi
Mon Oct 21 09:41:01 GMT 2002


Hi all!

I am trying to authenticate winbind users via winbind (for sendmail etc). The
second requested service was vacation autoreply, so I'm using usermin and a
module for it. The issue here is that I need a home directory per user for
(dot)forward and vacationmsg files.

Authentication works perfectly with PAM and I have added following line to
usermin file:

session    required /lib/security/pam_mkhomedir.so skel=/etc/skel/ umask=0022

same line is in login and it is working as expected (creates home directory
for user). A have also tried add user script in smb.conf but that doesn't help
me out either. Or then my script isn't working right (I need only home
directory, not real unix user..).

If someone can point me to the right direction, I would be pleased.

TIA,
Seppo Mattila





More information about the samba mailing list