The Samba-Bugzilla – Attachment 5186 Details for
Bug 7029
NetShareEnum: disable sanity check for better compatibility with Windows
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am format patch for 3.5.0.
0001-s3-lanman-Allow-a-level2-descriptor-for-a-level1-Ne.patch (text/plain), 979 bytes, created by
Jeremy Allison
on 2010-01-14 14:24:21 UTC
(
hide
)
Description:
git-am format patch for 3.5.0.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2010-01-14 14:24:21 UTC
Size:
979 bytes
patch
obsolete
>From 72638b20918c4c0ca7ce86c8f6fd4ebcb25beef4 Mon Sep 17 00:00:00 2001 >From: Giovanni Bajo <rasky@develer.com> >Date: Mon, 11 Jan 2010 22:18:40 +0100 >Subject: [PATCH] s3-lanman: Allow a level2 descriptor for a level1 NetShareGetInfo > >Windows seems to allow this > >http://lists.samba.org/archive/samba-technical/2009-November/068116.html > >has a dump of this. >(cherry picked from commit d75d14f8de0b1fe36028e605c9453631d9cd70bc) >--- > source3/smbd/lanman.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c >index 7ee6c9b..95b21c9 100644 >--- a/source3/smbd/lanman.c >+++ b/source3/smbd/lanman.c >@@ -1569,7 +1569,9 @@ static bool check_share_info(int uLevel, char* id) > } > break; > case 1: >- if (strcmp(id,"B13BWz") != 0) { >+ /* Level-2 descriptor is allowed (and ignored) */ >+ if (strcmp(id,"B13BWz") != 0 && >+ strcmp(id,"B13BWzWWWzB9B") != 0) { > return False; > } > break; >-- >1.5.4.3 >
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 7029
: 5186