Revert "TODO s3:gse: gensec_gssapi", "requested_life_time"
authorStefan Metzmacher <metze@samba.org>
Mon, 23 Apr 2012 11:58:55 +0000 (13:58 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 16 Jan 2018 06:43:45 +0000 (07:43 +0100)
This reverts commit c276841b8271a7e60b30b319394a6dc911132d55.

source3/librpc/crypto/gse.c

index 3a8a4037077773947e6c607bc5c9c0e3cdc2adb5..bcda8de896f5cadbb6d839da6501e22b059be3fd 100644 (file)
@@ -342,7 +342,6 @@ static NTSTATUS gse_get_client_auth_token(TALLOC_CTX *mem_ctx,
        gss_buffer_desc out_data;
        DATA_BLOB blob = data_blob_null;
        NTSTATUS status;
-       OM_uint32 time_req = 0;
        OM_uint32 time_rec = 0;
        struct timeval tv;
        struct cli_credentials *cli_creds = gensec_get_credentials(gensec_security);
@@ -354,10 +353,6 @@ static NTSTATUS gse_get_client_auth_token(TALLOC_CTX *mem_ctx,
        char *server_realm = NULL;
        bool fallback = false;
 
-       time_req = gensec_setting_int(gensec_security->settings,
-                                     "gensec_gssapi", "requested_life_time",
-                                     time_req);
-
        in_data.value = token_in->data;
        in_data.length = token_in->length;
 
@@ -481,7 +476,7 @@ static NTSTATUS gse_get_client_auth_token(TALLOC_CTX *mem_ctx,
                                        gse_ctx->server_name,
                                        &gse_ctx->gss_mech,
                                        gse_ctx->gss_want_flags,
-                                       time_req, GSS_C_NO_CHANNEL_BINDINGS,
+                                       0, GSS_C_NO_CHANNEL_BINDINGS,
                                        &in_data, NULL, &out_data,
                                        &gse_ctx->gss_got_flags, &time_rec);
        goto init_sec_context_done;