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]

Incorrect names for file owners on mapped samba drives

Hello all,

I've got a number of drives mounted from? SAMBA machine (which is running
linux).? My local machine is running Cygwin 1.7 on Windows 7 x64.

Here's (some of) my mount output:

//devt/users/johnd on /j type smbfs (binary,notexec,user)
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
J: on /cygdrive/j type smbfs (binary,posix=0,user,noumount,auto)

"ls -l"? on /cygdrive/j and /j returns "????????" as the name of both the
owner and the group of all the files on those drives. Windows explorer
correctly identifies DEVT\johnd as the owner of the files.

johnd's line in ?/etc/passwd is:


and "id" returns:

uid=1000(johnd) gid=513(None)
groups=0(root),544(Administrators),545(Users),1006(Debugger Users),513(None)

on the SAMBA machine my UID is 208, so I figured I'd just need to change the
above to:


But, having done that and re-logged in I get the message:

Your group is currently "mkpasswd".? This indicates that your gid is not in
/etc/group and your uid is not in /etc/passwd.

and the "id" command returns:

uid=400(johnd) gid=401(mkpasswd)

I've no idea where those 400s came from.

an "ls -n" on a single file returns:

rwxrw-r-- 1 4294967295 4294967295 1286 Mar 11? 2009 zones.h

so maybe the UIDs aren't getting across at all from the SAMBA server.

What do I need to do to get the usernames "in sync" with the SAMBA box?

Thanks again everyone,


Problem reports:
Unsubscribe info:

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