[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha7-1881-g1a7898e
Karolin Seeger
kseeger at samba.org
Fri May 29 09:30:56 GMT 2009
The branch, master has been updated
via 1a7898e3a8f2c2e2cacd645b97da88054df931ae (commit)
from 2228cc6a0f942b774bef7fb0b99009897fa4dff4 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 1a7898e3a8f2c2e2cacd645b97da88054df931ae
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>
-----------------------------------------------------------------------
Summary of changes:
source3/libsmb/dsgetdcname.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index 5606b8e..fb87b4d 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/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