Michał Zapaśnik
2004-Feb-04 13:29 UTC
[Samba] [PATCH] Unreliable network connections with 3.0.1 - need advice
Hi I saw your post about bug in Samba 3.0.1: Quote: ????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); but I need more information how to install it. Could you send me some instructions? Thanks Michal
Gerald (Jerry) Carter
2004-Feb-04 15:12 UTC
[Samba] [PATCH] Unreliable network connections with 3.0.1 - need advice
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Micha? Zapa?nik wrote: | Hi | | | I saw your post about bug in Samba 3.0.1: | | Quote: | | ????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); | | | | but I need more information how to install it. Could you send me some | instructions? This has already been integrated into 3.0.2rc2 (for what's its worth). cheers, jerry - ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song" --Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAIQvCIR7qMdg1EfYRAkavAJsF7xA61hOg9JFFlvclAnbrSDIjQACgiAqR 7IqBF3lYFLGYVmCXorwCvcs=yyiP -----END PGP SIGNATURE-----