1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-18 00:23:50 +03:00
Commit Graph

16 Commits

Author SHA1 Message Date
Stefan Metzmacher
f04001f280 r11487: thanks to make test I noticed a dead lock bug, in the last change,
this only happens with socket_wrapper as socket_connect() returns NT_STATUS_OK
instead of NT_STATUS_MORE_PROCESSING_REQUIRED, and we missed to replace the
fde event handler...

metze
2007-10-10 13:45:44 -05:00
Stefan Metzmacher
bf0b96f057 r11485: prevent us from calling the request handler recursiv when
the handler calls talloc_free(wrepl_socket)

metze
2007-10-10 13:45:43 -05:00
Stefan Metzmacher
3f7b09a308 r11090: we need this to run correct under socket_wrapper
metze
2007-10-10 13:44:47 -05:00
Stefan Metzmacher
e7ee73a747 r10836: giving NT_STATUS_NO_MEMORY, when the connection fails wasn't a good idea...
metze
2007-10-10 13:39:33 -05:00
Stefan Metzmacher
dfc95de8fa 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
2007-10-10 13:39:28 -05:00
Stefan Metzmacher
2f46e54e1b r10761: we need to use a pointer to a nbt_name to fix compiler warnings, because we can
only use a pointers to unknown types in proto.h

metze
2007-10-10 13:39:28 -05:00
Stefan Metzmacher
131e5dfe69 r10638: - add wrepl_socket_merge() function that creates a wrepl_socket on top
of an existing socket, that is needed to handle WREPL_REPL_UPDATE
  in the server, because we need to flig the connection and act as client on it

metze
2007-10-10 13:39:14 -05:00
Stefan Metzmacher
ba3685c41d r10627: - use a wrepl specific enum for the node type
- the unknown flag 0x10 seems to mean that this name was localy registered on this
  currently asked server, that flag is not present in replica records

metze
2007-10-10 13:39:13 -05:00
Stefan Metzmacher
b98efc2905 r10608: - fix hierachical memory handling in ndr_pull_nbt_name
- add wrepl_nbt_name scalar type and do the pull/push in the ndr layer
  instead of the caller
- give the flags and group_flag in the wrepl_name a meaning

metze
2007-10-10 13:39:12 -05:00
Stefan Metzmacher
bfd548ca10 r10569: add all info that we have to wrepl_name, as we need it for replication :-)
metze
2007-10-10 13:39:06 -05:00
Stefan Metzmacher
ff12723477 r10547: - add wrepl_request timeout handling
- when we got an unexpected READ event, we need to do a socket_recv() to find connection errors
  and we need to mark the socket as dead (and remove the fde_event) to prevent,
  endless loops on broken connections

tridge: we should look carefull at other protocol, to handle broken connections without spinning

metze
2007-10-10 13:39:04 -05:00
Stefan Metzmacher
495996cfc4 r10537: - we now use a much nicer way to handle talloc_free(timed_event)
the events code replaces a destructor to one that returns allways -1
  while it's calling the event handler
- we don't need the composite and winsrepl specific fixes any more
- this also fixes the problem with smbcli, dcerpc, cldap, ldap and nbt
  request timeouts

metze
2007-10-10 13:39:03 -05:00
Stefan Metzmacher
0983452bf8 r10530: - fix some crash bugs when we lost the connection...
metze
2007-10-10 13:39:02 -05:00
Stefan Metzmacher
7492afa48d r10129: fix sinple ip's in wins replication, packets
metze
2007-10-10 13:38:01 -05:00
Stefan Metzmacher
e44aca0a8e r10115: bind client connection to the best interface, to the partner
metze
2007-10-10 13:38:00 -05:00
Stefan Metzmacher
d8b84112bb r10113: rename libcli/wins to libcli/wrepl
metze
2007-10-10 13:38:00 -05:00