1
0
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:
Michael Adam 2011-07-28 10:39:45 +02:00
parent 7c41dda1b3
commit b793e02c6b

View File

@ -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;