freeipa/daemons/ipa-kdb
Simo Sorce d5b6c83601 Detect default encsalts kadmin password change
When kadmin tries to change a password it will get the allowed keysalts
from the password policy. Failure to provide them will result in kadmin
using the defaults specified in the kdc.conf file or hardcoded defaults
(the default salt is then of type NORMAL).

This patch provides the supported values that have been read out of the
appropriate LDAP attribute when we read the server configuration.

Then at actual password change, check if kadmin is handing us back the exact
list of supported encsalts we sent it, and in that case replace it with the
real default encsalts.

Fixes https://fedorahosted.org/freeipa/ticket/4914

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Martin Babinsky <mbabinsk@redhat.com>
2015-05-27 09:45:56 -04:00
..
tests ipa-kdb: fix unit tests 2014-09-26 11:28:26 +02:00
ipa_kdb_audit_as.c ipa-kdb: unexpected error code in 'ipa_kdb_audit_as_req' triggers a message 2015-01-30 11:02:16 +01:00
ipa_kdb_common.c Use libunistring ulc_casecmp() on unicode strings 2013-07-18 18:08:53 +02:00
ipa_kdb_delegation.c ipa-kdb: fix delegation acl check 2012-02-28 13:03:22 -05:00
ipa_kdb_mkey.c ipa-kdb: Get/Store Master Key directly from LDAP 2011-08-26 08:24:49 -04:00
ipa_kdb_mspac.c ipa-kdb: reject principals from disabled domains as a KDC policy 2015-02-16 16:30:57 +01:00
ipa_kdb_passwords.c Detect default encsalts kadmin password change 2015-05-27 09:45:56 -04:00
ipa_kdb_principals.c Detect default encsalts kadmin password change 2015-05-27 09:45:56 -04:00
ipa_kdb_pwdpolicy.c Detect default encsalts kadmin password change 2015-05-27 09:45:56 -04:00
ipa_kdb.c Detect default encsalts kadmin password change 2015-05-27 09:45:56 -04:00
ipa_kdb.exports ipa-kdb: add exports file 2011-08-26 08:24:49 -04:00
ipa_kdb.h Detect default encsalts kadmin password change 2015-05-27 09:45:56 -04:00
Makefile.am ipa-kdb: fix unit tests 2014-09-26 11:28:26 +02:00
README ipa-kdb: Initial plugin skeleton 2011-08-26 08:24:49 -04:00
README.s4u2proxy.txt ipa-kdb: Add delgation access control support 2011-12-08 17:18:10 -05:00

This is the ipa krb5kdc database backend.