X-Recipient: archive-cygwin@delorie.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=dpx0EiN8fXYZ+1Bz47QLufdOCJNnxzdu/xi5uV0Tptl
	AHh1fuhwf10m8NMrWIZEl/iBzn2TVa7nu/qRKL7HBV7sKs7MZOWwwtprMh2gIhbS
	KgBe7/54CAsZBx+QgIEaWesOCFrIC3EDIiefUhLN8rxPQ0U3QuRTQOdxnSWXZIm0
	=
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=7HOTei1LmRx7vYPTOSGx/ABK90o=; b=LA1K0z6/r5+xSINm/
	8Ue46eNFZIDqlqhJs+oPBcKxlMLBeB9HIVwPgifjhDDSC6ojUemtG7CqImZdvOzq
	CJeg1Fl3I0aWPDmAF45oyWu/MjmplFg7LhGnwUo6aYxvIzTlDAH75RR/AvIKH+p7
	Cnc9WeBFq/vBB02ZKKg/PIDJTc=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-pd0-f169.google.com
X-Received: by 10.68.68.134 with SMTP id w6mr1464530pbt.25.1429761037868;        Wed, 22 Apr 2015 20:50:37 -0700 (PDT)
Message-ID: <55386C07.7050400@gmail.com>
Date: Wed, 22 Apr 2015 20:50:31 -0700
From: random user <cnpxzsdwle4m0dkt@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: File owner set to Unknown+User on cygwin 1.7.35 via samba 3.6.6 on debian
References: <1883631812.201190.1429592754813.JavaMail.zimbra@ceos.com.au> <20150421085053.GW3657@calimero.vinschen.de> <1277097406.207429.1429664315268.JavaMail.zimbra@ceos.com.au> <20150422084333.GA3657@calimero.vinschen.de> <1756410182.228840.1429755696338.JavaMail.zimbra@ceos.com.au>
In-Reply-To: <1756410182.228840.1429755696338.JavaMail.zimbra@ceos.com.au>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

>> 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

  S-1-5-21-2908258922-1501660359-1356206134-1000

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:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

