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 5e771a8..7e75d43 100644 (file)
@@ -541,8 +541,6 @@ krb5_error_code smb_krb5_init_context(void *parent_ctx,
        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);