summaryrefslogtreecommitdiffstats
path: root/source4/lib/ldb/modules
Commit message (Collapse)AuthorAgeFilesLines
* ldb: make ldb a top level library for Samba 4.0Andrew Bartlett2011-07-056-2200/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ldb:rdn_name LDB module - more RDN constraint checks (from AD)Matthias Dieter Wallnöfer2011-03-041-1/+40
| | | | Reviewed by: Tridge
* ldb: Rename two exported functions so they match abi_match.Jelmer Vernooij2010-12-183-3/+3
|
* ldb:rdn_name LDB module - add more RDN name constraintsMatthias Dieter Wallnöfer2010-11-201-5/+17
| | | | | | | And some small cleanups Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 20 00:06:35 CET 2010 on sn-devel-104
* ldb:skel.c - don't introduce trailing whitespaces by a module templateMatthias Dieter Wallnöfer2010-11-181-2/+2
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 18 12:08:30 UTC 2010 on sn-devel-104
* s4:dsdb - proof against empty RDN values where expectedMatthias Dieter Wallnöfer2010-11-111-3/+12
| | | | This should prevent crashes as pointed out on the mailing list.
* s4-ldb: removed ldb_includes.hAndrew Tridgell2010-11-016-6/+18
| | | | | | | it causes problems with the openchange build as it is not installed Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 1 21:49:47 UTC 2010 on sn-devel-104
* s4-ldb: enable ldb module version checkingAndrew Tridgell2010-11-016-1/+10
|
* s4-ldb: fixed build of paged searchesAndrew Tridgell2010-11-011-1/+1
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 1 09:41:27 UTC 2010 on sn-devel-104
* s4-ldb: convert the rest of the ldb modules to the new styleAndrew Tridgell2010-11-016-6/+36
|
* s4-ldb Add LDB_REQ_SET_LOCATION to help track handler useAndrew Bartlett2010-10-181-0/+2
| | | | | | | | | | This greatly assists in debugging what is going on with the ldb handle, as it indicates where it was created. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Oct 18 11:54:46 UTC 2010 on sn-devel-104
* s4-ldb: added an optional operator_fn in the schema syntaxAndrew Tridgell2010-10-131-3/+10
| | | | | | | | | | | | | this function takes the operator being invoked, which will allow schema functions to provide more fine grained control over comparisons. The key bug this was introduced to fix is the incorrect handling of the LDB_OP_PRESENT test for deleted linked attributes. The backends are unaware of the deleted state of these links, so they cannot do a LDB_OP_PRESENT test on their own. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:rdn_name LDB module - move the "distinguishedName" write prevent check hereMatthias Dieter Wallnöfer2010-06-071-0/+6
| | | | In my eyes it fits better here than in the TDB backend code.
* s4:rdn_name LDB module - use "ldb_msg_remove_attr" for deleting attributesMatthias Dieter Wallnöfer2010-06-061-4/+2
|
* s4:rdn_name LDB module - remove "rdn_name_find_attribute"Matthias Dieter Wallnöfer2010-06-061-15/+2
| | | | It does exactly the same as "ldb_msg_find_element".
* s4:"rdn_name" LDB module - fix the creation of the RDN attribute (try to ↵Matthias Dieter Wallnöfer2010-05-241-6/+20
| | | | | | | normalise it) And return always the correct error codes on the failed add operations (should anyway be ERR_OPERATIONS_ERROR - therefore no behaviour change).
* s4/rodc: Fix the callbacks up the stack to handle referrals on modify requestsAnatoliy Atanasov2010-05-041-0/+15
|
* LDB:asq module - change counters to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-081-4/+5
|
* LDB:sort module - change counters to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-081-4/+5
|
* LDB:rdn name module - change counters to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-081-2/+3
|
* LDB:paged searches module - change counters to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-081-2/+2
|
* LDB:paged results module - change counters to "unsigned" where appropriateMatthias Dieter Wallnöfer2010-03-081-4/+4
|
* LDB related spelling fixes.Brad Hards2010-02-221-1/+1
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* s4: use LDB_TYPESAFE_QSORT() instead of ldb_qsort()Andrew Tridgell2010-02-131-3/+1
|
* s4-ldb: check for -ve value for page sizeAndrew Tridgell2009-11-301-0/+5
| | | | | This comes from a tip from Howard Chu. Apparently some clients will send a -ve page size value.
* s4:ldb Remove debug traces duplicated by the new generic trace codeAndrew Bartlett2009-11-021-3/+0
|
* s4:ldb_sort - Add some more "const"Matthias Dieter Wallnöfer2009-10-221-2/+2
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:various LDB modules - "build_request" functions - propagate result codes backMatthias Dieter Wallnöfer2009-10-063-3/+6
| | | | | | | | | It's very useful to know the exact result code when something fails and not only a generic (by the module) created one. Sure, there are some exception cases with specific results (special message constellations, attributes, values...) which shouldn't be changed at all (examples of them are in the "ldap.py" test). Therefore I looked very carefully to not change them.
* s4:rdn_name - fix up the rename operationMatthias Dieter Wallnöfer2009-10-031-4/+4
| | | | A function call was wrong ("ldb_request" rathen than "ldb_next_request").
* Revert "s4:LDB/LDAP - Re-allow renames"Matthias Dieter Wallnöfer2009-10-031-49/+4
| | | | | | | This reverts commit 767fce6fccf484b547219abd5e6abc941eacaf92. Simo pointed out that the patch generates race conditions. We need to solve this using a new control.
* s4:LDB/LDAP - Re-allow renamesMatthias Dieter Wallnöfer2009-10-021-6/+46
| | | | | | The main problem is that the "rdn_name" module launches on a rename request also a modification one with the "special attributes" which can't be changed directly. An introduced flag helps to bypass the restriction.
* s4:ldb Don't allow RDN to be modified with an LDB modify messageAndrew Bartlett2009-10-021-1/+30
| | | | | | Found by the Microsoft testsuite at the AD interop event. Andrew Bartlett
* s4:rdn_name module - a normal error message should be enough for this failureMatthias Dieter Wallnöfer2009-10-021-7/+9
| | | | | | I don't think that we really want to have this error printed out on the server console (stdout) since this hasn't serious results as DB or data corruption and similar.
* s4: Fix typoMatthias Dieter Wallnöfer2009-09-061-2/+2
|
* s4:operational module - move and enhancementsMatthias Dieter Wallnöfer2009-08-111-314/+0
| | | | | | This moves the "operational" LDB module to the right place under "dsdb/samdb/ldb_modules" (suggested by abartlet) and enhances it for supporting dynamic generated "primaryGroupToken" for AD groups. This should fix bug #6466.
* s4:ldb Make error message in rnd_name more usefulAndrew Bartlett2009-08-071-3/+9
|
* s4:ldb Cosmetic corrections in "rdn_name" moduleMatthias Dieter Wallnöfer2009-08-051-4/+4
|
* remove all '\n' from ldb_debugSumit Bose2009-07-145-7/+7
|
* fixed server side sort controlAndrew Tridgell2009-06-101-4/+7
| | | | | when sorting a record that does not have the requested sort attribute then put those records last in the sort result
* s4:ldb:modules: Correct typos.Andrew Kroeger2009-05-263-3/+3
|
* s4:ldb Allow paged_searches to be mixed with other controlsAndrew Bartlett2009-03-201-3/+3
| | | | | | I want to mix this with the server-side sort in particular. Andrew Bartlett
* s4:ldb Fix the paged_searches moduleAndrew Bartlett2009-03-201-58/+51
| | | | | | | | | | | This simplifies the code, removes presumptions about being the only control in the reply, and allows it to function against Windows 2008. For searches which did not require a paged result, the module was simply returning a failure when the compleated search did not include a paged result control. Andrew Bartlett
* Fix headers, ldb_includes.h is a private header,Simo Sorce2009-02-233-0/+7
| | | | do not reference it from ldb.h
* Fix Coverity ID 872 -- we have alread dereferenced "ac" 2 lines aboveVolker Lendecke2009-02-121-1/+1
|
* Fix the mess with ldb includes.Simo Sorce2009-01-307-50/+117
| | | | | | | | Separate again the public from the private headers. Add a new header specific for modules. Also add service function for modules as now ldb_context and ldb_module are opaque structures for them.
* Fix accidental condition inversion.Jelmer Vernooij2008-12-241-1/+1
|
* Fix more compiler warnings in various places.Jelmer Vernooij2008-12-231-6/+2
|
* s4:ldb: make it possible to return per entry controlsAndrew Bartlett2008-12-175-5/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Make sure prototypes are always included, make some functions static andJelmer Vernooij2008-10-201-1/+1
| | | | remove some unused functions.
* Fix very old bug in ASQSimo Sorce2008-10-141-2/+2
|