This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Incorrect names for file owners on mapped samba drives


On 10/30/2009 11:46 AM, John Daintree wrote:
on the SAMBA machine my UID is 208, so I figured I'd just need to change the
above to:

johnd:unused:208:513:U-johnd-PC\johnd,S-1-5-21-2127453718-491543372-28458100
30-208:/home/johnd:/bin/bash
     ^^^
Don't change your SID.  You can change your UID if you want, since this is a
Cygwin thing.  But if you change your SID, Cygwin can't map your UID back to
the Windows SID.  So then Windows won't know who you are, and Cygwin really
won't either (in Windows terms).  That's why you got the message you did.

Assuming SAMBA uses 208 as your user ID,you should get proper (user) ownerships
displaying.  The same is true for your GID, if you want that.

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]