diff options
author | Giovanni Bajo <rasky@develer.com> | 2010-01-11 22:18:40 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-01-11 22:24:22 +0100 |
commit | d75d14f8de0b1fe36028e605c9453631d9cd70bc (patch) | |
tree | ae4e1a3ad74c19ce4194299eccee22517786dc48 | |
parent | e0e255fb241b7e7918f237df52de3551ac6534f5 (diff) | |
download | samba-d75d14f8de0b1fe36028e605c9453631d9cd70bc.tar.gz samba-d75d14f8de0b1fe36028e605c9453631d9cd70bc.tar.bz2 samba-d75d14f8de0b1fe36028e605c9453631d9cd70bc.zip |
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.
-rw-r--r-- | 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 029429932e..27115021bf 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; |