NetUserModalsGet call to samba 2.2.2 fails
Gerald (Jerry) Carter
jerry at samba.org
Thu Nov 15 06:35:43 GMT 2001
On Thu, 15 Nov 2001, Tyler, Ross E wrote:
> static wchar_t sambaMachine[] = L"\\\\147.19.126.131"; // IP
> address of my samba machine
> USER_MODALS_INFO_2 * domainIdInfo = 0;
> long error = NetUserModalsGet(sambaMachine, 2, (BYTE **)
> &domainIdInfo);
>
> the error is
>
> 0x57: The parameter is incorrect
>
> i have traced the problem on the smbd side using gdb and have found that
>
> rpc_server/srv_samr_nt.c : _samr_query_dom_info
>
> returns
>
> NT_STATUS_INVALID_INFO_CLASS
>
> when
>
> q_u->switch_value == 5
'cause we don't implement that level :-)
More information about the samba-ntdom
mailing list