Ignore:
Timestamp:
Nov 27, 2012, 4:56:06 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated vendor to 3.6.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/winbindd/winbindd.c

    r740 r746  
    6666
    6767        if (lp_loaded()) {
    68                 const char *fname = lp_configfile();
     68                char *fname = lp_configfile();
    6969
    7070                if (file_exist(fname) && !strcsequal(fname,get_dyn_CONFIGFILE())) {
    7171                        set_dyn_CONFIGFILE(fname);
    7272                }
     73                TALLOC_FREE(fname);
    7374        }
    7475
     
    588589        state->cmd_name = "unknown request";
    589590        state->recv_fn = NULL;
     591        state->last_access = time(NULL);
    590592
    591593        /* Process command */
     
    889891
    890892static bool client_is_idle(struct winbindd_cli_state *state) {
    891   return (state->response == NULL &&
     893  return (state->request == NULL &&
     894          state->response == NULL &&
    892895          !state->pwent_state && !state->grent_state);
    893896}
     
    13031306        }
    13041307
     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
    13051317        if (is_daemon && interactive) {
    13061318                d_fprintf(stderr,"\nERROR: "
     
    13411353                exit(1);
    13421354        }
     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");
    13431360
    13441361        /* Initialise messaging system */
Note: See TracChangeset for help on using the changeset viewer.