svn commit: samba r10562 - in branches/SAMBA_4_0/source/kdc: .

abartlet at samba.org abartlet at samba.org
Wed Sep 28 02:22:32 GMT 2005


Author: abartlet
Date: 2005-09-28 02:22:31 +0000 (Wed, 28 Sep 2005)
New Revision: 10562

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10562

Log:
Ensure we initalise the error table with hdb errors.  This ensures we
get good text error strings.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/kdc/kdc.c
   branches/SAMBA_4_0/source/kdc/kdc.h


Changeset:
Modified: branches/SAMBA_4_0/source/kdc/kdc.c
===================================================================
--- branches/SAMBA_4_0/source/kdc/kdc.c	2005-09-28 01:09:10 UTC (rev 10561)
+++ branches/SAMBA_4_0/source/kdc/kdc.c	2005-09-28 02:22:31 UTC (rev 10562)
@@ -271,6 +271,8 @@
 		return; 
 	}
 
+	krb5_add_et_list(kdc->smb_krb5_context->krb5_context, initialize_hdb_error_table_r);
+
 	kdc->config->logf = kdc->smb_krb5_context->logf;
 	kdc->config->db = talloc(kdc->config, struct HDB *);
 	if (!kdc->config->db) {

Modified: branches/SAMBA_4_0/source/kdc/kdc.h
===================================================================
--- branches/SAMBA_4_0/source/kdc/kdc.h	2005-09-28 01:09:10 UTC (rev 10561)
+++ branches/SAMBA_4_0/source/kdc/kdc.h	2005-09-28 02:22:31 UTC (rev 10562)
@@ -24,6 +24,7 @@
 #include "system/kerberos.h"
 #include "auth/kerberos/kerberos.h"
 #include "heimdal/kdc/kdc.h"
+#include "heimdal/lib/hdb/hdb.h"
 #include "kdc/pac-glue.h"
 
 krb5_error_code hdb_ldb_create(TALLOC_CTX *mem_ctx, 



More information about the samba-cvs mailing list