From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32123 invoked by alias); 3 Oct 2016 03:58:45 -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 31244 invoked by uid 89); 3 Oct 2016 03:58:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=logged, H*f:sk:57F199B, hate, Hx-languages-length:2315 X-HELO: Ishtar.sc.tlinx.org Received: from ishtar.tlinx.org (HELO Ishtar.sc.tlinx.org) (173.164.175.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 03 Oct 2016 03:58:43 +0000 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id u933lPxX080266 for ; Sun, 2 Oct 2016 20:47:27 -0700 Message-ID: <57F1D760.9030904@tlinx.org> Date: Mon, 03 Oct 2016 06:33:00 -0000 From: Linda Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Unknown+User Unix_Group+505 on smb shares in a domian References: <57EB4449.7010206@tlinx.org> <20160928180456.GA1128@hdmetxxxx33004g.AD.UCSD.EDU> <57F199B9.5010000@tlinx.org> <20161002234944.vywfzlwv3lwiaqof@Chronos> In-Reply-To: <20161002234944.vywfzlwv3lwiaqof@Chronos> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00034.txt.bz2 Wayne Porter wrote: > This is how it is currently set up. I can log in to the server via ssh > or use the current method, which is to map the network share using my > account credentials that they have set up for me. This works just fine > in Windows and for the most part in Cygwin. I can read/write from the > files but vim opens all files in read-only mode and I have to save using > :w! ---- I hate it when that happens! ;-) So the files you are trying to access are from your own local login on those machines? Is there a reason why the login you have on those machines is a machine-local login? I.e. I believe you said earlier, that the machines are joined to the domain. Say your domainname="domain", and you have a domain login "wporter". Can you login (or can anyone login) using domain credentials to those linux machines? OR can you arrange to be able to, then copy your files on those machines to your domain account. If the remote files are owned by you and you are logged into your domain account on your usual cygwin machine, then the permissions should match. There's alot of permissions/privileges on Windows that don't map to anything on Linux or cygwin. So while cygwin can compare the access rights in the things it knows about, it can't begin to know about various windows permissions and controls that might allow you to override the normal file-access controls. If you can't login to the linux machines on your domain account, could you get root access long enough to chown the files over to your domain account? If you can't login to the linux machines w/your dom account, authenticating your login w/the domain server might not be enabled. Might also have to create home directory for your domain account manually. If they need to setup login checks for domain logins on those machines, they need to add some windbind rules to the /etc/pam.d/common-... Just to give you an idea (they should figure out the order by looking at relevant docs): > grep winbind /etc/pam.d/common* /etc/pam.d/common-account:account sufficient pam_winbind.so /etc/pam.d/common-auth:auth sufficient pam_winbind.so /etc/pam.d/common-password:password sufficient pam_winbind.so /etc/pam.d/common-session:session sufficient pam_winbind.so -- 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