git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e0e255f
)
s3-lanman: Allow a level2 descriptor for a level1 NetShareGetInfo
author
Giovanni Bajo
<rasky@develer.com>
Mon, 11 Jan 2010 21:18:40 +0000
(22:18 +0100)
committer
Volker Lendecke
<vl@samba.org>
Mon, 11 Jan 2010 21:24:22 +0000
(22:24 +0100)
Windows seems to allow this
http://lists.samba.org/archive/samba-technical/2009-November/068116.html
has a dump of this.
source3/smbd/lanman.c
patch
|
blob
|
history
diff --git
a/source3/smbd/lanman.c
b/source3/smbd/lanman.c
index 029429932ed74250ea6e6a03a3d5de1dd5fa2883..27115021bf35420c4117e11d1f084250d354235f 100644
(file)
--- 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;