summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| | * r10810: This adds the hooks required to communicate the current user from theAndrew Bartlett2005-10-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | authenticated session down into LDB. This associates a session info structure with the open LDB, allowing a future ldb_ntacl module to allow/deny operations on that basis. Along the way, I cleaned up a few things, and added new helper functions to assist. In particular the LSA pipe uses simpler queries for some of the setup. In ldap_server, I have removed the 'ldasrv:hacked' module, which hasn't been worked on (other than making it continue to compile) since January, and I think the features of this module are being put into ldb anyway. I have also changed the partitions in ldap_server to be initialised after the connection, with the private pointer used to associate the ldb with the incoming session. Andrew Bartlett
| | * r10790: allow updating of existing ldb opaque values (thanks to abartlet forAndrew Tridgell2005-10-071-1/+11
| | | | | | | | | | | | spotting this)
| | * r10759: make modules easier to write by allowing modules to only implement theAndrew Tridgell2005-10-066-174/+76
| | | | | | | | | | | | | | | | | | functions they care about, instead of all functions. This also makes it more likely that future changes to ldb will not break existing modules
| | * r10757: remove the proxy module (it is not complete yet)Andrew Tridgell2005-10-061-1/+0
| | |
| | * r10756: another fix for the construction of expressions from subtrees forAndrew Tridgell2005-10-061-4/+6
| | | | | | | | | | | | SUBSTRING searches. This time fix multi-part substring searches.
| | * r10755: fixed the construction of expressions from subtrees for SUBSTRING ↵Andrew Tridgell2005-10-061-1/+8
| | | | | | | | | | | | searches
| | * r10753: don't require every ldb module to implement both a search_bytree() andAndrew Tridgell2005-10-0616-219/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a search() function, instead each module now only implements the bytree method, and the expression based search is handled generically by the modules code. This makes for more consistency and less code duplication. fixed the tdb backend to handle BASE searches much more efficiently. They now always only lookup one record, regardless of the search expression
| | * r10726: fix to talloc_parent() from Michael O'BrienAndrew Tridgell2005-10-051-1/+1
| | |
| | * r10708: a bit more error checking in the idap ldb backendAndrew Tridgell2005-10-041-0/+5
| | |
| | * r10695: strupper() of NULL should be NULL, not panic.Andrew Bartlett2005-10-031-0/+4
| | | | | | | | | | | | Andrew Bartlett
| | * r10690: Fix a bug that metze pointed out: Leaving the "rejecting" destructor ↵Volker Lendecke2005-10-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | around prevents the memory from being freed. Thanks, Volker
| | * r10684: Add a nasty hack for the failure case of wbinfo -t. Tridge has a ↵Volker Lendecke2005-10-031-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | proper fix for it pending. Also fix a bug with timed events: Don't call the same event recursively in the handler's inner semi-async event loop. Volker
| | * r10678: Add debug helperJelmer Vernooij2005-10-021-0/+22
| | | | | | | | | | | | Fix push for non-fixed length strings
| | * r10667: cope with a NULL tree for base searches in ldb_search()Andrew Tridgell2005-09-301-11/+11
| | |
| | * r10666: - reverse the ildap ldb backend so tree based searches go throughAndrew Tridgell2005-09-301-22/+28
| | | | | | | | | | | | | | | | | | | | | | | | directly, and expression based searches are converted to trees. This makes for less conversions. - allow the caller to supply a set of credentials via the ldb opaque name 'credentials'. I will be using this in my ldb proxy module.
| | * r10665: fixed some crash errors and an error encoding AND and OR operations ↵Andrew Tridgell2005-09-301-3/+16
| | | | | | | | | | | | in the expression parsing code
| | * r10664: Include limits.h in replace.h for HOST_NAME_MAXJelmer Vernooij2005-09-301-0/+21
| | |
| | * r10641: fixed the error handling on search errors in the ildap backendAndrew Tridgell2005-09-301-0/+1
| | |
| | * r10605: Forgot one file...Jelmer Vernooij2005-09-291-0/+416
| | |
| | * r10604: Put in the new registry "patchfile" code (similar to ldif Jelmer Vernooij2005-09-297-874/+72
| | | | | | | | | | | | for LDB); not finished yet.
| | * r10603: neaten up the ldb module initialisation codeAndrew Tridgell2005-09-292-63/+33
| | |
| | * r10596: Move the credentials code into it's own subsystem, and push it under ↵Andrew Bartlett2005-09-293-1049/+2
| | | | | | | | | | | | | | | | | | auth/ Andrew Bartlett
| | * r10593: Add printf attributeAndrew Bartlett2005-09-281-1/+1
| | | | | | | | | | | | Andrew Bartlett
| | * r10592: Add "adfgets()" function, which allocates and reads a line from a fd. Jelmer Vernooij2005-09-281-1/+49
| | | | | | | | | | | | | | | Also add torture tests for this function and file_{load,save}. I've hardcoded a file name here.. should I handle that neater somehow?
| | * r10588: Remove more unused files, macrosJelmer Vernooij2005-09-281-4/+13
| | |
| | * r10586: Add MergedObject() builder. Default to Library() rather Jelmer Vernooij2005-09-2818-50/+50
| | | | | | | | | | | | then StaticLibrary()
| | * r10579: str_list_make() can return NULLJelmer Vernooij2005-09-281-0/+3
| | |
| | * r10537: - we now use a much nicer way to handle talloc_free(timed_event)Stefan Metzmacher2005-09-272-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the events code replaces a destructor to one that returns allways -1 while it's calling the event handler - we don't need the composite and winsrepl specific fixes any more - this also fixes the problem with smbcli, dcerpc, cldap, ldap and nbt request timeouts metze
| | * r10535: fixed the pidfile code (it didn't survive the recent pstring changes)Andrew Tridgell2005-09-271-1/+3
| | |
| | * r10533: Eliminate another use of next_token()Jelmer Vernooij2005-09-271-8/+8
| | |
| | * r10531: (hopefully) improve detection of socket-related functions in ↵Jelmer Vernooij2005-09-272-22/+4
| | | | | | | | | | | | external libraries
| | * r10528: Add credentials.h back into includes.h as some compilers don't Jelmer Vernooij2005-09-273-3/+0
| | | | | | | | | | | | seem to be able to handle incomplete enum types.
| | * r10525: change from AC_CHECK_TYPES() to AC_CHECK_TYPE() for intptr_t, so theAndrew Tridgell2005-09-272-5/+1
| | | | | | | | | | | | type is always available, which means we need less #ifdefs
| | * r10524: SAFE_FREE() in tdb does not need the discard_const_p() Andrew Tridgell2005-09-271-10/+1
| | | | | | | | | | | | the discard_const_p() was causing problems on openbsd where intptr_t is not defined
| | * r10523: fixed timegm() to not depend on get_time_zone(), so it works in ↵Andrew Tridgell2005-09-271-12/+2
| | | | | | | | | | | | | | | | | | lib/replace/ the old timegm() replacement was also broken (it returned the wrong value)
| | * r10522: finally got the locking working on solaris10. This adds a read lock onAndrew Tridgell2005-09-271-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | the transaction lock in tdb_traverse_read(). This prevents a pattern of locks which triggers the deadlock detection code in solaris10. I suspect solaris10 is trying to prevent lock starvation by granting locks in the order they were requested, which makes it much easier to produce deadlocks.
| | * r10521: Also check sys/socket.h for definition of socklen_t (needed for AIX)Jelmer Vernooij2005-09-271-1/+10
| | |
| | * r10517: Get rid of use of next_token() in lib/samba3/Jelmer Vernooij2005-09-262-39/+19
| | |
| | * r10516: Add seperator argument to str_list_{make,join}_shell()Jelmer Vernooij2005-09-261-6/+9
| | |
| | * r10514: Add str_list_make_shell() and str_list_join_shell()Jelmer Vernooij2005-09-261-0/+82
| | |
| | * r10513: Reduce some use of pstring. The main reason some parts of the code ↵Jelmer Vernooij2005-09-262-6/+8
| | | | | | | | | | | | | | | | | | still use pstring is next_token() now.
| | * r10510: Decrease the amount of data included by includes.h a bitJelmer Vernooij2005-09-268-26/+19
| | |
| | * r10509: Some more sconscript fixes. Now getting to link stage for smbclientJelmer Vernooij2005-09-267-75/+79
| | |
| | * r10500: More progress to getting ldb tools building. Create a list of ldb ↵Tim Potter2005-09-261-28/+48
| | | | | | | | | | | | | | | | | | | | | modules to link in. There's still a whole lot of random other junk (dcerpc, gensec, ndr stuff, lp_foo - what a mess).
| | * r10496: - added configure test for sys/time.hAndrew Tridgell2005-09-262-3/+3
| | | | | | | | | | | | - print length of failed locks
| | * r10495: older redhat boxes need sys/time.h for select()Andrew Tridgell2005-09-261-0/+3
| | |
| | * r10494: - don't generate a tdb log message for any type of failed lock probeAndrew Tridgell2005-09-261-5/+2
| | | | | | | | | | | | - if the lock upgrade loop ever fails then log a warning
| | * r10493: we need sys/select.h to enable select() in the solaris workaroundAndrew Tridgell2005-09-262-1/+4
| | |
| | * r10492: work around a bug in solaris which cases lock upgrades to fail withAndrew Tridgell2005-09-263-1/+28
| | | | | | | | | | | | | | | EDEADLK even when progress can be made. This is not a good solution, but I can't find anything better.
| | * r10490: - allow deferred irpc replies to set the statusAndrew Tridgell2005-09-252-4/+7
| | | | | | | | | | | | - add an example of deferred reply for echodata in LOCAL-IRPC