[Samba] Samba4 Using AD/UNIX attributes for home directory and shell not possible?

Markus Gillmeister markus.gillmeister at gmx.de
Sat Aug 10 14:23:31 MDT 2013


Hi,

I'm would like to use the attributes in AD for home directory
(homeDirectory) and the login shell  (loginShell) for users logging in via
ssh to a linux box.

I added the following parameters in the global-Section of
/etc/samba/smb.conf:
   winbind nss info = rfc2307
   idmap_ldb:use rfc2307 = yes

Also I set the attributes for a test-user (called tim) with some values.

But when calling "getent passwd" I got the following result:
...
SHADOW\tim:*:3000017:100:Tim Testinger:/home/SHADOW/tim:/bin/false

So it seems that winbind is ignoring AD attributes. Is this a bug or did I
misconfigure my samba installation?

Best Regards
Markus



More information about the samba mailing list