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

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source4/lib/tls/tls.c

    r414 r745  
    358358        int ret;
    359359        TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx);
    360         const char *keyfile = lp_tls_keyfile(tmp_ctx, lp_ctx);
    361         const char *certfile = lp_tls_certfile(tmp_ctx, lp_ctx);
    362         const char *cafile = lp_tls_cafile(tmp_ctx, lp_ctx);
    363         const char *crlfile = lp_tls_crlfile(tmp_ctx, lp_ctx);
    364         const char *dhpfile = lp_tls_dhpfile(tmp_ctx, lp_ctx);
     360        const char *keyfile = lpcfg_tls_keyfile(tmp_ctx, lp_ctx);
     361        const char *certfile = lpcfg_tls_certfile(tmp_ctx, lp_ctx);
     362        const char *cafile = lpcfg_tls_cafile(tmp_ctx, lp_ctx);
     363        const char *crlfile = lpcfg_tls_crlfile(tmp_ctx, lp_ctx);
     364        const char *dhpfile = lpcfg_tls_dhpfile(tmp_ctx, lp_ctx);
    365365        void tls_cert_generate(TALLOC_CTX *, const char *, const char *, const char *, const char *);
    366366        params = talloc(mem_ctx, struct tls_params);
     
    370370        }
    371371
    372         if (!lp_tls_enabled(lp_ctx) || keyfile == NULL || *keyfile == 0) {
     372        if (!lpcfg_tls_enabled(lp_ctx) || keyfile == NULL || *keyfile == 0) {
    373373                params->tls_enabled = false;
    374374                talloc_free(tmp_ctx);
     
    378378        if (!file_exist(cafile)) {
    379379                char *hostname = talloc_asprintf(mem_ctx, "%s.%s",
    380                                                  lp_netbios_name(lp_ctx), lp_realm(lp_ctx));
     380                                                 lpcfg_netbios_name(lp_ctx),
     381                                                 lpcfg_dnsdomain(lp_ctx));
    381382                if (hostname == NULL) {
    382383                        goto init_failed;
Note: See TracChangeset for help on using the changeset viewer.