mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
smbd: Disable SMB_QUERY_CIFS_UNIX_INFO when SMB1 is disable
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
b70c88fb0b
commit
941ed7efd2
@ -2529,6 +2529,7 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)bsize, (unsigned
|
||||
}
|
||||
|
||||
|
||||
#if defined(WITH_SMB1SERVER)
|
||||
/*
|
||||
* Query the version and capabilities of the CIFS UNIX extensions
|
||||
* in use.
|
||||
@ -2581,6 +2582,7 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)bsize, (unsigned
|
||||
CIFS_UNIX_LARGE_WRITE_CAP : 0))));
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
case SMB_QUERY_POSIX_FS_INFO:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user