NetUserModalsGet call to samba 2.2.2 fails
Gerald (Jerry) Carter
jerry at samba.org
Tue Nov 20 06:32:02 GMT 2001
On Mon, 19 Nov 2001, Tyler, Ross E wrote:
> i have patched samba 2.2.2 so that it responds successfully to a windows
> (2000) client requesting domain identification information (name and SID):
>
> USER_MODALS_INFO_2 * domainIdInfo = 0;
> NetUserModalsGet(L"theNameOfMySambaServerGoesHere", 2, (BYTE **)
> &domainIdInfo);
>
> using SAM_UNK_INFO_2 as a model, i implemented SAM_UNK_INFO_5 with the
> following fields:
>
> UNIHDR hdr_server; /* server name unicode header */
> UNISTR2 uni_server; /* server name unicode string */
>
> i changed the following files:
>
> source/include/rpc_samr.h
> source/rpc_parse/parse_samr.c
> source/rpc_server/srv_samr_nt.c
Got it. I'll take a look.
cheers, jerry
---------------------------------------------------------------------
www.samba.org SAMBA Team jerry_at_samba.org
www.plainjoe.org jerry_at_plainjoe.org
http://www.hp.com Hewlett-Packard gerald_carter_at_hp.com
--"I never saved anything for the swim back." Ethan Hawk in Gattaca--
More information about the samba-technical
mailing list