1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-28 03:33:13 +03:00
Commit Graph

3 Commits

Author SHA1 Message Date
Andrew Tridgell
04e1171996 r3005: 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.
2007-10-10 12:59:56 -05:00
Andrew Tridgell
cc3d420c33 r1989: fixed a couple of bugs in code that assumes sizeof(time_t) == sizeof(int) 2007-10-10 12:58:15 -05:00
Andrew Tridgell
b0510b5428 first public release of samba4 code -