diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-10-06 14:38:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:39:28 -0500 |
commit | 6799fde75d1ccf93171874fd33f9e89e4472fd81 (patch) | |
tree | 193c4ccfc996e8893123d558f084e09a72371efd /source4/libcli/wrepl/winsrepl.h | |
parent | 093a30d7ed86e0772d1f590b25b74969b5c0b0ff (diff) | |
download | samba-6799fde75d1ccf93171874fd33f9e89e4472fd81.tar.gz samba-6799fde75d1ccf93171874fd33f9e89e4472fd81.tar.bz2 samba-6799fde75d1ccf93171874fd33f9e89e4472fd81.zip |
r10766: - make it possible to mark a wrepl_request as send only,
used for WREPL_REPL_INFORM* messsages
- make it possible to close the connection after a request was send
used for WREPL_ASSOCIATION_STOP
- fix the torture test that tests the assoc context handling
between connections, you can issue a request and get the reply
on another connection, I think we should not implement that in our server
code, as I think it's a security hole, you can cause a windows server
to send the replies to someone another client, that doesn't wait for data,
and as there're no massage_id in the protocol the client would be confused
by a replies that doesn't belong to a query
metze
(This used to be commit dfc95de8fa7ded8ea92cafe58cf86efcc7920156)
Diffstat (limited to 'source4/libcli/wrepl/winsrepl.h')
-rw-r--r-- | source4/libcli/wrepl/winsrepl.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source4/libcli/wrepl/winsrepl.h b/source4/libcli/wrepl/winsrepl.h index e78f0464e7..89a4c642b2 100644 --- a/source4/libcli/wrepl/winsrepl.h +++ b/source4/libcli/wrepl/winsrepl.h @@ -69,6 +69,10 @@ struct wrepl_request { DATA_BLOB buffer; + BOOL disconnect_after_send; + + BOOL send_only; + size_t num_read; struct timed_event *te; @@ -92,6 +96,16 @@ struct wrepl_associate { }; /* + setup an association +*/ +struct wrepl_associate_stop { + struct { + uint32_t assoc_ctx; + uint32_t reason; + } in; +}; + +/* pull the partner table */ struct wrepl_pull_table { |