[CentOS] File Share Problem Between SAMBA AND WINDOWS 7

Thu Dec 17 09:21:32 UTC 2015
Erkin Aka <erkinakaege at yahoo.com>

The output is when i run getfacl on a correct folder;
[root at server1 cafer]# getfacl Public# file: Public# owner: ege# group: gebzememuser::rwxgroup::r-xother::r-x

And second output; on a folder which was created on windows 7 by ege

[root at server1 cafer]# getfacl cccc# file: cccc# owner: 3000016# group: 3000021user::rwxuser:3000021:r-xgroup::r-xgroup:3000016:rwxgroup:3000021:r-xmask::rwxother::r-xdefault:user::rwxdefault:user:3000016:rwxdefault:group::r-xdefault:group:3000021:r-xdefault:mask::rwxdefault:other::r-x

      From: Gordon Messmer <gordon.messmer at gmail.com>
 To: CentOS mailing list <centos at centos.org> 
 Sent: Tuesday, December 15, 2015 8:08 PM
 Subject: Re: [CentOS] File Share Problem Between SAMBA AND WINDOWS 7
On 12/15/2015 05:04 AM, Erkin Aka wrote:
> But when i create a new folder, the owner of the folder is seen as “#User300012”instead of the real samba user.

Are you running winbind?  In an AD environment, this is normally the way 
to map UIDs to windows usernames.

Do other files owned by "ege" show the correct user ownership?

What does "getfacl" output for the new folder you created?  What does 
"getfacl" output for other files owned by "ege"?

> How can i fix thisowner of folder problem. Because of this problem i can’t use the quota forusers.

That's probably not true.  Quota accounting is not dependent on Windows 
clients' ability to correctly resolve a UID to a name.
CentOS mailing list
CentOS at centos.org