View | Details | Raw Unified | Return to bug 37874
Collapse All | Expand All

(-)samba-4.2.0~rc2.orig/source4/rpc_server/netlogon/dcerpc_netlogon.c (-11 / +11 lines)
 Lines 170-186   static NTSTATUS dcesrv_netr_ServerAuthen Link Here 
170
		}
172
		}
171
	}
173
	}
172
174
173
	/*
174
	 * At this point we can cleanup the cache entry,
175
	 * if we fail the client needs to call netr_ServerReqChallenge
176
	 * again.
177
	 *
178
	 * Note: this handles global_challenge_table == NULL
179
	 * and also a non existing record just fine.
180
	 */
181
	memcache_delete(global_challenge_table,
182
			SINGLETON_CACHE, challenge_key);
183
184
	server_flags = NETLOGON_NEG_ACCOUNT_LOCKOUT |
175
	server_flags = NETLOGON_NEG_ACCOUNT_LOCKOUT |
185
		       NETLOGON_NEG_PERSISTENT_SAMREPL |
176
		       NETLOGON_NEG_PERSISTENT_SAMREPL |
186
		       NETLOGON_NEG_ARCFOUR |
177
		       NETLOGON_NEG_ARCFOUR |
 Lines 227-232   static NTSTATUS dcesrv_netr_ServerAuthen Link Here 
227
	}
218
	}
228
219
229
	/*
220
	/*
221
	 * At this point we can cleanup the cache entry,
222
	 * if we fail the client needs to call netr_ServerReqChallenge
223
	 * again.
224
	 *
225
	 * Note: this handles global_challenge_table == NULL
226
	 * and also a non existing record just fine.
227
	 */
228
	memcache_delete(global_challenge_table,
229
			SINGLETON_CACHE, challenge_key);
230
231
	/*
230
	 * According to Microsoft (see bugid #6099)
232
	 * According to Microsoft (see bugid #6099)
231
	 * Windows 7 looks at the negotiate_flags
233
	 * Windows 7 looks at the negotiate_flags
232
	 * returned in this structure *even if the
234
	 * returned in this structure *even if the

Return to bug 37874