The Samba-Bugzilla – Attachment 4064 Details for
Bug 6235
domain enumeration breaks if master browser has space in name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to make name_status_find() not return a group
x (text/plain), 474 bytes, created by
Derrell Lipman
on 2009-04-14 13:10:04 UTC
(
hide
)
Description:
patch to make name_status_find() not return a group
Filename:
MIME Type:
Creator:
Derrell Lipman
Created:
2009-04-14 13:10:04 UTC
Size:
474 bytes
patch
obsolete
>diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c >index 19d89ce..50fb9f1 100644 >--- a/source3/libsmb/namequery.c >+++ b/source3/libsmb/namequery.c >@@ -408,7 +408,8 @@ bool name_status_find(const char *q_name, > goto done; > > for (i=0;i<count;i++) { >- if (status[i].type == type) >+ /* Find first one of the requested type that's not a GROUP. */ >+ if (status[i].type == type && ! (status[i].flags & 0x80)) > break; > } > if (i == count)
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 6235
: 4064 |
4747