1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

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.
This commit is contained in:
Giovanni Bajo 2010-01-11 22:18:40 +01:00 committed by Volker Lendecke
parent e0e255fb24
commit d75d14f8de

View File

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