[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-5360-g30cca93
Karolin Seeger
kseeger at samba.org
Fri Oct 2 03:25:42 MDT 2009
The branch, v3-3-test has been updated
via 30cca93674d0dad15ad0ccfaf0d81f94d7d17b4a (commit)
from 032bf7afa7d9dcac3a22e2ad70d442e12a6d5f95 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 30cca93674d0dad15ad0ccfaf0d81f94d7d17b4a
Author: Kumar Thangavelu <Kumar.Thangavelu at riverbed.com>
Date: Fri May 29 11:27:38 2009 +0200
s3/getdcname: Fix 'net' crash.
'net' command crashed when attempting to join a
domain. This occurred in a very specific case where
the DC had multiple IPs and one of the IPs was invalid.
Signed-off-by: Volker Lendecke <vl at samba.org>
Fixes bug #6420.
-----------------------------------------------------------------------
Summary of changes:
source/libsmb/dsgetdcname.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/libsmb/dsgetdcname.c b/source/libsmb/dsgetdcname.c
index 77c2dcf..714c11b 100644
--- a/source/libsmb/dsgetdcname.c
+++ b/source/libsmb/dsgetdcname.c
@@ -626,8 +626,8 @@ static NTSTATUS discover_dc_dns(TALLOC_CTX *mem_ctx,
struct ip_service_name *r = &dclist[count];
- r->port = dcs[count].port;
- r->hostname = dcs[count].hostname;
+ r->port = dcs[i].port;
+ r->hostname = dcs[i].hostname;
/* If we don't have an IP list for a name, lookup it up */
--
Samba Shared Repository
More information about the samba-cvs
mailing list