Re: [Samba] multi home dir locations

2012-05-25 Thread Collen
Hmm, i played around with this nss_ldap, also with the rfc2307 from winbind looks all nice, but samba4 does not have posix scheme loaded and filled for users by default. if i make a new user, it will not have the posix attributes. and the attributes are not auto set (no uid, gid) so yeh it can g

Re: [Samba] multi home dir locations

2012-05-24 Thread Collen
On 23-5-2012 19:50, steve wrote: On 05/23/2012 07:22 PM, Muhammad Yousuf Khan wrote: check this. [ProfileShare] comment = Roaming Profile Share path = /nas/users/%D/%U valid users = %U read only = No guest ok = No browseable = yes root preexec = /scripts/smbmkdir.sh %D %U create mask = 4770 d

Re: [Samba] multi home dir locations

2012-05-23 Thread Jonathan Buzzard
steve wrote: [SNIP] Under winbind we cannot see how to do it. So we have used the new nss-pam-ldapd instead and store the unixHomeDirectory in the directory. As it's available in both the 2008 and s4 schema it works quickly and efficiently. With the homeDirectory [share] and unixHomeDirecto

Re: [Samba] multi home dir locations

2012-05-23 Thread steve
On 05/23/2012 07:22 PM, Muhammad Yousuf Khan wrote: check this. [ProfileShare] comment = Roaming Profile Share path = /nas/users/%D/%U valid users = %U read only = No guest ok = No browseable = yes root preexec = /scripts/smbmkdir.sh %D %U

Re: [Samba] multi home dir locations

2012-05-23 Thread Muhammad Yousuf Khan
check this. [ProfileShare] comment = Roaming Profile Share path = /nas/users/%D/%U valid users = %U read only = No guest ok = No browseable = yes root preexec = /scripts/smbmkdir.sh %D %U create mask = 4770 directory mask = 4770

Re: [Samba] multi home dir locations

2012-05-23 Thread steve
On 05/23/2012 03:56 PM, Collen wrote: Hi all, i've got samba 3.6 joined to a ad domain (s4 in this case) running winbind all looks ok, but i ran into a problem (for us that is) i've got 2 groups (students and employes) who have there home dirs in 2 different places. /home/students/ /home/emplo

[Samba] multi home dir locations

2012-05-23 Thread Collen
Hi all, i've got samba 3.6 joined to a ad domain (s4 in this case) running winbind all looks ok, but i ran into a problem (for us that is) i've got 2 groups (students and employes) who have there home dirs in 2 different places. /home/students/ /home/employ/ so far so good, but i can't make th