Changeset 736 for branches/samba-3.5.x/source3/winbindd/winbindd.c
- Timestamp:
- Nov 12, 2012, 5:38:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.5.x/source3/winbindd/winbindd.c
r732 r736 68 68 69 69 if (lp_loaded()) { 70 c onst char *fname = lp_configfile();70 char *fname = lp_configfile(); 71 71 72 72 if (file_exist(fname) && !strcsequal(fname,get_dyn_CONFIGFILE())) { 73 73 set_dyn_CONFIGFILE(fname); 74 74 } 75 TALLOC_FREE(fname); 75 76 } 76 77 … … 1073 1074 } 1074 1075 1076 /* We call dump_core_setup one more time because the command line can 1077 * set the log file or the log-basename and this will influence where 1078 * cores are stored. Without this call get_dyn_LOGFILEBASE will be 1079 * the default value derived from build's prefix. For EOM this value 1080 * is often not related to the path where winbindd is actually run 1081 * in production. 1082 */ 1083 dump_core_setup("winbindd"); 1084 1075 1085 if (is_daemon && interactive) { 1076 1086 d_fprintf(stderr,"\nERROR: " … … 1107 1117 exit(1); 1108 1118 } 1119 /* After parsing the configuration file we setup the core path one more time 1120 * as the log file might have been set in the configuration and cores's 1121 * path is by default basename(lp_logfile()). 1122 */ 1123 dump_core_setup("winbindd"); 1109 1124 1110 1125 /* Initialise messaging system */
Note:
See TracChangeset
for help on using the changeset viewer.