mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
s3: smbd: lp_widelinks(). Turn off widelinks if either SMB1 or SMB2 unix extensions are turned on.
NB. Currently it's impossible to turn on SMB2 unix extensions. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
955f08866d
commit
7a5fea262f
@ -4671,7 +4671,7 @@ void widelinks_warning(int snum)
|
||||
bool lp_widelinks(int snum)
|
||||
{
|
||||
/* wide links is always incompatible with unix extensions */
|
||||
if (lp_smb1_unix_extensions()) {
|
||||
if (lp_smb1_unix_extensions() || lp_smb2_unix_extensions()) {
|
||||
/*
|
||||
* Unless we have "allow insecure widelinks"
|
||||
* turned on.
|
||||
|
Loading…
x
Reference in New Issue
Block a user