]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:param: let lpcfg_smbcli_options() use lpcfg_client_smb_transports()
authorStefan Metzmacher <metze@samba.org>
Thu, 3 Apr 2025 10:26:48 +0000 (12:26 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 18 Apr 2025 10:17:29 +0000 (10:17 +0000)
It means we'll use 'client smb transports' instead of 'smb ports'
for the client side.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source4/param/loadparm.c

index a35fd5d17391a2eb913fec65ca379bcf176231f9..ad1da183f88ebc6af88f4d63f29b1f172b3ba778 100644 (file)
@@ -59,8 +59,8 @@ void lpcfg_smbcli_options(struct loadparm_context *lp_ctx,
                .smb2_capabilities = SMB2_CAP_ALL,
                .client_guid = client_guid,
                .max_credits = WINDOWS_CLIENT_PURE_SMB2_NEGPROT_INITIAL_CREDIT_ASK,
-               .transports = smb_transports_parse("smb ports",
-                       lpcfg_smb_ports(lp_ctx)),
+               .transports = smb_transports_parse("client smb transports",
+                       lpcfg_client_smb_transports(lp_ctx)),
                .smb3_capabilities = smb311_capabilities_parse("client",
                        lpcfg_client_smb3_signing_algorithms(lp_ctx),
                        lpcfg_client_smb3_encryption_algorithms(lp_ctx)),