Mail Archives: cygwin/2009/10/30/10:47:10
Hello all,
I've got a number of drives mounted from=A0 SAMBA machine (which is running
linux).=A0 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=3D0,user,noumount,auto)
"ls -l"=A0 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 =A0/etc/passwd is:
johnd:unused:1000:513:U-johnd-PC\johnd,S-1-5-21-2127453718-491543372-2845810
030-1000:/home/johnd:/bin/bash
and "id" returns:
uid=3D1000(johnd) gid=3D513(None)
groups=3D0(root),544(Administrators),545(Users),1006(Debugger Users),513(No=
ne)
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
But, having done that and re-logged in I get the message:
Your group is currently "mkpasswd".=A0 This indicates that your gid is not =
in
/etc/group and your uid is not in /etc/passwd.
and the "id" command returns:
uid=3D400(johnd) gid=3D401(mkpasswd)
groups=3D0(root),544(Administrators),545(Users),1006(Debugger
Users),513(None),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=A0 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,
/john
--
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
- Raw text -