[Samba] template options ignored

TAKAHASHI Motonobu monyo at monyo.com
Tue Oct 18 09:24:06 MDT 2011

From: "Zabel, Daniel" <Daniel.Zabel at coremedia.com>
Date: Tue, 18 Oct 2011 17:12:45 +0200

> i have installed samba 3.5.11 on centos 5 and samba 3.6.0 on centos 6.
> Both system are connected to a Microsoft Domain.  AD Users can resolved
> and "getent passwd username" or "wbinfo -i username" works.
> Now I have setup some template options in my smb.conf:
> template shell = /sbin/nologin
> template homedir = /home/%U
> This options seems to be completely ignored. 
> "getent passwd" username and "wbinfo -i username" returns the configured
> values from AD.

How do you configure "winbind nss info" parameter?
And have you tried against newly created AD user when you examine
shell and homedir for the user?

TAKAHASHI Motonobu <monyo at samba.gr.jp>

More information about the samba mailing list