[Samba] Another winbind question (hopefully easy one)

dj at 4ict.com dj at 4ict.com
Mon Oct 7 09:35:01 GMT 2002

On Thu, 3 Oct 2002, Simeonidis, Steve wrote:

> I setup SAMBA to use winbind to authenticate of a WinNT PDC
> In the smb.conf I have a line
> template homedir = /home/winnt/%U
> which is file
> I also use the pam module to create directories for
> new users
> pam_mkhomedir.so skel=/etc/sambaskel umask=0077
> which is fine again.
> My problem is that I can't tell or how do I tell pam_mkhomedir
> to create the directories in /home/winnt/<user>
> instead it creates them in /home/<user>
> Any ideas?????

You should check with getent passwd is the settings in smb.conf are
visible. getent passwd displays a passwd listing that is the combination
of the /etc/passwd en the information winbind imports from you windows

If getent doesn't report back the correct /home dir then make sure you
edited the correct smb.conf file and maybe try to restart winbind to make
in reload (maybe seding a -SIGHUP would also work) the smb.conf file.

Kind regards,
Tim Verhoeven

Tim Verhoeven
                                Linux & Open Source Specialist
GSM : 0496 / 693 453                          + e-business solutions
Email : dj at 4ict.com                           + consulting
URL : www.sin.khk.be/~dj/                     + Server consolidation

More information about the samba mailing list