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);
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to