Samba4 file server status

steve steve at steve-ss.com
Wed Aug 14 12:19:40 MDT 2013


On Wed, 2013-08-14 at 14:50 -0300, Juan Pablo Lorier wrote:
> Hi Rowland,
> 
> Sorry for my ignorance but what do you mean that OP populated the gid
> and uid in the AD?. If I'm not wrong, Windows server uses SID for the
> users and groups and is winbind the one that maps this SIDs with unix
> gids and uids and this maps are stored in the database chosen to use
> with winbind. If I do wbinfo -u and -g I get both users and groups.
> I even was able to chown a directory using a domain user without
> problem, but I can't now as it complaints that the user doesn't exists.
> Regards,

Unless you can id or getent a user, you'll not be able to chown. One way
of doing that is to add uidNumber to the DN of the user now we have AD
with Samba4. If you like, winbind can be used to retrieve that uidNumber
and so give the owner the ability to exist from a Unix POV.
HTH
Steve




More information about the samba-technical mailing list