The second function is the one you want to change... rpccli_netlogon_sam_network_logon. On line 803, change it from: 0, /* param_ctrl */ to: 0x800, /* param_ctrl */ --Mike Jérémy Cluzel wrote:
Hi,
I looked in the samba 3.0.20 source code and I only found 2 calls to the "init_id_info2()" function in the "samba/source/rpc_client/cli_netlogon.c" file:
In the "cli_netlogon_sam_logon()" function:
701 init_id_info2(&ctr.auth.id2, lp_workgroup(), 702 0, /* param_ctrl */ 703 0xdead, 0xbeef, /* LUID? */ 704 username, cli->clnt_name_slash, chal, 705 local_lm_response, 24, local_nt_response, 24);
And in the "rpccli_netlogon_sam_network_logon()" function:
802 init_id_info2(&ctr.auth.id2, domain, 803 0, /* param_ctrl */ 804 0xdead, 0xbeef, /* LUID? */ 805 username, workstation_name_slash, (const uchar*)chal, 806 lm_response.data, lm_response.length, nt_response.data, nt_response.length);
But nothing in the "cli_netlogon_sam_network_logon()" function...
Regards,
Jeremy - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html