summaryrefslogtreecommitdiff
path: root/lib/ldb/include
AgeCommit message (Collapse)AuthorFilesLines
2013-01-14ldb: Move doxygen comments for ldb_connect to the right placeStephen Gallagher1-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
2012-11-01ldb: fixed callers for ldb_pack_data() and ldb_unpack_data()Andrew Tridgell1-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>
2012-08-29lib/ldb: Avoid printing secret attributes in ldb trace logsAndrew Bartlett2-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
2012-08-09lib/ldb: Do not vasprintf() the tevent debug messages that will not be shownAndrew Bartlett1-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
2012-06-22ldb: lay foundation for proper utc/generalized time handlingMatthieu Patou1-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.
2012-06-22ldb: add the VERIFY_NAME controlMatthieu Patou1-0/+15
2012-04-18ldb: added ldb_msg_element_equal_ordered()Andrew Tridgell1-0/+5
this gives us a order sensitive msg element comparison. We need this to allow dbcheck to fix the order of objectClass attributes.
2012-04-10ldb: Allow access to the line number while reading ldif from a fileAndrew Bartlett1-0/+8
2011-11-17ldb: Add handy macros for reporting error inside ldb moduleAmitay Isaacs1-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
2011-10-07Revert "ldb: support raw OIDs in control string parsing"Stefan Metzmacher1-1/+0
This reverts commit ea41860d32d38448e08cefd79d30ee1150317a9e. This is not needed, because we already have the 'local_oid' magic. metze
2011-10-06ldb: support raw OIDs in control string parsingAndrew Tridgell1-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>
2011-08-19ldb - two cosmetic fixesMatthias Dieter Wallnöfer1-2/+0
@ldb.h: Removes an invalid comment line @pyldb.c: Fixes indentation
2011-08-04ldb: rule_id in ldb_parse_tree should be constAndrew Tridgell1-1/+1
this allows assignment to a constant string without allocation Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-04ldb: added a new always-fail ldap extended match OIDAndrew Tridgell1-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>
2011-08-04ldb: added ldb_parse_tree_walk()Andrew Tridgell1-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>
2011-08-04ldb: added ldb_dn_replace_components()Andrew Tridgell1-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>
2011-07-28ldb: Expose ldb_handler_fold() funcionAmitay Isaacs1-6/+11
This allows creation of derived syntax handlers from the base directory string. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-13ldb: added ldb_val_string_cmp()Andrew Tridgell1-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>
2011-07-05ldb: make ldb a top level library for Samba 4.0Andrew Bartlett6-0/+3319
Signed-off-by: Andrew Tridgell <tridge@samba.org>