1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

r22622: make it possible to pass the config file via 'SMB_CONF_PATH' envvar

very usefull for make testenv!

this makes it also possible to pass a config file to smbscript

metze
(This used to be commit f65fcd764b)
This commit is contained in:
Stefan Metzmacher
2007-05-01 03:25:17 +00:00
committed by Gerald (Jerry) Carter
parent a5df01c992
commit f7e0935727
2 changed files with 8 additions and 0 deletions

View File

@ -52,6 +52,10 @@ int main(int argc, const char **argv)
fault_setup(argv[0]);
if (getenv("SMB_CONF_PATH")) {
lp_set_cmdline("config file", getenv("SMB_CONF_PATH"));
}
ldb_global_init();
gensec_init();