s3-selftest: Do not assume $USERNAME is the same as $DC_USERNAME
authorAndrew Bartlett <abartlet@samba.org>
Mon, 13 Feb 2012 01:36:21 +0000 (12:36 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 13 Feb 2012 05:13:38 +0000 (06:13 +0100)
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Feb 13 06:13:38 CET 2012 on sn-devel-104

source3/selftest/tests.py

index 6376eae75b476f50b7696d3882298f48a8798ef5..d50b3bae140186a0639021226161124fcc2ececc 100755 (executable)
@@ -128,10 +128,10 @@ tests=["--ping", "--separator",
        "--online-status --domain=$DOMAIN",
        #Didn't pass yet# "--domain-users",
        "--domain-groups",
-       "--name-to-sid=$USERNAME",
-       "--name-to-sid=$DOMAIN\\\\$USERNAME",
+       "--name-to-sid=$DC_USERNAME",
+       "--name-to-sid=$DOMAIN\\\\$DC_USERNAME",
      #Didn't pass yet# "--user-info=$USERNAME",
-       "--user-groups=$DOMAIN\\\\$USERNAME",
+       "--user-groups=$DOMAIN\\\\$DC_USERNAME",
        "--allocate-uid",
        "--allocate-gid"]