s3-dbwrap: push lp_ctx up another layer in the stack
commit338e5a1d35574dbd96bbbcf2a74fe33adc95cb8c
authorAndrew Bartlett <abartlet@samba.org>
Mon, 16 Apr 2012 03:37:39 +0000 (16 13:37 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 18 Apr 2012 02:04:59 +0000 (18 12:04 +1000)
tree4206afcc1354276ab3d99fce23754430a3b0264d
parent235016bcf9c332f88d3aae68d0726d8bb2a64246
s3-dbwrap: push lp_ctx up another layer in the stack

This will allow db_open_tdb() to be called from common code, which may
already have a loadparm context loaded.

It also slowly moves the lp_ctx up the stack, as required to remove
the library loop between smbconf and the registry.

Andrew Bartlett
source3/lib/dbwrap/dbwrap_open.c
source3/lib/dbwrap/dbwrap_tdb.c
source3/lib/dbwrap/dbwrap_tdb.h
source3/smbd/notify_internal.c