s3-passdb: wrap secrets.tdb accessors used by PDB modules
commitc2e2857db41ac96dbd6eca69b09a8e4b659997eb
authorAlexander Bokovoy <ab@samba.org>
Wed, 5 Sep 2012 12:56:37 +0000 (5 15:56 +0300)
committerAlexander Bokovoy <ab@samba.org>
Fri, 7 Sep 2012 10:31:42 +0000 (7 12:31 +0200)
tree1daf1b30a06919a651326544021587d797d61e37
parent9c3e294400234ebdf9b98031bae583524fd0b0ac
s3-passdb: wrap secrets.tdb accessors used by PDB modules

PDB modules store domain sid and guid in secrets.tdb to cooperate
with other parts of smbd. If PDB module is built outside Samba
source code it has to be linked against internal libsecrets.

Wrap required secrets_* calls to avoid direct linking. libpdb
is linked against libsecrets by itself and this is enough.
source3/include/passdb.h
source3/passdb/pdb_secrets.c