summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r12512: Use GUID structs in API functions everywhere rather then converting ↵Jelmer Vernooij2-8/+4
back and forth between GUID structs and strings in several places. (This used to be commit 3564e2f967ef72d6301b4f7e9a311cebcded4d75)
2007-10-10r12510: Change the DCE/RPC interfaces to take a pointer to aJelmer Vernooij2-16/+13
dcerpc_interface_table struct rather then a tuple of interface name, UUID and version. This removes the requirement for having a global list of DCE/RPC interfaces, except for these parts of the code that use that list explicitly (ndrdump and the scanner torture test). This should also allow us to remove the hack that put the authservice parameter in the dcerpc_binding struct as it can now be read directly from dcerpc_interface_table. I will now modify some of these functions to take a dcerpc_syntax_id structure rather then a full dcerpc_interface_table. (This used to be commit 8aae0f168e54c01d0866ad6e0da141dbd828574f)
2007-10-10r12500: Use init functions explicitly in a few more places. 'gensec' and ↵Jelmer Vernooij5-1/+8
'librpc' are the only two subsystems left to convert. (This used to be commit f6bbc72996aeee8607fc583140fd60be0e06e969)
2007-10-10r12499: Move smb_build.h out of includes.hJelmer Vernooij7-0/+7
(This used to be commit c92ace494f92084ddf178626cdf392d151043bc7)
2007-10-10r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not usingJelmer Vernooij20-68/+55
the difference between these at all, and in the future the fact that INIT_OBJ_FILES include smb_build.h will be sufficient to have recompiles at the right time. (This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
2007-10-10r12494: Support loading modules from .so files for most subsystems.Jelmer Vernooij6-24/+81
We now use a different system for initializing the modules for a subsystem. Most subsystems now have an init function that looks something like this: init_module_fn static_init[] = STATIC_AUTH_MODULES; init_module_fn *shared_init = load_samba_modules(NULL, "auth"); run_init_functions(static_init); run_init_functions(shared_init); talloc_free(shared_init); I hope to eliminate the other init functions later on (the init_programname_subsystems; defines). (This used to be commit b6d2ad4ce0a91c4be790dd258820c492ff1787ea)
2007-10-10r12487: Remove obsolete functionJelmer Vernooij1-24/+0
(This used to be commit 865a2c9ecaeae83417509c01142ba4220c0b53d7)
2007-10-10r12483: Remove --tdr-header option (merged into --tdr-parser)Jelmer Vernooij1-1/+1
(This used to be commit 45013467f57d646f3db099862665d2631272b446)
2007-10-10r12445: Fix header in manpage, make script executableJelmer Vernooij1-1/+1
(This used to be commit 7ca00cd918760dccc51e56234126ead8535a22ef)
2007-10-10r12433: Add comment describing this function.Andrew Bartlett1-0/+4
Andrew Bartlett (This used to be commit 07df0bdb44413e4eb956458e549430c94b1a38ef)
2007-10-10r12431: - the TIME_T_MAX needs to be a singed max valueStefan Metzmacher1-3/+16
- fix the calculation of TIME_T_MAX -> nttime -> TIME_T_MAX metze (This used to be commit 9caf4b9a42b02db85b3eb233c74316dcccb12537)
2007-10-10r12408: as we always add the destinguishedName as autogenerated value,Stefan Metzmacher1-8/+16
don't store it on disk, as this would cause confusing results metze (This used to be commit c3d3309ba1567a4363c7c0235842833b5e2b6771)
2007-10-10r12385: call pidl with the perl found by configureStefan Metzmacher1-1/+1
metze (This used to be commit 00b7800695938e2374a26208273996efeb9ab258)
2007-10-10r12364: add UINT32_MAX and UINT64_MAX replacement definesStefan Metzmacher2-0/+10
(hopefully fix the build on OpenBSD) metze (This used to be commit cbe06ade214bd29eab5c11fcd011a3c463bf78db)
2007-10-10r12361: Add a new function: ldb_binary_encode_string()Andrew Bartlett2-1/+14
This is for use on user-supplied arguments to printf style format strings which will become ldb filters. I have used it on LSA, SAMR and the auth/ code so far. Also add comments to cracknames code. Andrew Bartlett (This used to be commit 8308cf6e0472790c1c9d521d19322557907f4418)
2007-10-10r12320: Add command-line processing hooks for simple bind DN, and password ↵Andrew Bartlett2-7/+18
callback. We may change this in future. Andrew Bartlett (This used to be commit 5fec784d4795af0cf82d36766586ded134f62165)
2007-10-10r12310: Link simple bind support in our internal LDAP libs to LDB and theAndrew Bartlett1-5/+16
command line processing system. This is a little ugly at the moment, but works. What I cannot manage to get to work is the extraction and propogation of command line credentials into the js interface to ldb. Andrew Bartlett (This used to be commit f34ede763e7f80507d06224d114cf6b5ac7c8f7d)
2007-10-10r12286: handle absolute path and url in lock_path() as in private_path()Stefan Metzmacher1-0/+6
metze (This used to be commit 35d76f733793aecb89d82ce30a8cecb7371d3e95)
2007-10-10r12285: move the smbd.tmp into piddir, --with-fhs piddir is differentStefan Metzmacher1-1/+24
from lockdir and they are typically set to piddir=/var/run/samba and lockdir=/var/lib/samba, and we should keep the temporary stuff under /var/run/samba metze (This used to be commit 571a870618cf595930da3057b147058489c8a37b)
2007-10-10r12254: Add some (hopefully correct) descriptions for libraries that are ↵Jelmer Vernooij6-0/+6
installed. Install pkg-config files. (This used to be commit a86abe84e2cae7c6188c094a92c6b62aace02fdf)
2007-10-10r12239: as we only get error from our events system when we wait for read ↵Stefan Metzmacher1-1/+1
events, we need to initialy ask for read events too, otherwise we'll never get an error back from socket_connect() metze (This used to be commit 7d94054d0fc954e6d810573430f2c5d35b73125d)
2007-10-10r12227: I realised that I wasn't yet seeing authenticated LDAP for the ldbAndrew Bartlett3-5/+17
backend. The idea is that every time we open an LDB, we can provide a session_info and/or credentials. This would allow any ldb to be remote to LDAP. We should also support provisioning to a authenticated ldap server. (They are separate so we can say authenticate as foo for remote, but here we just want a token of SYSTEM). Andrew Bartlett (This used to be commit ae2f3a64ee0b07575624120db45299c65204210b)
2007-10-10r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headersJelmer Vernooij5-1/+11
in build/smb_build/, remove unused pstring macros (This used to be commit 432296207400636dd81d0929ec7b1b4cebbcaa62)
2007-10-10r12209: Fix some issues with XML entities.Jelmer Vernooij11-25/+54
(This used to be commit 754e51b19d2d1fd6be8e01d62b6ec892688f934c)
2007-10-10r12178: Make ldb_ildap work against localhost again, by setting the eventAndrew Bartlett1-0/+4
context into the ldb opaque. I'm sure this was done before, and must have been lost by some other change. Andrew Bartlett (This used to be commit dddedf13717e860bda0dadd8a1dfc4f891e355b5)
2007-10-10r12158: added ldif handlers for the ntSecurityDescriptor attribute, so whenAndrew Tridgell1-0/+67
displaying security descriptors in ldbsearch or ldbedit you can see the SDDL version. This also allows us to specify security descriptors in our setup/*.ldif files in SDDL format, which is much more convenient than the NDR binary format! (This used to be commit 8185731c1846412c1b3366824cdb3d05b2d50b73)
2007-10-10r12157: ldb_dump_results() is useful to call from within gdb, so you can see aAndrew Tridgell1-0/+17
set of results (This used to be commit 2be62eb2dde9250f8bfe3a3272851e152a1d6b68)
2007-10-10r12153: work arround the fact that epoll reports EPOLLERR and EPOLLHUP, even ifStefan Metzmacher1-10/+87
you don't ask for. with this patch the epoll mode behaves like the select mode metze (This used to be commit f26c28a3ae7951657cc304659f3d19c16f462dd8)
2007-10-10r12146: as epoll notifies EPOLLERR and EPOLLHUP implicit,Stefan Metzmacher1-2/+2
let our code make it explicit, to make it clear metze (This used to be commit cf733e2684ab0d43d83b1ab5c9d178d895f768a1)
2007-10-10r12141: - move epoll related code into one big #ifdef, and use dummy #define'sStefan Metzmacher1-160/+174
for the case where, epoll isn't available at compile time - only pass the private std_event_context, to the local function, to get rid of the talloc_get_type() calls - use the private pointer to std_event_context_init() to decide if we want to disable epoll at runtime metze (This used to be commit de322ea8b761df5434e60879b7eae3796ea68007)
2007-10-10r12140: - add an additional_flags field to the fd_event struct, so thatStefan Metzmacher3-3/+6
the events backend can store private flags - add function to access the gtk event loop ops struct metze (This used to be commit a5cc0758a393f36a770cdd57e317214d03934c13)
2007-10-10r12124: we don't need this comment twiceStefan Metzmacher1-5/+0
metze (This used to be commit 62c4ae8dde918d8393a3b181a5cac1be1e57e158)
2007-10-10r12123: handle fde == NULL at the correct levelStefan Metzmacher3-11/+16
metze (This used to be commit 1dd5bb60a5047b94034eb084473bb8f4a9926e7c)
2007-10-10r12116: got rid of composite_trigger_done() and composite_trigger_error(), andAndrew Tridgell2-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 (This used to be commit f9413ce792ded682e05134b66d433eeec293e6f1)
2007-10-10r12074: in accept() we need to set socket name of the child socket by lookingStefan Metzmacher1-3/+19
up what address the client has used, as the socket is maybe bound to '0.0.0.0' metze (This used to be commit 81d322f91aa7097a51c13648211a0556b0424fa4)
2007-10-10r12073: fix vlgrind error, calculate the correct size for memcpy()Stefan Metzmacher1-6/+13
and don't assume out_len is >= sizeof(*in_addr) metze (This used to be commit 61dbe9e5070085117b12b5b37cf0e7fe4342e2a3)
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)