Jerome Borsboom
2004-Jan-07 19:30 UTC
[Samba] [PATCH] Unreliable network connections with 3.0.1
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);
Gerald (Jerry) Carter
2004-Jan-08 16:37 UTC
[Samba] [PATCH] Unreliable network connections with 3.0.1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 7 Jan 2004, Jerome Borsboom wrote:> 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.This was added to the CVS tree yesterday to work around a problem with Exchange clear text authentication. Thanks for the patch though. 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.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE//YaiIR7qMdg1EfYRAhbIAKCnBPEnCDQVAX+OdtDgm4PXrvWzRACgiWys ZWO7mLySeo7NuMEk66bJpBQ=7hSm -----END PGP SIGNATURE-----