mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
s3:smbstatus: use lp_load_global() - smbstatus does not need to load shares!
This commit is contained in:
parent
7c41dda1b3
commit
b793e02c6b
@ -393,7 +393,7 @@ static int traverse_sessionid(const char *key, struct sessionid *session,
|
||||
}
|
||||
}
|
||||
|
||||
if (!lp_load(get_dyn_CONFIGFILE(),False,False,False,True)) {
|
||||
if (!lp_load_global(get_dyn_CONFIGFILE())) {
|
||||
fprintf(stderr, "Can't load %s - run testparm to debug it\n",
|
||||
get_dyn_CONFIGFILE());
|
||||
ret = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user