selftest: Ensure winbindd is talking to the DC (itself) at startup
[nivanova/samba-autobuild/.git] / selftest / target / Samba4.pm
index 4584b5fe8f2a976841fd9e5dd9e5277fc5687ad3..00dfd28e9ddfe28373957d1480177e720cce716b 100755 (executable)
@@ -259,7 +259,7 @@ sub wait_for_start($$)
                my $cmd = "NSS_WRAPPER_PASSWD=$testenv_vars->{NSS_WRAPPER_PASSWD} ";
                $cmd .= "NSS_WRAPPER_GROUP=$testenv_vars->{NSS_WRAPPER_GROUP} ";
                $cmd .= "SELFTEST_WINBINDD_SOCKET_DIR=$testenv_vars->{SELFTEST_WINBINDD_SOCKET_DIR} ";
-               $cmd .= "$wbinfo -p";
+               $cmd .= "$wbinfo -P";
                $ret = system($cmd);
 
                if ($ret != 0) {