Ive been trying to get winbind to work with our PDC (using samba-2.2.2-8) It logs in the user from the NT domain correctly, but it will not create users home dir. Ive now found that it cannot find or create the users home directory. There are no indications in /var/log/messages that it cannot create it, but when issue flashes up very quickly (after login) it says: No directory /home/MMEBS/admin ! logging in with home ="/" then logs me straight back out.. Heres the winbind section of my smb.conf: [global] # Windind configuration winbind separator = + winbind cache time = 10 template shell = /bin/bash #template shell = /bin/false template homedir = /home/%D/%U winbind uid = 10000-20000 winbind gid = 10000-20000 ----- ---------- Mark Cooke Internet Operations Technician MM Group Ltd Tel: 8141 (Internal) Tel: (0117) 9168141 (External) Email: mark@mmebs.co.uk http://www.mmgroup.co.uk
Mark Cooke wrote:> > Ive been trying to get winbind to work with our PDC (using samba-2.2.2-8) > > It logs in the user from the NT domain correctly, but it will not create > users home dir. > > Ive now found that it cannot find or create the users home directory. > > There are no indications in /var/log/messages that it cannot create it, but > when issue flashes up very quickly (after login) it says:Winbind doesn't try to create the home dir. You need to look into somthing like pam_mkhomedir for that (standard PAM module). Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net