strange sambaPrimaryGroupSID/gid with groupmap

Alex Deiter tiamat at
Fri May 16 05:38:12 GMT 2003

I'm running samba-3a24 and see strange sambaPrimaryGroupSID and gid:

# id user
uid=1001(user) gid=333(group) groups=333(group)

# net groupmap list
group (S-1-5-21-1895337680-650492932-374016306-1667) -> group

# pdbedit -v -u user 
Unix username:        user
NT username:          user
User SID:             S-1-5-21-1895337680-650492932-374016306-3002
Primary Group SID:    S-1-5-21-1895337680-650492932-374016306-513

why Primary Group rid 513 ?

ldapsearch returned correct sambaPrimaryGroupSID:

dn: uid=user,ou=users,dc=komi,dc=mts,dc=ru
uid: user
sambaSID: S-1-5-21-1895337680-650492932-374016306-3002
sambaPrimaryGroupSID: S-1-5-21-1895337680-650492932-374016306-1667

in samba logs i see:
connect to service tmp initially as user user (uid=1001, gid=2147483404)

# smbstatus
Samba version 3.0alpha24
PID     Username      Group         Machine
64975   user          2147483404    pc       (

why gid=2147483404 ?

Any ideas ?


More information about the samba-technical mailing list