Are there any command line options available to know the (user)account type?

Jeremy Allison jra at
Fri Feb 16 20:22:27 UTC 2018

On Fri, Feb 16, 2018 at 07:40:06PM +0000, Hemanth Thummala via samba-technical wrote:
> Hi Jeremy,
> I have attached to gdb and able to dump the sid type returned from DC. 
> dcerpc_wbint_LookupName_done (subreq=0x55ca88d6fdf0) at default/librpc/gen_ndr/ndr_winbind_c.c:820
> 820	default/librpc/gen_ndr/ndr_winbind_c.c: No such file or directory.
> (gdb) 
> 825	in default/librpc/gen_ndr/ndr_winbind_c.c
> (gdb) p *state->tmp.out.type
> I think this confirms that DC only giving the type as USER.

Wow - what an utter pain ! I wonder why the DC is lying
like that ? That's the whole point of that call, to get
the SID and type.

More information about the samba-technical mailing list