[Samba] using chown on server with Domain username
Jeff Dickens
jeff at seamanpaper.com
Tue Nov 17 20:36:04 UTC 2015
Just replied to another thread with the same problem...
This is on a member server, not the DC.
No the second chgrp command with the escaped space doesn't work.
Getent returns big numbers for the uids and gids.... too big, I think.
root at florence:/home# getent passwd Administrator
administrator:*:4294967295:4294967295::/home/IOL/administrator:/bin/false
root at florence:/home# getent group Domain\ Users
domain users:x:4294967295:
On Tue, Nov 17, 2015 at 3:25 PM, Rowland Penny <rowlandpenny241155 at gmail.com
> wrote:
> 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
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
--
* Jeff Dickens*
IT Manager 978-632-1513
More information about the samba
mailing list