[Samba] using chown on server with Domain username

Rowland Penny rowlandpenny241155 at gmail.com
Tue Nov 17 20:25:57 UTC 2015


On 17/11/15 19:38, Jeff Dickens wrote:
> Hi.  I'm following this document:
>
> https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member
>
>   - setting up my second Samba server in a test environment.  We're planning
> a medium to large-scale deployment (six sites, 8 domain controllers, 8 NAS
> boxes, 120 workstations).  I've already set up an AD Controller and
> successfully joined a Windows workstation to it.
>
> I got down to the part where I've configured nsswitch and getent returns
> info on domain users properly:
>
> *root at florence:/etc/samba# getent passwd Administrator*
> *administrator:*:4294967295:4294967295:Administrator:/home/IOL/administrator:/bin/false*
>
>
> As suggested, I try the chown command using the domain user, and it returns
> without error:
>
> *root at florence:/etc/samba# ls -l file.txt*
> *-rw-r--r-- 1 root root 5 Nov 17 14:15 file.txt*
> *root at florence:/etc/samba# chown Administrator:"Domain Users" file.txt*
> *root at florence:/etc/samba# ls -l file.txt*
> *-rw-r--r-- 1 root root 5 Nov 17 14:15 file.txt*
>
>
> ​But as you see it doesn't seem to have any effect.  Any idea what's wrong?
>
>>

Is this on the DC ? and are you using sssd?

does 'chgrp Domain\ Users file.txt' work

Rowland




More information about the samba mailing list