summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| | * r12620: Get rid of automatically generated lists of init functions of ↵Jelmer Vernooij2005-12-308-17/+12
| | | | | | | | | | | | | | | | | | | | | subsystems. This allows Samba libraries to be used by other projects (and parts of Samba to be built as shared libraries).
| | * r12616: remove unused function, and we have iface_local() as replacementStefan Metzmacher2005-12-301-15/+0
| | | | | | | | | | | | metze
| | * r12608: Remove some unused #include lines.Jelmer Vernooij2005-12-3028-41/+0
| | |
| | * r12605: docs patch from Brad Hards <bradh@frogmouth.net>Simo Sorce2005-12-302-82/+151
| | |
| | * r12604: fix make clean as Brad Hards <bradh@frogmouth.net> sugestedSimo Sorce2005-12-301-1/+2
| | |
| | * r12601: Syncronise both copies of dlinklist.h.Andrew Bartlett2005-12-301-0/+14
| | | | | | | | | | | | | | | | | | Should we somehow link these, or just use the version in ldb? Andrew Bartlett
| | * r12600: Add a new module to sort the objectclass attribute on store. TheAndrew Bartlett2005-12-304-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
| | * r12599: This new LDB module (and associated changes) allows Samba4 to operateAndrew Bartlett2005-12-301-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.
| | * r12592: Remove some useless dependenciesJelmer Vernooij2005-12-2914-129/+160
| | |
| | * r12553: Steal the error string onto this context, so that the caller doesn'tAndrew Bartlett2005-12-281-1/+1
| | | | | | | | | | | | | | | | | | have to think about exactly what the right context to hang it of is. Andrew Bartlett
| | * r12542: Move some more prototypes out to seperate headersJelmer Vernooij2005-12-283-0/+3
| | |
| | * r12540: Provide more information in the ldb error string.Andrew Bartlett2005-12-281-3/+5
| | | | | | | | | | | | Andrew Bartlett
| | * r12534: Make the transaction code fill the error string on failure.Andrew Bartlett2005-12-281-3/+30
| | | | | | | | | | | | Andrew Bartlett
| | * r12531: 'make quicktest' was taking 15 minutes on my system due to failing DNSAndrew Tridgell2005-12-282-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
| | * r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.Jelmer Vernooij2005-12-275-11/+16
| | |
| | * r12523: Convert the registry subsystem to use a seperate prototype header Jelmer Vernooij2005-12-272-0/+3
| | | | | | | | | | | | | | | (note that this doesn't use the distinction between private and public prototypes yet)
| | * r12512: Use GUID structs in API functions everywhere rather then converting ↵Jelmer Vernooij2005-12-272-8/+4
| | | | | | | | | | | | | | | | | | back and forth between GUID structs and strings in several places.
| | * r12510: Change the DCE/RPC interfaces to take a pointer to a Jelmer Vernooij2005-12-272-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.
| | * r12500: Use init functions explicitly in a few more places. 'gensec' and ↵Jelmer Vernooij2005-12-265-1/+8
| | | | | | | | | | | | | | | | | | 'librpc' are the only two subsystems left to convert.
| | * r12499: Move smb_build.h out of includes.hJelmer Vernooij2005-12-267-0/+7
| | |
| | * r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using Jelmer Vernooij2005-12-2620-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.
| | * r12494: Support loading modules from .so files for most subsystems. Jelmer Vernooij2005-12-266-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).
| | * r12487: Remove obsolete functionJelmer Vernooij2005-12-261-24/+0
| | |
| | * r12483: Remove --tdr-header option (merged into --tdr-parser)Jelmer Vernooij2005-12-251-1/+1
| | |
| | * r12445: Fix header in manpage, make script executableJelmer Vernooij2005-12-231-1/+1
| | |
| | * r12433: Add comment describing this function.Andrew Bartlett2005-12-221-0/+4
| | | | | | | | | | | | Andrew Bartlett
| | * r12431: - the TIME_T_MAX needs to be a singed max valueStefan Metzmacher2005-12-221-3/+16
| | | | | | | | | | | | | | | | | | - fix the calculation of TIME_T_MAX -> nttime -> TIME_T_MAX metze
| | * r12408: as we always add the destinguishedName as autogenerated value,Stefan Metzmacher2005-12-211-8/+16
| | | | | | | | | | | | | | | | | | don't store it on disk, as this would cause confusing results metze
| | * r12385: call pidl with the perl found by configureStefan Metzmacher2005-12-201-1/+1
| | | | | | | | | | | | metze
| | * r12364: add UINT32_MAX and UINT64_MAX replacement definesStefan Metzmacher2005-12-192-0/+10
| | | | | | | | | | | | | | | | | | (hopefully fix the build on OpenBSD) metze
| | * r12361: Add a new function: ldb_binary_encode_string()Andrew Bartlett2005-12-192-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
| | * r12320: Add command-line processing hooks for simple bind DN, and password ↵Andrew Bartlett2005-12-182-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | callback. We may change this in future. Andrew Bartlett
| | * r12310: Link simple bind support in our internal LDAP libs to LDB and theAndrew Bartlett2005-12-181-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
| | * r12286: handle absolute path and url in lock_path() as in private_path()Stefan Metzmacher2005-12-161-0/+6
| | | | | | | | | | | | metze
| | * r12285: move the smbd.tmp into piddir, --with-fhs piddir is differentStefan Metzmacher2005-12-161-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
| | * r12254: Add some (hopefully correct) descriptions for libraries that are ↵Jelmer Vernooij2005-12-156-0/+6
| | | | | | | | | | | | | | | | | | installed. Install pkg-config files.
| | * r12239: as we only get error from our events system when we wait for read ↵Stefan Metzmacher2005-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | events, we need to initialy ask for read events too, otherwise we'll never get an error back from socket_connect() metze
| | * r12227: I realised that I wasn't yet seeing authenticated LDAP for the ldbAndrew Bartlett2005-12-143-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
| | * r12216: Couple of small fixes: reduce include/includes.h a bit, simplify ↵Jelmer Vernooij2005-12-135-1/+11
| | | | | | | | | | | | | | | | | | headers in build/smb_build/, remove unused pstring macros
| | * r12209: Fix some issues with XML entities.Jelmer Vernooij2005-12-1311-25/+54
| | |
| | * r12178: Make ldb_ildap work against localhost again, by setting the eventAndrew Bartlett2005-12-111-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
| | * r12158: added ldif handlers for the ntSecurityDescriptor attribute, so whenAndrew Tridgell2005-12-091-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!
| | * r12157: ldb_dump_results() is useful to call from within gdb, so you can see aAndrew Tridgell2005-12-091-0/+17
| | | | | | | | | | | | set of results
| | * r12153: work arround the fact that epoll reports EPOLLERR and EPOLLHUP, even ifStefan Metzmacher2005-12-091-10/+87
| | | | | | | | | | | | | | | | | | | | | | | | you don't ask for. with this patch the epoll mode behaves like the select mode metze
| | * r12146: as epoll notifies EPOLLERR and EPOLLHUP implicit,Stefan Metzmacher2005-12-091-2/+2
| | | | | | | | | | | | | | | | | | let our code make it explicit, to make it clear metze
| | * r12141: - move epoll related code into one big #ifdef, and use dummy #define'sStefan Metzmacher2005-12-091-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
| | * r12140: - add an additional_flags field to the fd_event struct, so that Stefan Metzmacher2005-12-093-3/+6
| | | | | | | | | | | | | | | | | | | | | the events backend can store private flags - add function to access the gtk event loop ops struct metze
| | * 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