summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-08-10 13:50:26 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-13 10:25:06 +1000
commit08ccc6ed5121dae8485328fc2ac8ad4f35db2729 (patch)
tree3d4bd0ef26012c5354edbce57ab663bf84e6cc63 /source3/include
parent6f21f556c1e9a6df9f7dc00aa1e270ff91ffd850 (diff)
downloadsamba-08ccc6ed5121dae8485328fc2ac8ad4f35db2729.tar.gz
samba-08ccc6ed5121dae8485328fc2ac8ad4f35db2729.tar.bz2
samba-08ccc6ed5121dae8485328fc2ac8ad4f35db2729.zip
passdb: Add a function to read secrets db from a specified path
This allows to load secrets db from a different location. The original secrets_init() now calls secrets_init_path() with lp_private_dir().
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/secrets.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/secrets.h b/source3/include/secrets.h
index 4c23335b58..3e36f2e899 100644
--- a/source3/include/secrets.h
+++ b/source3/include/secrets.h
@@ -81,6 +81,7 @@ struct afs_keyfile {
/* The following definitions come from passdb/secrets.c */
+bool secrets_init_path(const char *private_dir);
bool secrets_init(void);
struct db_context *secrets_db_ctx(void);
void secrets_shutdown(void);