From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86026 invoked by alias); 29 Sep 2016 19:35:26 -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 86006 invoked by uid 89); 29 Sep 2016 19:35:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.8 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 spammy=13PM, 13pm, porter!, Porter! X-HELO: forward2m.cmail.yandex.net Received: from forward2m.cmail.yandex.net (HELO forward2m.cmail.yandex.net) (5.255.216.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 29 Sep 2016 19:35:15 +0000 Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [77.88.29.85]) by forward2m.cmail.yandex.net (Yandex) with ESMTP id F103920F0A; Thu, 29 Sep 2016 22:35:11 +0300 (MSK) Received: from smtp2p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2p.mail.yandex.net (Yandex) with ESMTP id 74D421A8007F; Thu, 29 Sep 2016 22:35:11 +0300 (MSK) Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id EzMSQlyFMF-ZAAS1Dnb; Thu, 29 Sep 2016 22:35:10 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Authentication-Results: smtp2p.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Thu, 29 Sep 2016 19:26:53 -0000 Date: Thu, 29 Sep 2016 20:35:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <389531619.20160929222653@yandex.ru> To: Wayne Porter , cygwin@cygwin.com Subject: Re: Unknown+User Unix_Group+505 on smb shares in a domian In-Reply-To: <20160928214410.GB12532@hdmetxxxx33004g.AD.UCSD.EDU> References: <57EB4449.7010206@tlinx.org> <20160928180456.GA1128@hdmetxxxx33004g.AD.UCSD.EDU> <703567426.20160929001053@yandex.ru> <20160928214410.GB12532@hdmetxxxx33004g.AD.UCSD.EDU> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00396.txt.bz2 Greetings, Wayne Porter! > On Thu, Sep 29, 2016 at 12:10:53AM +0300, Andrey Repin wrote: >> Greetings, Wayne Porter! >> >> > On Tue, Sep 27, 2016 at 09:17:13PM -0700, Linda Walsh wrote: >> >> Wayne Porter wrote: >> >> > My system is joined to a domain and is connected to multiple servers via >> >> > mapped network shares in Windows. All of the windows servers allow read/write >> >> > access to all files, but the Fedora servers all open with read-only access. >> >> > I can still write to most files in vim by specifying :w! so it's not like >> >> > I can't do anything, it just becomes an inconvenience. >> >> > d---r-x---+ 1 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller 0 Sep 26 08:50 c >> >> > drwxrwx---+ 1 Administrators Domain Users 0 Sep 14 11:57 i >> >> > drwxrwx---+ 1 SYSTEM SYSTEM 0 Sep 26 12:55 j >> >> > drwxrwx---+ 1 Administrators Domain Users 0 Sep 27 07:55 m >> >> > drwxr-xr-x 1 root ieng6_root 0 Jul 12 04:04 v >> >> > drwxrwxr-x 1 Unknown+User Unix_Group+505 0 Sep 21 09:41 w >> >> > drwxrwxr-x 1 Unix_User+99 Unix_Group+101 0 Sep 21 15:20 y >> >> > >> >> >> >> > >> >> > Can anything tell me what I might be missing? >> >> --- >> >> Does the linux server, where cygdrive "w" is located have the share/files owned >> >> by a domain group? I.e. On any system (win or lin) you can have domain accounts and >> >> local accounts. In order to share files with the rest of the domain, files >> >> on the server for drive 'w' have to be owned by a domain account. It looks >> >> like >> >> the files are owned by a linux-local account. >> >> >> >> >> > The server that the W: drive is mapped on is not using domain accounts. As far as I know, >> > all Linux servers we have are running local accounts. Is there something I can set in >> > my local /etc/passwd to convince Cygwin to map it to my user account? >> >> You can tell your IT dep to pull their asses up and join all servers to AD. >> That would be a much more straightforward solution. >> > That's part of my problem, I can't get them to do anything without a couple > arguments and eventually settling on a solution that doesn't work. I'm just > trying to make things work in the environment I'm in. Then, as Linda pointed out, your machines are NOT in the domain, and essentially can't be reliable operated inside domain environment. You may try ls -ln to see if the ID's on these shares are unique enough to warrant their addition to the /etc/passwd, but I really, really do not envy you in that case. You may get readable names, but you will never be able to identify one of these accounts as yourself. -- With best regards, Andrey Repin Thursday, September 29, 2016 22:17:56 Sorry for my terrible english... -- 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