diff options
author | Luke Leighton <lkcl@samba.org> | 2000-03-06 05:13:26 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 2000-03-06 05:13:26 +0000 |
commit | a39a289a7d555ca2b81daa82ca5ed7ebf4933969 (patch) | |
tree | fbc011433b6c3a896e143d12ad69a01eb2de061e /source/rpc_client/cli_reg.c | |
parent | a5c9742fc4df8019acc882c413008f97a31f1ccf (diff) | |
download | samba-a39a289a7d555ca2b81daa82ca5ed7ebf4933969.tar.gz |
turns out that POLICY_HND actually contains an RPC_UUID. only found this
out by receiving little-endian DCE/RPC packets and sending big-endian
DCE/RPC packets, of course the POLICY_HND was wrong...
Diffstat (limited to 'source/rpc_client/cli_reg.c')
-rw-r--r-- | source/rpc_client/cli_reg.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/source/rpc_client/cli_reg.c b/source/rpc_client/cli_reg.c index 94f526b4d87..7f0b8df301b 100644 --- a/source/rpc_client/cli_reg.c +++ b/source/rpc_client/cli_reg.c @@ -1084,22 +1084,7 @@ BOOL reg_close( POLICY_HND *hnd) if (p) { - /* check that the returned policy handle is all zeros */ - uint32 i; valid_close = True; - - for (i = 0; i < sizeof(r_c.pol.data); i++) - { - if (r_c.pol.data[i] != 0) - { - valid_close = False; - break; - } - } - if (!valid_close) - { - DEBUG(0,("REG_CLOSE: non-zero handle returned\n")); - } } } |