svn commit: samba r3005 - in branches/SAMBA_4_0/source: include
intl lib lib/tdb libcli passdb rpc_server/netlogon
rpc_server/samr smbd
tridge at samba.org
tridge at samba.org
Sat Oct 16 13:47:01 GMT 2004
Author: tridge
Date: 2004-10-16 13:47:00 +0000 (Sat, 16 Oct 2004)
New Revision: 3005
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source&rev=3005&nolog=1
Log:
added talloc wrappers around tdb_open() and ldb_connect(), so that the
caller doesn't have to worry about the constraint of only opening a
database a single time in a process. These wrappers will ensure that
only a single open is done, and will auto-close when the last instance
is gone.
When you are finished with a database pointer, use talloc_free() to
close it.
note that this code does not take account of the threads process
model, and does not yet take account of symlinks or hard links to tdb
files.
Added:
branches/SAMBA_4_0/source/include/db_wrap.h
branches/SAMBA_4_0/source/lib/db_wrap.c
Modified:
branches/SAMBA_4_0/source/include/includes.h
branches/SAMBA_4_0/source/intl/lang_tdb.c
branches/SAMBA_4_0/source/lib/basic.mk
branches/SAMBA_4_0/source/lib/gencache.c
branches/SAMBA_4_0/source/lib/messages.c
branches/SAMBA_4_0/source/lib/tdb/config.mk
branches/SAMBA_4_0/source/lib/tdb_helper.c
branches/SAMBA_4_0/source/libcli/unexpected.c
branches/SAMBA_4_0/source/passdb/secrets.c
branches/SAMBA_4_0/source/rpc_server/netlogon/schannel_state.c
branches/SAMBA_4_0/source/rpc_server/samr/samdb.c
branches/SAMBA_4_0/source/smbd/rewrite.c
Changeset:
Sorry, the patch is too large (1119 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source&rev=3005&nolog=1
More information about the samba-cvs
mailing list