Ignore:
Timestamp:
Aug 7, 2008, 11:49:04 AM (17 years ago)
Author:
Paul Smedley
Message:

Update trunk to 3.2.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/winbindd/winbindd.c

    r137 r141  
    5757/* Reload configuration */
    5858
    59 static bool reload_services_file(void)
     59static bool reload_services_file(const char *logfile)
    6060{
    6161        bool ret;
     
    6767                        set_dyn_CONFIGFILE(fname);
    6868                }
     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);
    6975        }
    7076
     
    206212        /* Flush various caches */
    207213        flush_caches();
    208         reload_services_file();
     214        reload_services_file((const char *) private_data);
    209215}
    210216
     
    802808
    803809/* check if HUP has been received and reload files */
    804 void winbind_check_sighup(void)
     810void winbind_check_sighup(const char *logfile)
    805811{
    806812        if (do_sighup) {
     
    809815
    810816                flush_caches();
    811                 reload_services_file();
     817                reload_services_file(logfile);
    812818
    813819                do_sighup = False;
     
    982988
    983989        winbind_check_sigterm(true);
    984         winbind_check_sighup();
     990        winbind_check_sighup(NULL);
    985991
    986992        if (do_sigusr2) {
     
    11351141        db_tdb2_setup_messaging(winbind_messaging_context(), true);
    11361142
    1137         if (!reload_services_file()) {
     1143        if (!reload_services_file(NULL)) {
    11381144                DEBUG(0, ("error opening config file\n"));
    11391145                exit(1);
     
    12481254                           winbind_msg_dump_domain_list);
    12491255
     1256        /* Register handler for MSG_DEBUG. */
     1257        messaging_register(winbind_messaging_context(), NULL,
     1258                           MSG_DEBUG,
     1259                           winbind_msg_debug);
     1260       
    12501261        netsamlogon_cache_init(); /* Non-critical */
    12511262       
Note: See TracChangeset for help on using the changeset viewer.