[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Mon Jan 11 14:22:54 MST 2010
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 <rasky at develer.com>
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
More information about the samba-cvs
mailing list