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: No support for ACLs on network shares?


Matt D. wrote:
My samba server is configured to use winbind and when inspecting the file using explorer properties, the SIDs resolve correctly as:

"NAME (HOSTNAME\username)"

where "NAME" is my name on the unix account and "username" is my login.

The problem is that Cygwin isn't aware of this SID since it's the user I log in as to the remove server and isn't a local SID.

----
So the remote server has a different user-database
than what is used for your Cygwin-on-windows machine?

I.e. username seems like it is 'private' to HOSTNAME.

So let's say your cygwin machine is (or is not) part of a domain.
If it is, it contacts the domain server to resolve sid's to
populate the local /etc/passwd database (in memory or on disk).
If it isn't, it contacts the local-host's name resolution routines
to do the same.

If you are not logging into 'HOSTNAME' as a DOMAIN user -- it's
a different user -- and how would cygwin know what the remote
system has setup for it's local-user database?

I.e. On a normal Winstation, users Winstation\user && Domain\user
are different SID's -- **except** on the DC.  So files I create
as 'user' on my Samba3-DC, are owned by 'Domain\User'.  If I login
to my local winstation (which is  part of /joined to the domain),
the default login space is 'Domain\' unless you override it with
a local host name -- then you get the local user.  And, BTW, I still
have 2 accounts on my Winstation -- one created before the winstation
was part of a domain, and the other created after.

Does this explain your situation, or is it something else completely?

Linda

P.s. - Your top-posting was pleasing, I got to read what you said 1st
instead of the quoted reply, which I'd already read....(people who tend to
jump in, in the middle of a conversation, really don't like top-posting
as it puts the onus on them to read prior posts in the thread).




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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