mirror of
https://github.com/samba-team/samba.git
synced 2025-12-07 20:23:50 +03:00
set netlogon negotiation flags to 0x1ff, not to what the client requests.
this is 0x4000 01ff on NT4 SP4, and 0x0000 01ff on pre-NT4 SP4.
This commit is contained in:
@@ -478,15 +478,16 @@ static void api_lsa_lookup_names( uint16 vuid, prs_struct *data,
|
||||
{
|
||||
fstring user_name;
|
||||
fstrcpy(user_name, unistr2(q_l.lookup_name[i].str.buffer));
|
||||
/*
|
||||
* Map to the UNIX username.
|
||||
*/
|
||||
map_username(user_name);
|
||||
|
||||
/*
|
||||
* Do any case conversions.
|
||||
*/
|
||||
(void)Get_Pwnam(user_name, True);
|
||||
/*
|
||||
* Map to the UNIX username.
|
||||
*/
|
||||
map_username(user_name);
|
||||
|
||||
/*
|
||||
* Do any case conversions.
|
||||
*/
|
||||
(void)Get_Pwnam(user_name, True);
|
||||
|
||||
if (!pdb_name_to_rid(user_name, &dom_rids[i], &dummy_g_rid))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user