diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-09-03 08:28:24 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2004-09-03 08:28:24 +0000 |
commit | 4554ae460c60bc7bb8870bfb91d557ae196389ca (patch) | |
tree | 76479a3b0517672610368e5085537ec690d5296f /source/torture/rpc/testjoin.c | |
parent | 15ed5b4c4b83fd64723f368eb4bbf012169d4246 (diff) | |
download | samba-4554ae460c60bc7bb8870bfb91d557ae196389ca.tar.gz samba-4554ae460c60bc7bb8870bfb91d557ae196389ca.tar.xz samba-4554ae460c60bc7bb8870bfb91d557ae196389ca.zip |
r2200: solved another piece of the lsakey puzzle - the session key for lsa
encryption on ncacn_ip_tcp is a fixed buffer! I don't yet know what
the buffer is, but this code proves its the same buffer for different
w2k3 servers and different user passwords, plus it is independent of
the negotiated NTLMSSP session key.
Diffstat (limited to 'source/torture/rpc/testjoin.c')
-rw-r--r-- | source/torture/rpc/testjoin.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/torture/rpc/testjoin.c b/source/torture/rpc/testjoin.c index a4a4979895f..5ee17b092a0 100644 --- a/source/torture/rpc/testjoin.c +++ b/source/torture/rpc/testjoin.c @@ -125,10 +125,11 @@ void *torture_join_domain(const char *machine_name, printf("Connecting to SAMR (forced ncacn_np)\n"); - status = torture_rpc_connection_smb(&join->p, - DCERPC_SAMR_NAME, - DCERPC_SAMR_UUID, - DCERPC_SAMR_VERSION); + status = torture_rpc_connection_transport(&join->p, + DCERPC_SAMR_NAME, + DCERPC_SAMR_UUID, + DCERPC_SAMR_VERSION, + NCACN_NP); if (!NT_STATUS_IS_OK(status)) { goto failed; } |