need some help with getgroupent()

Sean Mathews mathewss at
Mon Jan 11 18:23:59 GMT 1999

On Tue, 12 Jan 1999, Luke Kenneth Casson Leighton wrote:

> that is a well-known group (0x200, not 200).
> > and is unable to find it this rid was assigned to the workstation
> > in usermanager during an adding a user to a local group. somehow
> > ither the workstation was sent the wrong rid or samba is not able
> > to re search up that rid. Best as i can tell its a translation problem.
> > I am assuming that a group's rid is based upon the unix group id.
> except the well-known ones.
 Ok then now the Q. is why cant it find it :c)
[1999/01/11 10:04:51, 5] rpc_server/srv_lookup.c:lookup_alias_sid(316)
  lookup_alias_sid: sid:
S-1-5-21-2574279790-3542427240-2616677535-512search by
rid: 0x200 

 the code seems to make several attempts to resolve the
rid via different methods what im looking for is where
this is supposed to succeed so i can figure out why its 
not getting there.

 It seems to me from this partial dump of the response
samba gives to nt box that it didnt find the group.
anyway if i can better figure out where the code
does its check for these well known groups i can
figure out why when i add "Domain Admins" to my local
"Administrators" group with user mgr it comes back as
"Unknown" when i refresh it.

              0070 uni_max_len: 00000008
[1999/01/11 10:04:51, 5] rpc_parse/parse_prs.c:prs_uint32(139)
              0074 undoc      : 00000000
[1999/01/11 10:04:51, 5] rpc_parse/parse_prs.c:prs_uint32(139)
              0078 uni_str_len: 00000008
[1999/01/11 10:04:51, 5] rpc_parse/parse_prs.c:prs_unistr2(213)
              007c buffer     :
[1999/01/11 10:04:51, 5] rpc_parse/parse_prs.c:prs_uint32(139)
      008c mapped_count: 00000000
[1999/01/11 10:04:51, 5] rpc_parse/parse_prs.c:prs_uint32(139)
      0090 status      : 00000000          

More information about the samba-ntdom mailing list