[Samba] chown and AD users

Nicolas Boissé nicolas.boisse at univ-lemans.fr
Mon Jun 3 13:43:22 UTC 2019

Hi everyone,

I want to set ACL's on some directories for AD users with chown command, 
but it doesn't work.

wbinfo -u is ok and return all users. i.e :


if I try :
      #chown -R "DOMAIN\user" /my_dir

I obtain this :
     chown: incorrect user : "DOMAIN\\user"

chown systematically "adds" a backslash, but I don't know if it's the 
real cause of the problem.

If I set user without DOMAIN, it doesn't work too.

Any idea to fix that ?

Thanks in advance.

More information about the samba mailing list