diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-09-03 08:28:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:30 -0500 |
commit | a67ec52fdecf07c6685e986c9a10cca526094da1 (patch) | |
tree | 9c8d47aebe0ad9f88ba1fc8c2aad0ddb6db85ac2 /source4/torture/rpc/testjoin.c | |
parent | a560082c60e618de327170dbcb8107ab988913fb (diff) | |
download | samba-a67ec52fdecf07c6685e986c9a10cca526094da1.tar.gz samba-a67ec52fdecf07c6685e986c9a10cca526094da1.tar.bz2 samba-a67ec52fdecf07c6685e986c9a10cca526094da1.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.
(This used to be commit 05fd38f3cfd9476bc1cf7fed838a942a75569c0a)
Diffstat (limited to 'source4/torture/rpc/testjoin.c')
-rw-r--r-- | source4/torture/rpc/testjoin.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c index a4a4979895..5ee17b092a 100644 --- a/source4/torture/rpc/testjoin.c +++ b/source4/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; } |