Patrik Gustavsson PS Sweden Senior Technical Consultant
2003-Jun-23 09:10 UTC
[Samba] Strange UID/GID mapping in Samba-3beta1 and Win2003 server
I have strange uid/gid problem. I am testing Samba 3-beta1 and Samba is ADS member to W2003 server. Everythings work, wbinfo, getent passwd and so on. Now to the problem: When I list the users with getent passwd I get: Administrator:x:10000:10000:Administrator:/global/mnt1/SAMBA/home/TEST.SE/administrator:/bin/sh Guest:x:10001:10002:Guest:/global/mnt1/SAMBA/home/TEST.SE/guest:/bin/sh krbtgt:x:10002:10000:krbtgt:/global/mnt1/SAMBA/home/TEST.SE/krbtgt:/bin/sh root:x:10003:10000:root:/global/mnt1/SAMBA/home/TEST.SE/root:/bin/sh patrikg:x:10004:10000:patrik Gustavsson:/global/mnt1/SAMBA/home/TEST.SE/patrikg:/bin/sh fmuser:x:10005:10000:fmuser:/global/mnt1/SAMBA/home/TEST.SE/fmuser:/bin/sh When I list the users with wbinfo -u Administrator Guest krbtgt root patrikg fmuser When I am using a W2k client and log into the W20003 Server and access a share on Samba with my user (patrikg) is remaped to pgpc (10.0.0.140) connect to service profiles initially as user TEST.SE\patrikg (uid=10006, gid=10003) That uid 10006 and group 10003 can't be displayed with getent passwd and getent group. Why do I get uid 10006 when I should have 10004 ? /Patrik -- "In a world without fences who needs Gates" Patrik Gustavsson, Senior Technical Consultant patrik.gustavsson@sun.com Telephone: +46 60 671540 http://glen.sweden Mobile: +46 70 3551040 SUN MICROSYSTEMS Fax: +46 60 671550 --------------------------------------------------------------
Andrew Bartlett
2003-Jun-23 09:43 UTC
[Samba] Strange UID/GID mapping in Samba-3beta1 and Win2003 server
On Mon, 2003-06-23 at 19:10, Patrik Gustavsson PS Sweden Senior Technical Consultant wrote:> > I have strange uid/gid problem. > > I am testing Samba 3-beta1 and Samba is ADS member to W2003 server. > > Everythings work, wbinfo, getent passwd and so on. > > Now to the problem: > > When I list the users with getent passwd I get: > > Administrator:x:10000:10000:Administrator:/global/mnt1/SAMBA/home/TEST.SE/administrator:/bin/sh > Guest:x:10001:10002:Guest:/global/mnt1/SAMBA/home/TEST.SE/guest:/bin/sh > krbtgt:x:10002:10000:krbtgt:/global/mnt1/SAMBA/home/TEST.SE/krbtgt:/bin/sh > root:x:10003:10000:root:/global/mnt1/SAMBA/home/TEST.SE/root:/bin/sh > patrikg:x:10004:10000:patrik > Gustavsson:/global/mnt1/SAMBA/home/TEST.SE/patrikg:/bin/sh > fmuser:x:10005:10000:fmuser:/global/mnt1/SAMBA/home/TEST.SE/fmuser:/bin/sh > > When I list the users with wbinfo -u > Administrator > Guest > krbtgt > root > patrikg > fmuser > > When I am using a W2k client and log into the W20003 Server and access a > share on Samba with my user (patrikg) > is remaped to > pgpc (10.0.0.140) connect to service profiles initially as user > TEST.SE\patrikg (uid=10006, gid=10003) > > That uid 10006 and group 10003 can't be displayed with getent passwd and > getent group. > > Why do I get uid 10006 when I should have 10004 ?This looks like you are not running winbindd, and have found the bugs in beta 1. This has been fixed in current Samba 3.0 CVS. If you were running winbind, was it configured in nsswitch? Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20030623/cd8c629d/attachment.bin
Seemingly Similar Threads
- Winbind in samba3-beta2 is broken compered to samba3-beta1 on solaris
- Is it sombody who has a working pam.conf for Solaris 9 ?
- Something is broken in Samba3.0-rc2 compared to Samba3.0-rc1
- smbclient is broken and W2k can't connect to Samba3.0-rc2
- Got strange message when using wbinfo/winbind on Samba-3 beta3