krb5 commit: Get rid of KRB5_KDB_SRV_TYPE_PASSWD
Greg Hudson
ghudson at MIT.EDU
Thu Dec 20 11:35:55 EST 2012
https://github.com/krb5/krb5/commit/76c27cf7e3161e0f20f8935d82ae0f2feb77b01a
commit 76c27cf7e3161e0f20f8935d82ae0f2feb77b01a
Author: Greg Hudson <ghudson at mit.edu>
Date: Sun Nov 18 23:48:59 2012 -0500
Get rid of KRB5_KDB_SRV_TYPE_PASSWD
Nothing was using KRB5_KDB_SRV_TYPE_PASSWD, so get rid of it.
(kpasswdd is part of kadmind and interacts with the KDB using
KRB5_KDB_SRV_TYPE_ADMIN.)
src/include/k5-int.h | 1 -
src/include/kdb.h | 4 +---
src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c | 2 --
3 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index ab82f64..1f644ef 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -244,7 +244,6 @@ typedef INT64_TYPE krb5_int64;
#define KRB5_CONF_LDAP_KADMIN_DN "ldap_kadmind_dn"
#define KRB5_CONF_LDAP_KDC_DN "ldap_kdc_dn"
#define KRB5_CONF_LDAP_KERBEROS_CONTAINER_DN "ldap_kerberos_container_dn"
-#define KRB5_CONF_LDAP_KPASSWDD_DN "ldap_kpasswdd_dn"
#define KRB5_CONF_LDAP_SERVERS "ldap_servers"
#define KRB5_CONF_LDAP_SERVICE_PASSWORD_FILE "ldap_service_password_file"
#define KRB5_CONF_LIBDEFAULTS "libdefaults"
diff --git a/src/include/kdb.h b/src/include/kdb.h
index 5e9213f..1bfb5d0 100644
--- a/src/include/kdb.h
+++ b/src/include/kdb.h
@@ -335,9 +335,7 @@ extern char *krb5_mkey_pwd_prompt2;
#define KRB5_KDB_SRV_TYPE_ADMIN 0x0200
#endif
-#ifndef KRB5_KDB_SRV_TYPE_PASSWD
-#define KRB5_KDB_SRV_TYPE_PASSWD 0x0300
-#endif
+/* 0x0300 was KRB5_KDB_SRV_TYPE_PASSWD but it is no longer used. */
#ifndef KRB5_KDB_SRV_TYPE_OTHER
#define KRB5_KDB_SRV_TYPE_OTHER 0x0400
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c b/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
index 02e3b18..5252ab4 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
@@ -241,8 +241,6 @@ krb5_ldap_read_server_params(krb5_context context, char *conf_section,
name = KRB5_CONF_LDAP_KDC_DN;
else if (srv_type == KRB5_KDB_SRV_TYPE_ADMIN)
name = KRB5_CONF_LDAP_KADMIN_DN;
- else if (srv_type == KRB5_KDB_SRV_TYPE_PASSWD)
- name = KRB5_CONF_LDAP_KPASSWDD_DN;
if (name) {
st = prof_get_string_def (context, conf_section, name,
More information about the cvs-krb5
mailing list