The branch, master has been updated
via d75d14f... s3-lanman: Allow a level2 descriptor for a level1
NetShareGetInfo
from e0e255f... Fix comment/debug messages
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit d75d14f8de0b1fe36028e605c9453631d9cd70bc
Author: Giovanni Bajo <[email protected]>
Date: Mon Jan 11 22:18:40 2010 +0100
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.
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/lanman.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 0294299..2711502 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;
--
Samba Shared Repository