]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: Set NSS_WRAPPER_HOSTS for smbclient
authorAndreas Schneider <asn@samba.org>
Thu, 6 Jun 2024 09:51:53 +0000 (11:51 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 13 Jun 2024 12:25:37 +0000 (12:25 +0000)
This is calling getaddrinfo()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
selftest/target/Samba3.pm

index 58beee5e8cafcd7a729b1feed758cb05385b75e7..291e3888fc6196d8d9db2e372843b9e2d705332d 100755 (executable)
@@ -3942,7 +3942,8 @@ sub wait_for_start($$$$$)
                        $cmd .= " smbd ping";
            } else {
                        # This uses NTLM which is not available in FIPS
-                       $cmd = Samba::bindir_path($self, "smbclient");
+                       $cmd = "NSS_WRAPPER_HOSTS='$envvars->{NSS_WRAPPER_HOSTS}' ";
+                       $cmd .= Samba::bindir_path($self, "smbclient");
                        $cmd .= " $envvars->{CONFIGURATION}";
                        $cmd .= " -L $envvars->{SERVER}";
                        $cmd .= " -U%";