[Samba] Samba 4 AD [homes] Share

Márcio Merlone marcio.merlone at a1.ind.br
Thu Jan 16 11:07:41 MST 2014


Em 16-01-2014 15:57, Rowland Penny escreveu:
> If you are using the winbind ad backend,
Sorry not to mention before, I am using SSSD since I need more than 
uid/gid winbind can provide.

> it should pull the unix home directory from the very aptly named 
> 'unixhomedirectory' attribute, provided that you have set it of course.
Did not navigate the LDAP tree yet, but have set unix attributes for the 
user at dsa.msc snap-in. Not sure if this gets into this attribute though.

> If you run  'getent passwd username' you should get something like this:
> username:*:10000:100:username:/home/username:/bin/bash
I get it. :)

> With this, (and pam_mkhomedir in common-session) when a user logs into 
> a linux machine, their home directory is created for them at 
> /home/username.
In fact, I sent another message to the list regarding this. When logging 
in from a windows machine, the user home is created, but not honoring 
/etc/skel as if the user logged from ssh, for example.

Regards,

-- 
*Marcio Merlone*
TI - Administrador de redes

*A1 Engenharia - Unidade Corporativa*
Fone: 	+55 41 3616-3797
Cel: 	+55 41 9689-0036

http://www.a1.ind.br/ <http://www.a1.ind.br>


More information about the samba mailing list