X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B95D400.5070104@csiro.au> Date: Tue, 9 Mar 2010 14:52:16 +1000 From: Wes Barris User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Shared home dir, samba, and workgroups References: <4B8DB3EC DOT 5060203 AT wesbarris DOT com> In-Reply-To: <4B8DB3EC.5060203@wesbarris.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 Wes Barris wrote: > I use Cygwin 1.7 on my XP desktop system at work. I like having the > same home directory on this Windows XP system as I do on our Unix > server. The Windows XP system is a member of a domain. The Unix > server is not. The Unix server is running Samba and is configured > with a workgroup name. My home directory on the Unix server is > mounted as a mapped network drive on the Windows XP system. > > Everything in the above setup is working > properly from the Unix server side and from the Windows side when > working with Windows Explorer. I can create and delete files via > Windows Explorer and they show up on the Unix side with proper > ownership and permissions (as controlled by Samba). Conversely, > I can create and delete files under Unix and access these files > from Windows Explorer. > > The problem is when I look at my mapped network home directory > with Cygwin, my home directory files are owned by nobody ('????????') > and have a group of nobody. I am guessing that this is because my > Windows SID in /etc/passwd is the SID of my domain user and since > the Samba server is not part of this domain the files look like they > are from an unknown user. > > In our Samba server there is a file (usermap) that maps unix usernames > to windows usernames. This appears to be working when working with > Windows Explorer. Why doesn't this work with Cygwin? What is the > way to fix this? Do I somehow need to map my unix username to a > windows SID? Do I need to turn off ntsec? Do I need to change > the mount options for /cygdrive? Should I assume from the lack of any response that there is no fix for this? -- Wes Barris -- 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