summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r12670: Make a couple of dependencies stricterJelmer Vernooij4-1/+13
Re-introduce and use the OUTPUT_TYPE property for MODULEs to force specific modules to always be included (This used to be commit f9eede3d40098eddc3618ee48f9253cdddb94a6f)
2007-10-10r12658: Couple of fixes related to shared module builds.Jelmer Vernooij5-20/+0
(This used to be commit c297c93faf3b748de68679f5a4be50845ebe25fe)
2007-10-10r12643: don't fail make testSimo Sorce1-0/+3
thanks Brad (This used to be commit 2f213b9580cb9e84f1c44393cac521e5c1af817b)
2007-10-10r12641: - remove some unused functionsStefan Metzmacher1-67/+0
- we already call usleep() directly in some places, so do it everywhere metze (This used to be commit 9eaf6e2c4d3dae3b6711e4aae3828222f5cab65e)
2007-10-10r12638: fix the build on BSD systemsStefan Metzmacher1-3/+5
metze (This used to be commit cd3cc29fdc2c0b9ffd82253857a7968e3324ea9b)
2007-10-10r12633: expose talloc_vasprintf_append()Andrew Tridgell2-4/+2
(This used to be commit 7a0e7074f6d3d38ce92f2b617549d5dbbaf968ef)
2007-10-10r12632: Build fixes from Brad Hards <bradh@frogmouth.net>Andrew Bartlett3-1/+3
Andrew Bartlett (This used to be commit 44b107d3150135ee4381c1ba4eac23bfd9cb16b9)
2007-10-10r12624: (hopefully) fix for BSD make after srcdir/builddir changesJelmer Vernooij1-3/+3
(This used to be commit 261dc568f9b0e8641d3a28a03b440bddc5db668e)
2007-10-10r12622: Move table.c prototypes to seperate header to prevent circular ↵Jelmer Vernooij1-0/+1
dependencies with proto.h (This used to be commit 9e0ba380374db028358158b9e4457dd930b5ab13)
2007-10-10r12620: Get rid of automatically generated lists of init functions of ↵Jelmer Vernooij8-17/+12
subsystems. This allows Samba libraries to be used by other projects (and parts of Samba to be built as shared libraries). (This used to be commit 44f0aba715bfedc7e1ee3d07e9a101a91dbd84b3)
2007-10-10r12616: remove unused function, and we have iface_local() as replacementStefan Metzmacher1-15/+0
metze (This used to be commit 032d0a19eed485a9f0a11818b5296625f9489b2a)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij28-41/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12605: docs patch from Brad Hards <bradh@frogmouth.net>Simo Sorce2-82/+151
(This used to be commit 874f16e055ec30bf2ee52a33464b4810a8f8cd89)
2007-10-10r12604: fix make clean as Brad Hards <bradh@frogmouth.net> sugestedSimo Sorce1-1/+2
(This used to be commit 6198006ee466c6398f6a3da352d236034693ffb7)
2007-10-10r12601: Syncronise both copies of dlinklist.h.Andrew Bartlett1-0/+14
Should we somehow link these, or just use the version in ldb? Andrew Bartlett (This used to be commit e98d14668e3fdee01b103adb5aec733790eee96d)
2007-10-10r12600: Add a new module to sort the objectclass attribute on store. TheAndrew Bartlett4-1/+326
module is perhaps not the most efficient, but I think it is reasonable. This should restore operation of MMC against Samba4 (broken by the templating fixes). Andrew Bartlett (This used to be commit 41948c4bdbfca1160a01a92994324f9e22422afe)
2007-10-10r12599: This new LDB module (and associated changes) allows Samba4 to operateAndrew Bartlett1-0/+1
using pre-calculated passwords for all kerberos key types. (Previously we could only use these for the NT# type). The module handles all of the hash/string2key tasks for all parts of Samba, which was previously in the rpc_server/samr/samr_password.c code. We also update the msDS-KeyVersionNumber, and the password history. This new module can be called at provision time, which ensures we start with a database that is consistent in this respect. By ensuring that the krb5key attribute is the only one we need to retrieve, this also simplifies the run-time KDC logic. (Each value of the multi-valued attribute is encoded as a 'Key' in ASN.1, using the definition from Heimdal's HDB. This simplfies the KDC code.). It is hoped that this will speed up the KDC enough that it can again operate under valgrind. (This used to be commit e9022743210b59f19f370d772e532e0f08bfebd9)
2007-10-10r12592: Remove some useless dependenciesJelmer Vernooij14-129/+160
(This used to be commit ca8db1a0cd77682ac2c6dc4718f5d753a4fcc4db)
2007-10-10r12553: Steal the error string onto this context, so that the caller doesn'tAndrew Bartlett1-1/+1
have to think about exactly what the right context to hang it of is. Andrew Bartlett (This used to be commit b1c8adcfe16c72252b0312e65676edcdbe472f09)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij3-0/+3
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r12540: Provide more information in the ldb error string.Andrew Bartlett1-3/+5
Andrew Bartlett (This used to be commit 31f65e510cdd46b1962cf06b3d51f152b1cecf37)
2007-10-10r12534: Make the transaction code fill the error string on failure.Andrew Bartlett1-3/+30
Andrew Bartlett (This used to be commit 2f54d7f774434f2a8b89ae01e993c4a1d16ce861)
2007-10-10r12531: 'make quicktest' was taking 15 minutes on my system due to failing DNSAndrew Tridgell2-61/+41
lookups in load_interfaces(). The reason was my eth0 interface was down, and it was being interpreted as a DNS name. This patch changes load_interfaces() to happening automatically when interfaces are first needed instead of on the startup of every samba binary. This means that (for example) ldbadd doesn't call load_interfaces(), which means no slow DNS lookups. I also reduced the number of static globals in interface.c to 1, and changed from malloc to talloc When you want to force a reload of the interfaces list, you now call unload_interfaces(), which means the next call that needs the interfaces list will reload it (This used to be commit f79d90bd1364b970adb2981b2572e77066431f1e)
2007-10-10r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.Jelmer Vernooij5-11/+16
(This used to be commit 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
2007-10-10r12523: Convert the registry subsystem to use a seperate prototype headerJelmer Vernooij2-0/+3
(note that this doesn't use the distinction between private and public prototypes yet) (This used to be commit 60e11f575821c1762b25ad66441b6e69ad1167ef)
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)