summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r12057: fixed authentication in ldb client toolsAndrew Tridgell1-0/+3
(This used to be commit 020de11a61a1aa2c77c0a308186c85960c10fe32)
2007-10-10r12014: free the irpc_request structure with the irpc_call_recv functions,Stefan Metzmacher1-5/+8
to match all other _recv functions we have metze (This used to be commit bd4f85ab5f60c7430ac88062fa6a9f6cffa9596f)
2007-10-10r11988: Setup the sessionInfo just before the connect, rather than earlierAndrew Bartlett1-4/+6
when we havn't finished popt. Andrew Bartlett (This used to be commit e5c5eb97a0ab841442b2c3fb5ea67f0d21b42932)
2007-10-10r11984: LGPL on header and testsuite as wellAndrew Tridgell2-22/+30
(This used to be commit ed90975bf50644f00da681eb7cc41123abc60f81)
2007-10-10r11983: make talloc LGPL. This makes more sense given that ldb depends onAndrew Tridgell1-11/+15
talloc, and ldb is now LGPL (This used to be commit 5bdd50fa38b1be28cf7bcddc561c743437e70cae)
2007-10-10r11981: we should allocate request specific memory in ldb modules off theAndrew Tridgell1-1/+1
request strucutre. It will take a while for this to happen everywhere. (This used to be commit b1d38153b8c1d2d5be2d41005eadb0e0aa46bd72)
2007-10-10r11967: Fix more 64-bit warnings.Tim Potter2-3/+3
(This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f)
2007-10-10r11958: - fixed memory leaks in the ldb_result handling in ldb operationsAndrew Tridgell6-90/+99
- removed an unnecessary level of pointer in ldb_search structure (This used to be commit b8d4afb14a18dfd8bac79882a035e74d3ed312bd)
2007-10-10r11953: enabled the rootdse module in the ldb modules codeAndrew Tridgell1-0/+1
(This used to be commit 7d8b11174c97a3797673254c351c94436aa716b7)
2007-10-10r11870: fixed the problem volker reported with the RPX-XPLOGIN test. TheAndrew Tridgell1-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. (This used to be commit b1b2d86541a376f1ef33fae897f750005c386ebe)
2007-10-10r11869: talloc has been ported :-)Volker Lendecke1-2/+3
(This used to be commit aad52d9a5fb66fe3b595190905e7237a279f7270)
2007-10-10r11823: make the socket_connect_send() context a child of the local stateAndrew Tridgell1-0/+1
this fixes a valgrind error (This used to be commit db9c0887bd24de4d81b5afa2ff096b3ba65c9720)
2007-10-10r11822: reworked the socket_connect_multi() code so it is built on top ofAndrew Tridgell1-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. (This used to be commit 3e6888156c1b2d24fe0d46940773560d219498b3)
2007-10-10r11821: got rid of two more unnecessary variables and made the variable namesAndrew Tridgell1-60/+58
a bit more consistent (This used to be commit 4b6e9c7c978dfca54c05ed2d8995d1333ed21b02)
2007-10-10r11820: fixed some problems with the socket socket.c code.Andrew Tridgell1-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 (This used to be commit 37b73521b4c858c78013279daaa71352c704551d)
2007-10-10r11811: Revert 11808, this broke the selftest. No idea why though. Why do we ↵Volker Lendecke1-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 (This used to be commit 577a5639d3fc008480e988864bb4fb59939bc2d8)
2007-10-10r11808: Fix socket_connect_evVolker Lendecke1-2/+2
(This used to be commit 95bd3ffaf7efb117206c83f7c75c302b54e6d059)
2007-10-10r11797: Added OpenSSH fix for "%.*s" format crash. From Darren TuckerJeremy Allison1-1/+22
<dtucker@zip.com.au> Jeremy. (This used to be commit a2006c162833f8e0513c2f2744688960c04b7e67)
2007-10-10r11713: separate out the setting of the fde in the packet context from theAndrew Tridgell2-5/+14
enabling of packet serialisation (This used to be commit 6a47cd65a8b588f9ddd375c57caaba08281e7cbb)
2007-10-10r11712: avoid changing the fde flags unless really neededAndrew Tridgell1-6/+9
(This used to be commit 48e6424b0cce38f7d8f212d1e891ff8bbd5fec34)
2007-10-10r11710: added function iface_same_net()Andrew Tridgell1-0/+10
(This used to be commit 3e36b301947ccd4343bc294da59b13a8a9cfafce)
2007-10-10r11709: Comment out unused function.Tim Potter1-0/+4
(This used to be commit 8fe5eadafeda91e0540a30952a786949e0678511)
2007-10-10r11642: add some error checksStefan Metzmacher1-2/+8
metze (This used to be commit 9d6406d8daeff0a9bde72ce7749d18fa61324e8a)
2007-10-10r11636: a bit neater solution to the nt_cancel problemAndrew Tridgell2-1/+18
(This used to be commit ba7864b07eebecd4d4eb2ce515412a49964ae179)
2007-10-10r11634: - make crc table staticStefan Metzmacher2-3/+3
- const uint8_t * in all places - update header prototype metze (This used to be commit 91dfa4c28d280aff8dbf46cf1e174b5b317ba322)
2007-10-10r11631: fixed a signed/unsigned warningAndrew Tridgell2-2/+2
(This used to be commit 86d08d3ec5cfa36e048042563a56aca79c87a5bb)
2007-10-10r11630: another fix for over-reading in the packet code. This time get theAndrew Tridgell1-4/+12
sign of the comparison right :-) (This used to be commit 7e40077aa793e29b5770aae2e07e964239e8249b)
2007-10-10r11629: fixed a bug found with the socket:testnonblock code. With randomisedAndrew Tridgell1-0/+1
under-reads we could end up supplying a buffer to the client that has an incorrect length (This used to be commit 9c95015b9cccc10a5ba1facd4b48c0fff34e9588)
2007-10-10r11627: give the caller much more control over the stream to packet process,Andrew Tridgell2-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 (This used to be commit f869fd674ec4b148dc9a264e94d19ce79d35131d)
2007-10-10r11618: added a generic '32 bit length prefix' full packet helper to the ↵Andrew Tridgell2-4/+21
packet code (This used to be commit b4dbe55105cc2807a17d7e5bf8db9756cc526a3b)
2007-10-10r11616: Replace old crc32 code with one from the FreeBSD tree.Jeremy Allison1-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. (This used to be commit d42644927d46154c6366f3a7d10bea09989ed813)
2007-10-10r11611: don't use unions without a instance name, not all compilers support ↵Stefan Metzmacher1-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 (This used to be commit 5cc44994fb17211009e68f941e3db56acf0ca236)
2007-10-10r11605: added handling of the send queue to the generic packet handling codeAndrew Tridgell2-0/+65
(This used to be commit f98d499b2ef93cf2d060acafbc424754add322a8)
2007-10-10r11602: added packet_set_serialise() to allow the generic packet layer toAndrew Tridgell2-0/+29
handle optional request serialisation (this is something that is commonly needed on stream connections) (This used to be commit d860eb795693d8c292eec2a639ece4793d28dc38)
2007-10-10r11598: fixed strhaslower() and strhasupper() to not falsely recogniseAndrew Tridgell1-4/+10
caseless characters as lower/upper (This used to be commit 74fb317f2acf7a5963f37c0cd9e21a34d7da2f4f)
2007-10-10r11596: switched the libcli/raw/ code over to using the lib/stream/ genericAndrew Tridgell2-0/+5
packet parsing code. This simplifies the logic in the raw client library a fair bit (This used to be commit f8d43f1f67876360e1295d85a3c3702d1d60ed7b)
2007-10-10r11595: added a helper layer to parse streams into individual packets. This isAndrew Tridgell3-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. (This used to be commit e6c47b954a6f09c53ea419800ce873295fcd0be9)
2007-10-10r11594: ensure ldb_search() sets *res to NULL on failure (some of the updatedAndrew Tridgell1-0/+2
ldb_result code coud rely on that) (This used to be commit cd567bcb24125827c746c1c0902631b0e7c2cea5)
2007-10-10r11593: added a data_blob_realloc() functionAndrew Tridgell1-0/+12
(This used to be commit e04262d391d81f863256a9fe69a2884fbce641af)
2007-10-10r11567: Ldb API change patch.Simo Sorce25-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. (This used to be commit 22c8c97e6fb466b41859e090e959d7f1134be780)
2007-10-10r11555: - change socket_wrapper to support multiple IP'sStefan Metzmacher1-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 (This used to be commit dbd01110d1a3e0f5914ae8d156723d6d6edf160c)
2007-10-10r11526: And another warning...Volker Lendecke1-1/+1
(This used to be commit 16467008c64d84f29bec0ea45767bb1050726b34)
2007-10-10r11522: Add support for delegated credentials and machine account credentialsAndrew Bartlett1-2/+8
to ldb, based on the sessionInfo we now pass around. Andrew Bartlett (This used to be commit 84e16e4ea7240409f15efd9f64344f9e0cec8111)
2007-10-10r11519: And an uninitialized variable...Volker Lendecke1-1/+1
(This used to be commit dc0e9f8d1a2285623e99dcccf055b4860ddd1294)
2007-10-10r11518: Fix a warningVolker Lendecke1-1/+1
(This used to be commit 4a32df49e66b49b20b78bf165869b7592bb626fd)
2007-10-10r11512: fix typoAndrew Bartlett1-1/+1
(This used to be commit 4143c22e3077bd5aecb3427ff0a8857dab799400)
2007-10-10r11502: make sure we always use the 7 chars for the unix socket name.Stefan Metzmacher1-1/+1
this is to test if that works on irix 6.4 where we can only use 16 chars for the sun_path of the unix sockets. the plan is to make multiple interfaces possible with socket wrapper, and the format will change to ("%c%02X%04X", type, iface, port), which is also 7 char to the file name metze (This used to be commit e60d491864ad7ea7f981bc1918ace4ee3fb2d77a)
2007-10-10r11476: finally fixed the intermittent registry server bug! This has beenAndrew Tridgell1-1/+0
cropping up occasionally for ages. The problem was the generic reg code setting up a backend_data value, which it has no business doing (backend_data is for backends ...) (This used to be commit 9d6d03fd1d360e15883bb1b8917ccedcc0d97a5d)
2007-10-10r11472: use talloc_get_type() to try to catch an intermittent failure I'm ↵Andrew Tridgell1-26/+30
seeing in the ldb winreg backend (This used to be commit a56a3696cc6a5186f736e503704c288589e5a833)
2007-10-10r11459: display a schemaIDGUID as a guid in ldif, making it easier to workAndrew Tridgell1-0/+8
with schemas in ldbedit (This used to be commit ddbca6e83254275568bff4c2f88cdbc4bfa666a6)