[Samba] setting up W7 profiles
fraterneo
certad at gmail.com
Thu Jun 25 22:54:36 MDT 2015
Bob of Donelson Trophy <bob <at> donelsontrophy.net> writes:
>
>
> I am setting up W7 profiles following the "Samba & Windows Profiles" on
> the Sambawiki.
>
> If it matters, I have two functional DC's and one member server.
>
> When I run '# chmod 1770 /srv/samba/profiles' (on the member server) the
> permissions changed to:
>
> root <at> mbr01:~# ls -alh /srv/samba/profiles
> total 12K
> drwxrwx--T+ 2 root root 4.0K Mar 1 10:21 .
> drwxr-xr-t 5 root root 4.0K Mar 1 10:21 ..
>
> The first line changed from 'drwxr-xr-t' to 'drwxrwx--T+' and the second
> did not change.
>
> Under "Profile share with using POSIX ACLs" it is indicated that we
> should change the '# chgrp „Domain Users" /srv/samba/profiles' I am
> getting "chgrp: invalid group: `Domain Users' "
>
> When I run "wbinfo -g" there listed is "domain users".
>
> I have tried lower case "# chgrp „domain users" /srv/samba/profiles"
> with the same result "chgrp: invalid group: `domain users' ".
>
> Suggestions?
>
By the way, you can add winbind to the nsswitch.conf file in order to chgrp
command work.
[root at sambapdc01 ~]# nano /etc/nsswitch.conf
...
...
passwd: files winbind
shadow: files
group: files winbind
...
Just restart the system and chgrp "Domain Users" /srv/samba/profiles should
work like a charm!
More information about the samba
mailing list