summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/schannel.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-11-20 16:28:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:31 -0500
commitf2dedc629ca0d15a59de38812abb0b290fed0a37 (patch)
tree1ce797981364301283c952612d7578fe7bd918dd /source4/torture/rpc/schannel.c
parent218ea5a5c77aab2d572b400c8605e0e67ab741e0 (diff)
downloadsamba-f2dedc629ca0d15a59de38812abb0b290fed0a37.tar.gz
samba-f2dedc629ca0d15a59de38812abb0b290fed0a37.tar.bz2
samba-f2dedc629ca0d15a59de38812abb0b290fed0a37.zip
r11809: Make dcerpc_bind_auth async.
This also removes dcerpc_bind_auth_password, the only user of dcerpc_bind_auth. And this was not only passwords anyway. Andrew Bartlett, as usual: Please take a close look. Thanks, Volker (This used to be commit 2ff2dae3d035af6cb0c131573cfd983fc9a58eee)
Diffstat (limited to 'source4/torture/rpc/schannel.c')
-rw-r--r--source4/torture/rpc/schannel.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source4/torture/rpc/schannel.c b/source4/torture/rpc/schannel.c
index 4b9c4a8235..338a71d27b 100644
--- a/source4/torture/rpc/schannel.c
+++ b/source4/torture/rpc/schannel.c
@@ -214,11 +214,11 @@ static BOOL test_schannel(TALLOC_CTX *mem_ctx,
goto failed;
}
- status = dcerpc_bind_auth_password(p_netlogon,
- DCERPC_NETLOGON_UUID,
- DCERPC_NETLOGON_VERSION,
- credentials, DCERPC_AUTH_TYPE_SCHANNEL,
- NULL);
+ status = dcerpc_bind_auth(p_netlogon,
+ DCERPC_NETLOGON_UUID,
+ DCERPC_NETLOGON_VERSION,
+ credentials, DCERPC_AUTH_TYPE_SCHANNEL,
+ NULL);
if (!NT_STATUS_IS_OK(status)) {
goto failed;
@@ -249,11 +249,11 @@ static BOOL test_schannel(TALLOC_CTX *mem_ctx,
goto failed;
}
- status = dcerpc_bind_auth_password(p_lsa,
- DCERPC_LSARPC_UUID,
- DCERPC_LSARPC_VERSION,
- credentials, DCERPC_AUTH_TYPE_SCHANNEL,
- NULL);
+ status = dcerpc_bind_auth(p_lsa,
+ DCERPC_LSARPC_UUID,
+ DCERPC_LSARPC_VERSION,
+ credentials, DCERPC_AUTH_TYPE_SCHANNEL,
+ NULL);
if (!NT_STATUS_IS_OK(status)) {
goto failed;