This is another *BIG* change...
[jra/samba/.git] / testsuite / build_farm / basicsmb-domainsec-nt4.test
index 933f8f9804cb428eacef9123e2f603e21441f9b6..5bf3305516a9303f6d6812db4232c6ac59c7d780 100644 (file)
@@ -6,15 +6,15 @@ fi
 
 test_joindomain_nt4() {
 
-       smbpasswd -a -m buildfarm$
+       smbpasswd -L -a -m buildfarm$
 
-       echo $prefix/bin/smbpasswd -L -j TESTWG
-       $prefix/bin/smbpasswd -L -j TESTWG
+       echo $prefix/bin/net rpc join oldstyle -S localhost
+        $prefix/bin/net rpc join oldstyle -S localhost
        status=$?
        if [ $status = 0 ]; then
-           echo "smbpasswd correctly joined the domain ($workgroup)"
+           echo "'net rpc join oldstyle' correctly joined the domain ($workgroup)"
        else
-           echo "smbpasswd failed to join the domain ($workgroup)! (status $status)"
+           echo "'net rpc join oldstyle' failed to join the domain ($workgroup)! (status $status)"
            return 1
        fi
        return 0