1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

r8937: allow to use non-default smb.conf in rpcclient

Guenther
This commit is contained in:
Günther Deschner 2005-08-02 19:46:11 +00:00 committed by Gerald (Jerry) Carter
parent e928a20c2b
commit c0f3f12a62

@ -667,11 +667,6 @@ out_free:
if (!interactive)
reopen_logs();
/* Load smb.conf file */
if (!lp_load(dyn_CONFIGFILE,True,False,False))
fprintf(stderr, "Can't load %s\n", dyn_CONFIGFILE);
/* Parse options */
pc = poptGetContext("rpcclient", argc, (const char **) argv,
@ -711,6 +706,11 @@ out_free:
if (!init_names())
return 1;
/* Load smb.conf file */
if (!lp_load(dyn_CONFIGFILE,True,False,False))
fprintf(stderr, "Can't load %s\n", dyn_CONFIGFILE);
/*
* Get password
* from stdin if necessary