strange sambaPrimaryGroupSID/gid with groupmap

Simo Sorce simo.sorce at xsec.it
Fri May 16 06:05:24 GMT 2003


It's a bug of course :)

I had something similar while experimenting with head, I'll try to give
a look and see if it is the same or similar thing.

Simo.

On Fri, 2003-05-16 at 07:38, Alex Deiter wrote:
> 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       (1.1.1.1)
> 
> why gid=2147483404 ?
> 
> Any ideas ?
> 
> Thanks!
-- 
Simo Sorce - simo.sorce at xsec.it
Xsec s.r.l. - http://www.xsec.it
via Durando 10 Ed. G - 20158 - Milano
mobile: +39 329 328 7702
tel. +39 02 2399 7130 - fax: +39 02 700 442 399
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030516/0bf7d6fa/attachment.bin


More information about the samba-technical mailing list