Are there any command line options available to know the (user)account type?
iboukris at gmail.com
Fri Feb 23 17:09:41 UTC 2018
On Fri, Feb 16, 2018 at 10:22 PM, Jeremy Allison via samba-technical
<samba-technical at lists.samba.org> wrote:
> 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.
>> 825 in default/librpc/gen_ndr/ndr_winbind_c.c
>> (gdb) p *state->tmp.out.type
>> $1 = SID_NAME_USER
>> 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.
FYI, I've noticed this in [MS-SAMR]
SidTypeComputer, // Not used.
SidTypeLabel // Not used.
More information about the samba-technical