s4: Remove double init of kerberos error table
authorSwen Schillig <swen@linux.ibm.com>
Tue, 18 Dec 2018 07:30:24 +0000 (08:30 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 19 Dec 2018 03:51:26 +0000 (04:51 +0100)
The initialization of the kerberos error table
is already performed in smb_krb5_init_context_basic(),
therefore, it can be removed from of its callees.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Dec 19 04:51:27 CET 2018 on sn-devel-144

source4/auth/kerberos/krb5_init_context.c

index 5e771a87cc5cd103b6d0e601633893da4fc300c2..7e75d436922f862d5b0e37091ddf02db5536b4e9 100644 (file)
@@ -541,8 +541,6 @@ krb5_error_code smb_krb5_init_context(void *parent_ctx,
        krb5_log_facility *logf;
 #endif
 
        krb5_log_facility *logf;
 #endif
 
-       initialize_krb5_error_table();
-
        tmp_ctx = talloc_new(parent_ctx);
        *smb_krb5_context = talloc_zero(tmp_ctx, struct smb_krb5_context);
 
        tmp_ctx = talloc_new(parent_ctx);
        *smb_krb5_context = talloc_zero(tmp_ctx, struct smb_krb5_context);