Check for Administrator as a Alias (copy&paste bug)
authorAndrew Bartlett <abartlet@samba.org>
Thu, 13 Mar 2008 23:11:03 +0000 (10:11 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 13 Mar 2008 23:11:03 +0000 (10:11 +1100)
Andrew Bartlett
(This used to be commit e7afb31df1f12a3cd39ed9b95d76edc6ff0d6a70)

source4/torture/rpc/lsa.c

index 60d022fbea77269019338f13beef7809240e5de4..04d13a97c1c51849bede4a85af95a75bbf040238 100644 (file)
@@ -295,8 +295,8 @@ static bool test_LookupNames_wellknown(struct dcerpc_pipe *p,
        ret &= test_LookupNames(p, mem_ctx, handle, &tnames);
 
        name.name.string = "BUILTIN\\Administrators";
-       ret &= test_LookupNames(p, mem_ctx, handle, &tnames);
        name.sid_type = SID_NAME_ALIAS;
+       ret &= test_LookupNames(p, mem_ctx, handle, &tnames);
 
        name.name.string = "SYSTEM";
        name.sid_type = SID_NAME_WKN_GRP;