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:
committed by
Gerald (Jerry) Carter
parent
a5df01c992
commit
f7e0935727
@ -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();
|
||||
|
Reference in New Issue
Block a user