From f331936db2990589047edd4aee61ac298262123d Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 1 Jun 2011 11:19:21 +1000 Subject: s3-param Make lp_smb_passwd_file() and lp_private_dir() const This disables % substitutions in the 'smb passwd file' and 'private dir' parameters. These are used all over the codebase, and need to be internally consistent for the life of the process, as they determine the location of secrets.tdb, as well as the passdb databases. Andrew Bartlett --- source3/include/proto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/include/proto.h') diff --git a/source3/include/proto.h b/source3/include/proto.h index 0d70c4fc78..93ba2beaa7 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1181,8 +1181,8 @@ const char *lp_unix_charset(void); const char *lp_display_charset(void); char *lp_logfile(void); char *lp_configfile(void); -char *lp_smb_passwd_file(void); -char *lp_private_dir(void); +const char *lp_smb_passwd_file(void); +const char *lp_private_dir(void); char *lp_serverstring(void); int lp_printcap_cache_time(void); char *lp_addport_cmd(void); -- cgit