[Samba] using chown on server with Domain username
Jeff Dickens
jeff at seamanpaper.com
Tue Nov 17 19:38:31 UTC 2015
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?
--
* Jeff Dickens*
IT Manager 978-632-1513
More information about the samba
mailing list