]> eyrie.org Git - kerberos/krb5-strength.git/blob - debian/README.Debian
Import the current krb5-strength code.
[kerberos/krb5-strength.git] / debian / README.Debian
1 krb5-passwd-strength for Debian
2 -------------------------------
3
4 This plugin requires a patched kadmind that loads plugins for password
5 strength checking.  This code will hopefully be in a future official
6 release of MIT Kerberos.
7
8 With that code, a sample kdc.conf file using this plugin looks like:
9
10 [realms]
11     EXAMPLE.ORG = {
12         database_name = /usr/local/var/krb5kdc/principal
13         admin_keytab = FILE:/usr/local/var/krb5kdc/kadm5.keytab
14         acl_file = /usr/local/var/krb5kdc/kadm5.acl
15         key_stash_file = /usr/local/var/krb5kdc/stash
16         kdc_ports = 750,88
17         max_life = 10h 0m 0s
18         max_renewable_life = 7d 0h 0m 0s
19         default_principal_flags = +preauth
20         pwcheck_plugin = /usr/local/var/krb5kdc/kadmin_plugin.so
21         dict_file = /usr/local/var/krb5kdc/dict
22     }
23
24 dict_file is a prefix for cracklib dicts you have now, e.g.
25 /usr/local/var/krb5kdc/dict.pwd, .pwi, etc.
26
27 You will need to have any policy apply to the principal in order for this
28 module to be enforced, as a result of how kadmin works (if there is no
29 policy applying either by default or to the principal, password quality is
30 not checked).
31
32  -- Russ Allbery <rra@debian.org>, Sat, 24 Jun 2006 18:31:34 z