diff options
-rw-r--r-- | source3/utils/pdbedit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c index 94eb87b6e0..e80143cc2b 100644 --- a/source3/utils/pdbedit.c +++ b/source3/utils/pdbedit.c @@ -652,7 +652,7 @@ static int import_users (char *filename) int main (int argc, char **argv) { int ch; - static pstring servicesf = CONFIGFILE; + static pstring servicesf; BOOL list_users = False; BOOL verbose = False; BOOL spstyle = False; @@ -669,6 +669,8 @@ int main (int argc, char **argv) char *profile_path = NULL; char *smbpasswd = NULL; + pstrcpy(servicesf, dyn_CONFIGFILE); + TimeInit(); setup_logging("pdbedit", True); |