[Samba] [PATCH] Unreliable network connections with 3.0.1
Jerome Borsboom
j.borsboom at erasmusmc.nl
Wed Jan 7 19:30:25 GMT 2004
A lot of people have complained about unreliable connections to W2K and XP
machines. The folowing patch solved the problems for us. I have no idea
why it works, but after this patch we had no more problems connecting to
workstations in the domain.
--- samba-3.0.2pre1/source/rpc_parse/parse_net.c 2004-01-06 22:08:41.000000000 +0100
+++ samba-3.0.2pre1/source/rpc_parse/parse_net.c 2004-01-07 19:54:40.000000000 +0100
@@ -1317,8 +1317,8 @@
memset((char *)usr->padding, '\0', sizeof(usr->padding));
- if (lm_session_key != NULL)
- memcpy(usr->padding, lm_session_key, sizeof(usr->user_sess_key));
+// if (lm_session_key != NULL)
+// memcpy(usr->padding, lm_session_key, sizeof(usr->user_sess_key));
num_other_sids = init_dom_sid2s(ctx, other_sids, &usr->other_sids);
More information about the samba
mailing list