From 08ccc6ed5121dae8485328fc2ac8ad4f35db2729 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Wed, 10 Aug 2011 13:50:26 +1000 Subject: 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(). --- source3/include/secrets.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/secrets.h') 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); -- cgit