diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-02-09 03:05:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:51:53 -0500 |
commit | 7546864a7866eda2ee07fd318c6fcfd5f1e84ad0 (patch) | |
tree | ca8bbf46e6fd2f99c6ff2353c64de71c0403cd71 /source4/torture/rpc | |
parent | 941c1566e514ef039220a781e12ce9385265071a (diff) | |
download | samba-7546864a7866eda2ee07fd318c6fcfd5f1e84ad0.tar.gz samba-7546864a7866eda2ee07fd318c6fcfd5f1e84ad0.tar.bz2 samba-7546864a7866eda2ee07fd318c6fcfd5f1e84ad0.zip |
r13404: Comments, whitespace.
Andrew Bartlett
(This used to be commit 04e2fe8b6d293092af86a54215c1fa037bbb20e9)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/schannel.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/torture/rpc/schannel.c b/source4/torture/rpc/schannel.c index 9084fb7ac3..80b223656d 100644 --- a/source4/torture/rpc/schannel.c +++ b/source4/torture/rpc/schannel.c @@ -365,7 +365,7 @@ static BOOL test_schannel(TALLOC_CTX *mem_ctx, goto failed; } - /* do a couple of logins. We have *not* done a new serverauthenticate */ + /* do a some SAMR operations. We have *not* done a new serverauthenticate */ if (!test_samr_ops(p_samr2, test_ctx)) { printf("Failed to process schannel secured SAMR ops (on fresh connection)\n"); goto failed; @@ -379,11 +379,11 @@ static BOOL test_schannel(TALLOC_CTX *mem_ctx, status = dcerpc_secondary_connection(p_samr2, &p_netlogon2, b); - if (!NT_STATUS_IS_OK(status)) { goto failed; } + /* and now setup an SCHANNEL bind on netlogon */ status = dcerpc_bind_auth(p_netlogon2, &dcerpc_table_netlogon, credentials, DCERPC_AUTH_TYPE_SCHANNEL, dcerpc_auth_level(p_samr2->conn), @@ -399,7 +399,8 @@ static BOOL test_schannel(TALLOC_CTX *mem_ctx, ret = False; } - /* And the more traditional style */ + /* And the more traditional style, proving that the + * credentials chaining state is fully present */ if (!test_netlogon_ops(p_netlogon2, test_ctx, credentials, creds)) { printf("Failed to process schannel secured NETLOGON EX ops\n"); ret = False; |