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/param/loadparm.c

    r740 r746  
    380380        bool bAsyncSMBEchoHandler;
    381381        bool bMulticastDnsRegister;
     382        bool bAllowInsecureWidelinks;
    382383        int ismb2_max_read;
    383384        int ismb2_max_write;
     
    43574358        },
    43584359        {
     4360                .label          = "allow insecure wide links",
     4361                .type           = P_BOOL,
     4362                .p_class        = P_GLOBAL,
     4363                .ptr            = &Globals.bAllowInsecureWidelinks,
     4364                .special        = NULL,
     4365                .enum_list      = NULL,
     4366                .flags          = FLAG_ADVANCED,
     4367        },
     4368        {
    43594369                .label          = "wide links",
    43604370                .type           = P_BOOL,
     
    55665576
    55675577FN_GLOBAL_STRING(lp_smb_ports, &Globals.smb_ports)
    5568 FN_GLOBAL_STRING(lp_dos_charset, &Globals.dos_charset)
    5569 FN_GLOBAL_STRING(lp_unix_charset, &Globals.unix_charset)
    5570 FN_GLOBAL_STRING(lp_display_charset, &Globals.display_charset)
     5578FN_GLOBAL_CONST_STRING(lp_dos_charset, &Globals.dos_charset)
     5579FN_GLOBAL_CONST_STRING(lp_unix_charset, &Globals.unix_charset)
     5580FN_GLOBAL_CONST_STRING(lp_display_charset, &Globals.display_charset)
    55715581FN_GLOBAL_STRING(lp_logfile, &Globals.szLogFile)
    55725582FN_GLOBAL_STRING(lp_configfile, &Globals.szConfigFile)
     
    59976007FN_GLOBAL_BOOL(lp_async_smb_echo_handler, &Globals.bAsyncSMBEchoHandler)
    59986008FN_GLOBAL_BOOL(lp_multicast_dns_register, &Globals.bMulticastDnsRegister)
     6009FN_GLOBAL_BOOL(lp_allow_insecure_widelinks, &Globals.bAllowInsecureWidelinks)
    59996010FN_LOCAL_BOOL(lp_blocking_locks, bBlockingLocks)
    60006011FN_LOCAL_BOOL(lp_inherit_perms, bInheritPerms)
     
    96379648        }
    96389649
    9639         lp_add_auto_services(lp_auto_services());
     9650        {
     9651                char *serv = lp_auto_services();
     9652                lp_add_auto_services(serv);
     9653                TALLOC_FREE(serv);
     9654        }
    96409655
    96419656        if (add_ipc) {
     
    1032310338void widelinks_warning(int snum)
    1032410339{
     10340        if (lp_allow_insecure_widelinks()) {
     10341                return;
     10342        }
     10343
    1032510344        if (lp_unix_extensions() && lp_widelinks_internal(snum)) {
    1032610345                DEBUG(0,("Share '%s' has wide links and unix extensions enabled. "
     
    1033510354        /* wide links is always incompatible with unix extensions */
    1033610355        if (lp_unix_extensions()) {
    10337                 return false;
     10356                /*
     10357                 * Unless we have "allow insecure widelinks"
     10358                 * turned on.
     10359                 */
     10360                if (!lp_allow_insecure_widelinks()) {
     10361                        return false;
     10362                }
    1033810363        }
    1033910364
Note: See TracChangeset for help on using the changeset viewer.