The Samba-Bugzilla – Attachment 7610 Details for
Bug 8910
resolve_ads() code can return zero addresses and miss valid DC IP addresses.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Modified fix.
look (text/plain), 506 bytes, created by
Jeremy Allison
on 2012-05-30 18:36:59 UTC
(
hide
)
Description:
Modified fix.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2012-05-30 18:36:59 UTC
Size:
506 bytes
patch
obsolete
>diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c >index 3eae347..4c05e4f 100644 >--- a/source3/libsmb/namequery.c >+++ b/source3/libsmb/namequery.c >@@ -2491,7 +2491,7 @@ static NTSTATUS resolve_ads(const char *name, > > *return_count = 0; > >- while ( i < numdcs && (*return_count<numaddrs) ) { >+ for (i = 0; i < numdcs && (*return_count<numaddrs); i++ ) { > /* If we don't have an IP list for a name, lookup it up */ > if (!dcs[i].ss_s) { > /* We need to get all IP addresses here. */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 8910
:
7510
|
7511
|
7609
|
7610
|
7611