summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-10-06 11:15:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:28 -0500
commit39daa629ff74b1a16a2c53ba82628fdabd4d1a93 (patch)
treecde0b24de062748a2c57311a0f8a836c1d9228f8 /source4/torture/rpc
parent8af30ce3130888a22a99bbb1c9b65d7b699b0614 (diff)
downloadsamba-39daa629ff74b1a16a2c53ba82628fdabd4d1a93.tar.gz
samba-39daa629ff74b1a16a2c53ba82628fdabd4d1a93.tar.bz2
samba-39daa629ff74b1a16a2c53ba82628fdabd4d1a93.zip
r10764: To match Win2k3 SP1, we need to set an anonymous user token for
schannel connections. Test for Win2k3 SP1 behaviour in RPC-SCHANNEL. Andrew Bartlett (This used to be commit 1c3911374ec65e4770c2fe9109d7b7d3ecd99f6a)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/schannel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/schannel.c b/source4/torture/rpc/schannel.c
index 7674b30417..056684631a 100644
--- a/source4/torture/rpc/schannel.c
+++ b/source4/torture/rpc/schannel.c
@@ -112,9 +112,9 @@ static BOOL test_lsa_ops(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
return False;
}
- if (strcmp(r.out.account_name->string, "SYSTEM") != 0) {
+ if (strcmp(r.out.account_name->string, "ANONYMOUS LOGON") != 0) {
printf("GetUserName returned wrong user: %s, expected %s\n",
- r.out.account_name->string, "SYSTEM");
+ r.out.account_name->string, "ANONYMOUS LOGON");
return False;
}
if (!r.out.authority_name || !r.out.authority_name->string) {