Changeset 141 for trunk/samba/source/winbindd/winbindd.c
- Timestamp:
- Aug 7, 2008, 11:49:04 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/source/winbindd/winbindd.c
r137 r141 57 57 /* Reload configuration */ 58 58 59 static bool reload_services_file( void)59 static bool reload_services_file(const char *logfile) 60 60 { 61 61 bool ret; … … 67 67 set_dyn_CONFIGFILE(fname); 68 68 } 69 } 70 71 /* if this is a child, restore the logfile to the special 72 name - <domain>, idmap, etc. */ 73 if (logfile && *logfile) { 74 lp_set_logfile(logfile); 69 75 } 70 76 … … 206 212 /* Flush various caches */ 207 213 flush_caches(); 208 reload_services_file( );214 reload_services_file((const char *) private_data); 209 215 } 210 216 … … 802 808 803 809 /* check if HUP has been received and reload files */ 804 void winbind_check_sighup( void)810 void winbind_check_sighup(const char *logfile) 805 811 { 806 812 if (do_sighup) { … … 809 815 810 816 flush_caches(); 811 reload_services_file( );817 reload_services_file(logfile); 812 818 813 819 do_sighup = False; … … 982 988 983 989 winbind_check_sigterm(true); 984 winbind_check_sighup( );990 winbind_check_sighup(NULL); 985 991 986 992 if (do_sigusr2) { … … 1135 1141 db_tdb2_setup_messaging(winbind_messaging_context(), true); 1136 1142 1137 if (!reload_services_file( )) {1143 if (!reload_services_file(NULL)) { 1138 1144 DEBUG(0, ("error opening config file\n")); 1139 1145 exit(1); … … 1248 1254 winbind_msg_dump_domain_list); 1249 1255 1256 /* Register handler for MSG_DEBUG. */ 1257 messaging_register(winbind_messaging_context(), NULL, 1258 MSG_DEBUG, 1259 winbind_msg_debug); 1260 1250 1261 netsamlogon_cache_init(); /* Non-critical */ 1251 1262
Note:
See TracChangeset
for help on using the changeset viewer.