r10913: This patch isn't as big as it looks ...
authorAndrew Tridgell <tridge@samba.org>
Wed, 12 Oct 2005 06:10:23 +0000 (06:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:39:41 +0000 (13:39 -0500)
commitf6818daecca95760c12f79fd307770cbe3346f57
treec38cbf3b0ebecb1c9641c102a33799cf86c3d39b
parent1183af06b70a06ef7a1af665567560e9158fc960
r10913: This patch isn't as big as it looks ...

most of the changes are fixes to make all the ldb code compile without
warnings on gcc4. Unfortunately That required a lot of casts :-(

I have also added the start of an 'operational' module, which will
replace the timestamp module, plus add support for some other
operational attributes

In ldb_msg_*() I added some new utility functions to make the
operational module sane, and remove the 'ldb' argument from the
ldb_msg_add_*() functions. That argument was only needed back in the
early days of ldb when we didn't use the hierarchical talloc and thus
needed a place to get the allocation function from. Now its just a
pain to pass around everywhere.

Also added a ldb_debug_set() function that calls ldb_debug() plus sets
the result using ldb_set_errstring(). That saves on some awkward
coding in a few places.
35 files changed:
source/auth/gensec/schannel_state.c
source/dsdb/samdb/ldb_modules/objectguid.c
source/dsdb/samdb/ldb_modules/samba3sam.c
source/dsdb/samdb/ldb_modules/samldb.c
source/dsdb/samdb/samdb.c
source/include/ioctl.h
source/lib/ldb/common/attrib_handlers.c
source/lib/ldb/common/ldb_debug.c
source/lib/ldb/common/ldb_dn.c
source/lib/ldb/common/ldb_ldif.c
source/lib/ldb/common/ldb_match.c
source/lib/ldb/common/ldb_msg.c
source/lib/ldb/common/ldb_parse.c
source/lib/ldb/common/ldb_utf8.c
source/lib/ldb/config.mk
source/lib/ldb/include/ldb.h
source/lib/ldb/include/ldb_private.h
source/lib/ldb/ldb_tdb/ldb_cache.c
source/lib/ldb/ldb_tdb/ldb_index.c
source/lib/ldb/ldb_tdb/ldb_pack.c
source/lib/ldb/ldb_tdb/ldb_search.c
source/lib/ldb/ldb_tdb/ldb_tdb.c
source/lib/ldb/modules/ldb_map.c
source/lib/ldb/modules/operational.c [new file with mode: 0644]
source/lib/ldb/modules/rdn_name.c
source/lib/ldb/modules/schema.c
source/lib/ldb/modules/timestamps.c
source/lib/ldb/tools/ldbtest.c
source/lib/ldb/tools/oLschema2ldif.c
source/lib/registry/reg_backend_ldb.c
source/libcli/ldap/ldap.c
source/libnet/libnet_join.c
source/nbt_server/wins/winsdb.c
source/rpc_server/lsa/dcesrv_lsa.c
source/web_server/web_server.c