This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: File owner set to Unknown+User on cygwin 1.7.35 via samba 3.6.6 on debian

>> On 4/22/2015 7:21 PM, John Orr wrote: ...

Would I be right in guessing that your samba server is doing
authentication using a /etc/samba/smbpasswd file?

If that is the case, the output you show matches my experience.  Files
with owner matching the logged in user in such a case one end up with
an owner SID like the


seen in your output, as if it is a local user defined only by the
samba server itself.  (It seems tied to neither my Unix userid nor my
Windows Domain SID, it just seems as if the samba server pretends to
be a local Windows OS with its own set of users.)

For users and groups not defined in smbpasswd (or maybe it's for all
except for file owner matching the logged in user), the SIDs do show
up in the S-1-5-22- Unix_User+/Unix_Group+ form.

I'll leave it at that; hopefully more capable hands can help you
choose how to then deal with these SIDs.

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]