X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=qmpS6FtqYDFrxC1bym4aJK4D9XuTEhSUuOuM9B+MpcP SMrOelnJR6zTBNhzzFAqb1uAekiUEmQJO3l+TWytV3cgp5leDNcuBaAk3d3cgZeG AbEPdfJpH96QTB1m0c00Gq13XfLcDdO+1nSvkTD2B9sdJWzwa5xUX3FcRA5MZTIY = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=U4UcrouTXP+3ntaIGF1SeiywS6g=; b=gRjjEEzxZNUYxC+GS gHym6reCu+t/KYiUPSyZda9VknBBf2i805zcx5QRTQsA7bJlb9RvVjdLtGmEt4Kv ofF4yvRxzPHeaN/UgA3hjotXGl9S2qEk2vgMdAn4XfV6/igfEKGjQ8AGfKhvJtah BKf9d46KdrxeElnL7phxGbSg88= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: Ishtar.hs.tlinx.org Message-ID: <565395B6.7010308@tlinx.org> Date: Mon, 23 Nov 2015 14:39:50 -0800 From: Linda Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: "Matt D." , "cygwin AT cygwin DOT com" Subject: Re: No support for ACLs on network shares? References: <5652E58A DOT 2030605 AT codespunk DOT com> <89802969 DOT 20151123140802 AT yandex DOT ru> <56530687 DOT 3090905 AT codespunk DOT com> In-Reply-To: <56530687.3090905@codespunk.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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