summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| | * r12124: we don't need this comment twiceStefan Metzmacher2005-12-081-5/+0
| | | | | | | | | | | | metze
| | * r12123: handle fde == NULL at the correct levelStefan Metzmacher2005-12-083-11/+16
| | | | | | | | | | | | metze
| | * r12116: got rid of composite_trigger_done() and composite_trigger_error(), andAndrew Tridgell2005-12-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | instead make the normal composite_done() and composite_error() functions automatically trigger a delayed callback if the caller has had no opportunity to setup a async callback this removes one of the common mistakes in writing a composite function
| | * r12074: in accept() we need to set socket name of the child socket by lookingStefan Metzmacher2005-12-051-3/+19
| | | | | | | | | | | | | | | | | | up what address the client has used, as the socket is maybe bound to '0.0.0.0' metze
| | * r12073: fix vlgrind error, calculate the correct size for memcpy()Stefan Metzmacher2005-12-051-6/+13
| | | | | | | | | | | | | | | | | | and don't assume out_len is >= sizeof(*in_addr) metze
| | * r12057: fixed authentication in ldb client toolsAndrew Tridgell2005-12-051-0/+3
| | |
| | * r12014: free the irpc_request structure with the irpc_call_recv functions,Stefan Metzmacher2005-12-021-5/+8
| | | | | | | | | | | | | | | | | | to match all other _recv functions we have metze
| | * r11988: Setup the sessionInfo just before the connect, rather than earlierAndrew Bartlett2005-12-011-4/+6
| | | | | | | | | | | | | | | | | | when we havn't finished popt. Andrew Bartlett
| | * r11984: LGPL on header and testsuite as wellAndrew Tridgell2005-12-012-22/+30
| | |
| | * r11983: make talloc LGPL. This makes more sense given that ldb depends onAndrew Tridgell2005-12-011-11/+15
| | | | | | | | | | | | talloc, and ldb is now LGPL
| | * r11981: we should allocate request specific memory in ldb modules off theAndrew Tridgell2005-12-011-1/+1
| | | | | | | | | | | | request strucutre. It will take a while for this to happen everywhere.
| | * r11967: Fix more 64-bit warnings.Tim Potter2005-11-302-3/+3
| | |
| | * r11958: - fixed memory leaks in the ldb_result handling in ldb operationsAndrew Tridgell2005-11-296-90/+99
| | | | | | | | | | | | - removed an unnecessary level of pointer in ldb_search structure
| | * r11953: enabled the rootdse module in the ldb modules codeAndrew Tridgell2005-11-291-0/+1
| | |
| | * r11870: fixed the problem volker reported with the RPX-XPLOGIN test. TheAndrew Tridgell2005-11-231-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | problem was caused by a callback destroying the packet processing context while that context was being used in packet_recv() This is the first time we have used the ability of talloc destructors to 'refuse' a free request. It works well in this case as it makes the composite API simpler to use for other code, and isolates the complexity of having callbacks destroying the packet context to the packet.c code.
| | * r11869: talloc has been ported :-)Volker Lendecke2005-11-221-2/+3
| | |
| | * r11823: make the socket_connect_send() context a child of the local stateAndrew Tridgell2005-11-211-0/+1
| | | | | | | | | | | | this fixes a valgrind error
| | * r11822: reworked the socket_connect_multi() code so it is built on top ofAndrew Tridgell2005-11-211-144/+149
| | | | | | | | | | | | | | | | | | | | | socket_connect_send() rather than the lower level socket code. Also simplified the state structures a fair bit, and added name resolution, fixing a bug where the multi-port connect code did a separate name resolution for each port being tried.
| | * r11821: got rid of two more unnecessary variables and made the variable namesAndrew Tridgell2005-11-211-60/+58
| | | | | | | | | | | | a bit more consistent
| | * r11820: fixed some problems with the socket socket.c code. Andrew Tridgell2005-11-211-68/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - removed the duplicate calls to socket_connect(), instead creating a common function socket_send_connect() used by both code paths - fixed some NULL ptr checks (probably was cut-and-paste bugs) - ensure we use the result of the name resolution - added a few comments - use 'fde' for the file description event. The variable name 'connect_ev' immediately made me think of an event context, not a fde. Using common variable name conventions makes code a bit easier to read
| | * r11811: Revert 11808, this broke the selftest. No idea why though. Why do we ↵Volker Lendecke2005-11-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to the resolve_name if it's not used? I know this is my code, but I don't understand why it breaks tests. Volker
| | * r11808: Fix socket_connect_evVolker Lendecke2005-11-201-2/+2
| | |
| | * r11797: Added OpenSSH fix for "%.*s" format crash. From Darren TuckerJeremy Allison2005-11-191-1/+22
| | | | | | | | | | | | | | | <dtucker@zip.com.au> Jeremy.
| | * r11713: separate out the setting of the fde in the packet context from theAndrew Tridgell2005-11-142-5/+14
| | | | | | | | | | | | enabling of packet serialisation
| | * r11712: avoid changing the fde flags unless really neededAndrew Tridgell2005-11-141-6/+9
| | |
| | * r11710: added function iface_same_net()Andrew Tridgell2005-11-141-0/+10
| | |
| | * r11709: Comment out unused function.Tim Potter2005-11-141-0/+4
| | |
| | * r11642: add some error checksStefan Metzmacher2005-11-101-2/+8
| | | | | | | | | | | | metze
| | * r11636: a bit neater solution to the nt_cancel problemAndrew Tridgell2005-11-102-1/+18
| | |
| | * r11634: - make crc table staticStefan Metzmacher2005-11-102-3/+3
| | | | | | | | | | | | | | | | | | | | | - const uint8_t * in all places - update header prototype metze
| | * r11631: fixed a signed/unsigned warningAndrew Tridgell2005-11-102-2/+2
| | |
| | * r11630: another fix for over-reading in the packet code. This time get theAndrew Tridgell2005-11-101-4/+12
| | | | | | | | | | | | sign of the comparison right :-)
| | * r11629: fixed a bug found with the socket:testnonblock code. With randomisedAndrew Tridgell2005-11-101-0/+1
| | | | | | | | | | | | | | | under-reads we could end up supplying a buffer to the client that has an incorrect length
| | * r11627: give the caller much more control over the stream to packet process,Andrew Tridgell2005-11-102-2/+46
| | | | | | | | | | | | | | | | | | | | | allowing it to specify the initial read size (thus preventing over-reading) and to stop the recv process when needed. This is used by the dcerpc socket code, which relies on not getting packets when it isn't ready for them
| | * r11618: added a generic '32 bit length prefix' full packet helper to the ↵Andrew Tridgell2005-11-102-4/+21
| | | | | | | | | | | | packet code
| | * r11616: Replace old crc32 code with one from the FreeBSD tree.Jeremy Allison2005-11-091-56/+92
| | | | | | | | | | | | | | | | | | * COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or * code or tables extracted from it, as desired without restriction. Jeremy.
| | * r11611: don't use unions without a instance name, not all compilers support ↵Stefan Metzmacher2005-11-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that... fix the build with cc on IRIX 6.5 us4 tridge: we should post this to the appweb maintainers, also with my hex constant fix from a few weeks ago! metze
| | * r11605: added handling of the send queue to the generic packet handling codeAndrew Tridgell2005-11-092-0/+65
| | |
| | * r11602: added packet_set_serialise() to allow the generic packet layer toAndrew Tridgell2005-11-092-0/+29
| | | | | | | | | | | | | | | handle optional request serialisation (this is something that is commonly needed on stream connections)
| | * r11598: fixed strhaslower() and strhasupper() to not falsely recogniseAndrew Tridgell2005-11-091-4/+10
| | | | | | | | | | | | caseless characters as lower/upper
| | * r11596: switched the libcli/raw/ code over to using the lib/stream/ genericAndrew Tridgell2005-11-092-0/+5
| | | | | | | | | | | | | | | packet parsing code. This simplifies the logic in the raw client library a fair bit
| | * r11595: added a helper layer to parse streams into individual packets. This isAndrew Tridgell2005-11-093-0/+368
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | something that Andrew Bartlett has been asking for for a while, and when I started having to re-invent this packet parsing code yet again for SMB2 I decided it was time to do it generically you use it by providing a "is this a full packet yet?" helper function to the packet_*() functions, which then handle all the logic of partial packet buffering. This also goes to great lengths to operate efficiently, minimising the number of recv system calls.
| | * r11594: ensure ldb_search() sets *res to NULL on failure (some of the updatedAndrew Tridgell2005-11-091-0/+2
| | | | | | | | | | | | ldb_result code coud rely on that)
| | * r11593: added a data_blob_realloc() functionAndrew Tridgell2005-11-091-0/+12
| | |
| | * r11567: Ldb API change patch.Simo Sorce2005-11-0825-491/+884
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch changes the way lsb_search is called and the meaning of the returned integer. The last argument of ldb_search is changed from struct ldb_message to struct ldb_result which contains a pointer to a struct ldb_message list and a count of the number of messages. The return is not the count of messages anymore but instead it is an ldb error value. I tryed to keep the patch as tiny as possible bu as you can guess I had to change a good amount of places. I also tried to double check all my changes being sure that the calling functions would still behave as before. But this patch is big enough that I fear some bug may have been introduced anyway even if it passes the test suite. So if you are currently working on any file being touched please give it a deep look and blame me for any error. Simo.
| | * r11555: - change socket_wrapper to support multiple IP'sStefan Metzmacher2005-11-071-44/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - SOCKET_WRAPPER_DEFAULT_IFACE=X specifies the default interface for 127.0.0.X - we now use multiple interfaces for smbtorture in make test 127.0.0.26-127.0.0.31 - and 127.0.0.1 only for smbd the are more work needed for better support for broacast messages... but this is enough for the winsrepl tests metze
| | * r11526: And another warning...Volker Lendecke2005-11-051-1/+1
| | |
| | * r11522: Add support for delegated credentials and machine account credentialsAndrew Bartlett2005-11-051-2/+8
| | | | | | | | | | | | | | | | | | to ldb, based on the sessionInfo we now pass around. Andrew Bartlett
| | * r11519: And an uninitialized variable...Volker Lendecke2005-11-051-1/+1
| | |
| | * r11518: Fix a warningVolker Lendecke2005-11-051-1/+1
| | |