[s3]ntlm_auth: use CONFIGSOURCE instead of CONFIGFILE
authorMichael Adam <obnox@samba.org>
Wed, 22 Oct 2008 22:41:21 +0000 (00:41 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 12 Nov 2008 12:09:08 +0000 (13:09 +0100)
Michael

source3/utils/ntlm_auth.c

index fbb105bfe6dfa20e99f039092d2bf77a888e6cb8..9b7494ba710c5db3723965d67d062ebd689e6f75 100644 (file)
@@ -2367,14 +2367,14 @@ enum {
        }
 
        while((opt = poptGetNextOpt(pc)) != -1) {
-               /* Get generic config options like --configfile */
+               /* Get generic config options like --configsource */
        }
 
        poptFreeContext(pc);
 
-       if (!lp_load(get_dyn_CONFIGFILE(), True, False, False, True)) {
+       if (!lp_load(get_dyn_CONFIGSOURCE(), True, False, False, True)) {
                d_fprintf(stderr, "ntlm_auth: error opening config file %s. Error was %s\n",
-                       get_dyn_CONFIGFILE(), strerror(errno));
+                       get_dyn_CONFIGSOURCE(), strerror(errno));
                exit(1);
        }