Ignore:
Timestamp:
Nov 25, 2016, 8:04:54 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/utils/smbcquotas.c

    r988 r989  
    569569        struct cli_state *cli;
    570570        bool fix_user = False;
     571        bool ok;
    571572        SMB_NTQUOTA_STRUCT qt;
    572573        TALLOC_CTX *frame = talloc_stackframe();
     
    602603        fault_setup();
    603604
    604         lp_load_global(get_dyn_CONFIGFILE());
    605         load_interfaces();
    606 
    607605        smbcquotas_auth_info = user_auth_info_init(frame);
    608606        if (smbcquotas_auth_info == NULL) {
     
    695693        popt_burn_cmdline_password(argc, argv);
    696694
     695        ok = lp_load_global(get_dyn_CONFIGFILE());
     696        if (!ok) {
     697                DBG_ERR("ERROR: Loading config file %s - "
     698                        "run testparm to debug it\n",
     699                        get_dyn_CONFIGFILE());
     700                exit(EXIT_PARSE_ERROR);
     701        }
     702
     703        /* We must load interfaces after we load the smb.conf */
     704        load_interfaces();
     705
    697706        string_replace(path, '/', '\\');
    698707
Note: See TracChangeset for help on using the changeset viewer.