summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r1901: add missing include of <fnmatch.h>Stefan Metzmacher1-0/+1
metze (This used to be commit 5e5681e2830bfd487d7e783249fe069b41be1f37)
2007-10-10r1898: Check the context we are going to return.Simo Sorce1-1/+5
(This used to be commit d721b122b5c443363b8f8ec2e1ef4b798378b658)
2007-10-10r1894: Convert // to /* */Volker Lendecke2-2/+2
(This used to be commit 5dc793b2b4b5c54df4aa3b0c98c248bdd671bbb1)
2007-10-10r1892: this adds talloc_get_context(), which is something I discussed at theAndrew Tridgell1-1/+13
team meeting at CIFS04. It allows you to find the talloc context given any pointer allocated with talloc. (This used to be commit 01dc4ed9b4f9390930d3c235cf2ccf9a9028392d)
2007-10-10r1838: Updates from the airplane:Jelmer Vernooij4-0/+82
- IDL fixes + adding comments - Start working on dcom infrastructure (This used to be commit ef0fc269f06c82594c34ad8673c76c5ea099250e)
2007-10-10r1820: added a strcmp_safe() that handles NULL pointers. Needed for theAndrew Tridgell1-0/+15
search torture test, as some servers return really bad entries. (This used to be commit c900ebb3ac18d77ab334d3bf5259b3bba547b09c)
2007-10-10r1766: we do not have smb_read_error in samba4Simo Sorce1-4/+0
(This used to be commit 1c3d52cea4dff57b14ee9bc197001fadb1d18abf)
2007-10-10r1759: Add some helper functions to read and write data to a socket with ↵Simo Sorce1-0/+112
timeout (again from volker in trunk) (This used to be commit 40d8262e7dbba76f88f1900744ed02f9f7fcdadd)
2007-10-10r1758: Move and enhance the add_string_to_array function as per volker job ↵Simo Sorce1-0/+18
on trunk (This used to be commit 606caddeb95382287fa41a5017ca473d0301be6b)
2007-10-10r1749: added some random stuff that captures some discussions volker and IAndrew Tridgell1-0/+22
just had on emulating % macros from smb.conf in a possible ldb based config system (This used to be commit d547479290e30d4fd86ab718528e879a28f71447)
2007-10-10r1630: - fixed the replacement timegm() function to work correctly for DST ↵Andrew Tridgell1-10/+1
changes - got rid of global_myname(), using lp_netbios_name() instead (This used to be commit e8d4b390884e487163d81f66a5a7ac1de1305d9a)
2007-10-10r1606: make the low level socket read/write routines cope properly with ↵Andrew Tridgell1-4/+11
non-blocking sockets (This used to be commit bb6cbf29ccf8f2b556bf3e7b3ff487faa0f36773)
2007-10-10r1596: Fix up copyrights.Jim McDonough1-1/+1
(This used to be commit d2553aac0a75591026b9b1fcf46065e5b03ed19c)
2007-10-10r1578: the first stage of the async client rewrite.Andrew Tridgell1-135/+209
Up to now the client code has had an async API, and operated asynchronously at the packet level, but was not truly async in that it assumed that it could always write to the socket and when a partial packet came in that it could block waiting for the rest of the packet. This change makes the SMB client library full async, by adding a separate outgoing packet queue, using non-blocking socket IO and having a input buffer that can fill asynchonously until the full packet has arrived. The main complexity was in dealing with the events structure when using the CIFS proxy backend. In that case the same events structure needs to be used in both the client library and the main smbd server, so that when the client library is waiting for a reply that the main server keeps processing packets. This required some changes in the events library code. Next step is to make the generated rpc client code use these new capabilities. (This used to be commit 96bf4da3edc4d64b0f58ef520269f3b385b8da02)
2007-10-10r1517: change event_remove_timed() to remove by structure not by handler.Andrew Tridgell1-3/+1
this fixes a crash bug in smbd with multiple RPC clients (This used to be commit 6e102f732e4404fc5f9b2851d12b00d2d083b43d)
2007-10-10r1511: fixed a free() that should be ldb_free()Andrew Tridgell1-1/+1
this might explain the tdb corruption that metze found - it caused heap corruption that affected tdb (This used to be commit 31d55dfb443612a341ff6ade77c6e4477c4fefca)
2007-10-10r1498: (merge from 3.0)Andrew Bartlett2-34/+45
Rework our random number generation system. On systems with /dev/urandom, this avoids a change to secrets.tdb for every fork(). For other systems, we now only re-seed after a fork, and on startup. No need to do it per-operation. This removes the 'need_reseed' parameter from generate_random_buffer(). This also requires that we start the secrets subsystem, as that is where the reseed value is stored, for systems without /dev/urandom. In order to aviod identical streams in forked children, the random state is re-initialised after the fork(), at the same point were we do that to the tdbs. Andrew Bartlett (This used to be commit b97d3cb2efd68310b1aea8a3ac40a64979c8cdae)
2007-10-10r1474: It is useful if talloc_strdup() behaves like strdup()Andrew Bartlett1-0/+3
- NULL in, NULL out Andrew Bartlett (This used to be commit 2cc0b3a2f1785c53268f018999a87c26539fd4a6)
2007-10-10r1452: Thanks to Volker for spotting that this code was certainly not tested...Andrew Bartlett1-0/+1
(make sure to actually return the result). Andrew Bartlett (This used to be commit 8d449bbe2b9aa29315e894be1400a9475ef99468)
2007-10-10r1435: talloc_steal is very useful - add a function to do it with a DATA_BLOBAndrew Bartlett1-0/+15
Andrew Bartlett (This used to be commit 66d6e2611084d579a20833a4c0daa5d72ef9393c)
2007-10-10r1434: Merge this function in from Samba 3.0, but use a mem_ctx rather thanAndrew Bartlett1-0/+17
an fstring. Andrew Bartlett (This used to be commit e8de8905b2f328395d71afdd73c77301c9366a66)
2007-10-10r1432: - Move the various Gtk-specific parts from the registry code into a ↵Jelmer Vernooij3-801/+0
directory gtk/ - Move common "Samba-Gtk" code into gtk/common/ ("Connect to RPC pipe"-dialog, etc) - Add a new utility 'gwcrontab' that can currently list, delete and add 'atsvc' jobs. It still displays times and dates as integers though, will fix that later. Some screenshots available at: http://samba.org/~jelmer/gwcrontab/ (This used to be commit d321cf20f1f0ff33603b013c26d370669f255868)
2007-10-10r1422: StrnCaseCmp now needs to be non-static.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 6709c7010df2912eec3dfc086343cb3cb7910459)
2007-10-10r1374: Fix signed/unsigned warnings (actually found by g++) after unsigned intTim Potter10-46/+56
changes in r1018. (This used to be commit 45b4016530fc0bfa13146f73a503866b5dbed517)
2007-10-10r1308: move smb_panic() to lib/fault.cStefan Metzmacher2-24/+105
merge the backtrace stuff from 3.0 metze (This used to be commit 4daf1bafc71cc8f13188aeb85d81aa7513d57d95)
2007-10-10r1292: Add const to the subsystem/module registration code.Andrew Bartlett1-1/+1
Add some 'multi init' code, until we get a better set of infrustructure. Andrew Bartlett (This used to be commit 982422b2d286335378531ae9523e74192340af3c)
2007-10-10r1291: rename struct smbsrv_context to smbsrv_connectionStefan Metzmacher1-1/+1
because this is the connection state per transport layer (tcp) connection I also moved the substructs directly into smbsrv_connection, because they don't need a struct name and we should allway pass the complete smbsrv_connection struct into functions metze (This used to be commit 60f823f201fcedf5473008e8453a6351e73a92c7)
2007-10-10r1279: rename struct tcon_context to smbsrv_tconStefan Metzmacher1-3/+3
metze (This used to be commit 99473fab4b1ff87a795f3c08f4c521d9beb504c0)
2007-10-10r1277: rename struct server_context to smbsrv_ontextStefan Metzmacher1-1/+1
because I need server_context fot the generic server infastructure metze (This used to be commit 0712f9f30797e65362c99423c0cf158a2f539000)
2007-10-10r1268: varient -> variantTim Potter1-1/+1
(This used to be commit de5984c95602ca67e8ac3139c3aa4330b74266e0)
2007-10-10r1228: use int64_t instead of long longStefan Metzmacher1-3/+3
(jra: please use: void, char int, uint_t, [u]int<8|16|32|64>_t types in new code) metze (This used to be commit 626bb153c45405f93a96bc5019241af506fac163)
2007-10-10r1199: Make talloc_asprintf_append() work on a NULL source string as if it wereAndrew Bartlett1-1/+5
just a alloc_asprintf(). (makes it easier to use in a loop) Andrew Bartlett (This used to be commit 5816d09c47252d2ee8732722b3cc44ea865b8fcc)
2007-10-10r1198: Merge the Samba 3.0 ntlm_auth, including the kerberos and SPENGO parts.Andrew Bartlett2-1/+18
I have moved the SPNEGO and Kerberos code into libcli/auth, and intend to refactor them into the same format as NTLMSSP. Andrew Bartlett (This used to be commit 58da78a7460d5d0a4abee7d7b84799c228e6bc0b)
2007-10-10r1196: Remove unused pstring/fstring functions.Andrew Bartlett1-45/+0
Andrew Bartlett (This used to be commit 4f06bf4ab8cc61aec730f84766306119eb976c57)
2007-10-10r1163: Add const.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 4a445fce7fcc09049b97bcde61fa5ed1a945757d)
2007-10-10r1147: Support enumerating valuesJelmer Vernooij1-4/+44
(This used to be commit 3af8419fa4053a3b2887e91b4bda5c93327efad4)
2007-10-10r1130: remove some pointless debug messagesAndrew Tridgell1-2/+0
(This used to be commit 260be3fbef5a198621274cfe0c0250f292d819ca)
2007-10-10r1123: Make all lp_ string functions return 'const char *'.Andrew Bartlett2-2/+2
Fix other 'const' warnings in the torture code. Andrew Bartlett (This used to be commit 5d39d7497f189da15d659b3f83b7314026040a15)
2007-10-10r1119: Saner keyboard shortcutsJelmer Vernooij1-4/+4
(This used to be commit 971941acc7e75da89b1bdc612fd476a7f6124dcb)
2007-10-10r1118: Read-only enumeration of keys in the LDB backend works now :-)Jelmer Vernooij2-36/+95
(This used to be commit 456f97eed05047b20acceb50708b47209c37ca20)
2007-10-10r1086: Add defer open test to check timeout on sharing violation open.Jeremy Allison1-0/+7
This has found some signing errors in the Samba3.0 implementation of the deferred open code. Still working on these... Jeremy (This used to be commit 0068cb12ef91515a95f17a1be7dfbc83fbb89eba)
2007-10-10r1055: Standalone build fixes for ldb:Tim Potter2-4/+5
- Various Makefile fixes - #include <stdint.h> ldb still needs a proper build system though. (-: (This used to be commit 52e4fe8ce9142c4002263686c8043d94b37d7a9c)
2007-10-10r1054: Build extra binaries in bin directory like ldb does.Tim Potter1-5/+5
(This used to be commit 6c15d5f31bdb2559656c96ae7f01f99d1ab9cb36)
2007-10-10r1053: Make tdb build standalone:Tim Potter4-17/+18
- #include <stdint.h> - uint_t isn't a valid type, change back to unsigned int (This used to be commit f690325565d2393bba3cb9f6e7cdf3753cbd4423)
2007-10-10r1052: Remove autogenerated file.Tim Potter1-165/+0
(This used to be commit 108efcc002c2eccfd1da30fff5c11aa67af09f9e)
2007-10-10r1048: - moved the schannel definitions into a separate schannel.idlAndrew Tridgell1-0/+34
- added server side support for schannel type 23. This allows WinXP to establish a schannel connection to Samba4 as an ADS DC - added client side support for schannel type 23, but disabled it as currently the client code has now way of getting the fully qualified domain name (which is needed) - report dcerpc faults in the server code in the log (This used to be commit 55e0b014fe14ca8811b55887208a1c3147ddb0d2)
2007-10-10r1040: make sure main() doesn't get auto-prototypedAndrew Tridgell1-1/+1
(This used to be commit 7c2279e4bc631d88e402ac82c6c17fb811785394)
2007-10-10r1038: Check whether a module actually exists before attempting to load it...Jelmer Vernooij1-1/+4
(This used to be commit c8e3fd75e594c8fc841337234e99be288180822f)
2007-10-10r1035: Support shared modules againJelmer Vernooij1-12/+12
(This used to be commit 7949dc25ab05f7d5ad6217a6304e1f50b8b5dc41)
2007-10-10r1032: Fix RPC backend segfaultJelmer Vernooij1-2/+1
(This used to be commit db902bff3c5eb54d6b1035d009948ff316cffa94)