From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 34977 invoked by alias); 23 Apr 2015 03:50:41 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 34966 invoked by uid 89); 23 Apr 2015 03:50:40 -0000 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 Received: from mail-pd0-f169.google.com (HELO mail-pd0-f169.google.com) (209.85.192.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 23 Apr 2015 03:50:39 +0000 Received: by pdbqd1 with SMTP id qd1so6766957pdb.2 for ; Wed, 22 Apr 2015 20:50:37 -0700 (PDT) X-Received: by 10.68.68.134 with SMTP id w6mr1464530pbt.25.1429761037868; Wed, 22 Apr 2015 20:50:37 -0700 (PDT) Received: from [209.204.163.8] (209-204-163-8.vpn.sonic.net. [209.204.163.8]) by mx.google.com with ESMTPSA id f4sm6452763pdc.95.2015.04.22.20.50.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Apr 2015 20:50:37 -0700 (PDT) Message-ID: <55386C07.7050400@gmail.com> Date: Thu, 23 Apr 2015 03:50:00 -0000 From: random user 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 X-SW-Source: 2015-04/txt/msg00530.txt.bz2 >> 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