Changeset 746 for vendor/current/source3/winbindd/winbindd.c
- Timestamp:
- Nov 27, 2012, 4:56:06 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/winbindd/winbindd.c
r740 r746 66 66 67 67 if (lp_loaded()) { 68 c onst char *fname = lp_configfile();68 char *fname = lp_configfile(); 69 69 70 70 if (file_exist(fname) && !strcsequal(fname,get_dyn_CONFIGFILE())) { 71 71 set_dyn_CONFIGFILE(fname); 72 72 } 73 TALLOC_FREE(fname); 73 74 } 74 75 … … 588 589 state->cmd_name = "unknown request"; 589 590 state->recv_fn = NULL; 591 state->last_access = time(NULL); 590 592 591 593 /* Process command */ … … 889 891 890 892 static bool client_is_idle(struct winbindd_cli_state *state) { 891 return (state->response == NULL && 893 return (state->request == NULL && 894 state->response == NULL && 892 895 !state->pwent_state && !state->grent_state); 893 896 } … … 1303 1306 } 1304 1307 1308 /* We call dump_core_setup one more time because the command line can 1309 * set the log file or the log-basename and this will influence where 1310 * cores are stored. Without this call get_dyn_LOGFILEBASE will be 1311 * the default value derived from build's prefix. For EOM this value 1312 * is often not related to the path where winbindd is actually run 1313 * in production. 1314 */ 1315 dump_core_setup("winbindd"); 1316 1305 1317 if (is_daemon && interactive) { 1306 1318 d_fprintf(stderr,"\nERROR: " … … 1341 1353 exit(1); 1342 1354 } 1355 /* After parsing the configuration file we setup the core path one more time 1356 * as the log file might have been set in the configuration and cores's 1357 * path is by default basename(lp_logfile()). 1358 */ 1359 dump_core_setup("winbindd"); 1343 1360 1344 1361 /* Initialise messaging system */
Note:
See TracChangeset
for help on using the changeset viewer.