summaryrefslogtreecommitdiffstats
path: root/lib/ldb/include
Commit message (Collapse)AuthorAgeFilesLines
* dlinklist: Fix a typoVolker Lendecke2014-04-021-1/+1
| | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Apr 2 17:11:37 CEST 2014 on sn-devel-104
* ldb: Move doxygen comments for ldb_connect to the right placeStephen Gallagher2013-01-141-13/+12
| | | | | | | Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Jan 14 16:21:02 CET 2013 on sn-devel-104
* ldb: fixed callers for ldb_pack_data() and ldb_unpack_data()Andrew Tridgell2012-11-011-0/+11
| | | | | | | | | | | with ltdb_pack_data() and ltdb_unpack_data() now moved into common, we need to increase the minor version and fixup callers of the API Note that this relies on struct ldb_val being the same shape as TDB_DATA, in much the same way as we rely on ldb_val and DATA_BLOB being the same shape. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib/ldb: Avoid printing secret attributes in ldb trace logsAndrew Bartlett2012-08-292-0/+9
| | | | | | | | These are printed when Samba has debug level 10, which is often used for debugging. Instead, print a note to say that this attribute has been skipped. Andrew Bartlett
* lib/ldb: Do not vasprintf() the tevent debug messages that will not be shownAndrew Bartlett2012-08-091-0/+1
| | | | | | | | | | This malloc() and free() actually shows up quite high on a call profile of provision of the AD DC. This allows the debug handler to decide if the argument list should be printed. Andrew Bartlett
* ldb: lay foundation for proper utc/generalized time handlingMatthieu Patou2012-06-221-0/+1
| | | | | | | We use to handle UTCtime and generalized time the same way. The thing is that it's not the case, they are different in the way they are set (most of the time) with different format and also stored and return in different format too.
* ldb: add the VERIFY_NAME controlMatthieu Patou2012-06-221-0/+15
|
* ldb: added ldb_msg_element_equal_ordered()Andrew Tridgell2012-04-181-0/+5
| | | | | this gives us a order sensitive msg element comparison. We need this to allow dbcheck to fix the order of objectClass attributes.
* ldb: Allow access to the line number while reading ldif from a fileAndrew Bartlett2012-04-101-0/+8
|
* ldb: Add handy macros for reporting error inside ldb moduleAmitay Isaacs2011-11-171-0/+2
| | | | | | | Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Thu Nov 17 05:24:46 CET 2011 on sn-devel-104
* Revert "ldb: support raw OIDs in control string parsing"Stefan Metzmacher2011-10-071-1/+0
| | | | | | | | This reverts commit ea41860d32d38448e08cefd79d30ee1150317a9e. This is not needed, because we already have the 'local_oid' magic. metze
* ldb: support raw OIDs in control string parsingAndrew Tridgell2011-10-061-0/+1
| | | | | | | this makes it possible to use a raw OID string on the command line or in python scripts Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* ldb - two cosmetic fixesMatthias Dieter Wallnöfer2011-08-191-2/+0
| | | | | @ldb.h: Removes an invalid comment line @pyldb.c: Fixes indentation
* ldb: rule_id in ldb_parse_tree should be constAndrew Tridgell2011-08-041-1/+1
| | | | | | this allows assignment to a constant string without allocation Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* ldb: added a new always-fail ldap extended match OIDAndrew Tridgell2011-08-041-0/+2
| | | | | | | this is used when rewriting filter rules to replace a filter rule with one that is guaranteed not to match Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* ldb: added ldb_parse_tree_walk()Andrew Tridgell2011-08-041-0/+7
| | | | | | | this walks a ldb parse tree, calling a callback on each node Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* ldb: added ldb_dn_replace_components()Andrew Tridgell2011-08-041-0/+7
| | | | | | | | | | this allows you to replace the string part of a DN with the string part from another DN. This is useful when you want to fix a DN that has the right GUID but the wrong string part, because the target object has moved. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* ldb: Expose ldb_handler_fold() funcionAmitay Isaacs2011-07-281-6/+11
| | | | | | This allows creation of derived syntax handlers from the base directory string. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ldb: added ldb_val_string_cmp()Andrew Tridgell2011-07-131-0/+5
| | | | | | this should help fix some places where we run past the end of a string Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* ldb: make ldb a top level library for Samba 4.0Andrew Bartlett2011-07-056-0/+3319
Signed-off-by: Andrew Tridgell <tridge@samba.org>