[SCM] Samba Shared Repository - branch v3-5-test updated

Karolin Seeger kseeger at samba.org
Fri Jan 15 03:59:45 MST 2010


The branch, v3-5-test has been updated
       via  91a5970... s3-lanman: Allow a level2 descriptor for a level1 NetShareGetInfo
      from  af2a075... Part 4 of bug #7028 - include scannedonly VFS module

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test


- Log -----------------------------------------------------------------
commit 91a59704421d2c0a3c23cb936323fc1f9ba17dc0
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.
    (cherry picked from commit d75d14f8de0b1fe36028e605c9453631d9cd70bc)
    
    Fix bug #7029 (NetShareEnum: disable sanity check for better compatibility with
    Windows).

-----------------------------------------------------------------------

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 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;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list