From: Ralph Boehme Date: Wed, 5 Mar 2025 17:00:33 +0000 (+0100) Subject: s3/param: remove widelinks check and warning for SMB3 UNIX Extensions X-Git-Tag: tevent-0.17.0~574 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2f127db4a3184f68844c75bcaf8bd1927bfb17c;p=thirdparty%2Fsamba.git s3/param: remove widelinks check and warning for SMB3 UNIX Extensions SMB3 POSIX clients won't be able to create real symlinks, so we can relax these checks. Signed-off-by: Ralph Boehme Reviewed-by: Volker Lendecke --- diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index e04288d2304..a62da148b38 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -4740,12 +4740,6 @@ void widelinks_warning(int snum) "These parameters are incompatible. " "Wide links will be disabled for this share.\n", lp_const_servicename(snum)); - } else if (lp_smb3_unix_extensions(snum)) { - DBG_ERR("Share '%s' has wide links and SMB3 Unix " - "extensions enabled. " - "These parameters are incompatible. " - "Wide links will be disabled for this share.\n", - lp_const_servicename(snum)); } } } @@ -4753,7 +4747,7 @@ void widelinks_warning(int snum) bool lp_widelinks(int snum) { /* wide links is always incompatible with unix extensions */ - if (lp_smb1_unix_extensions() || lp_smb3_unix_extensions(snum)) { + if (lp_smb1_unix_extensions()) { /* * Unless we have "allow insecure widelinks" * turned on.