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:
parent
e0e255fb24
commit
d75d14f8de
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user