8 .Nd Kerberos 5 password changing server
12 .Op Fl -addresses= Ns Ar address
13 .Op Fl -check-library= Ns Ar library
14 .Op Fl -check-function= Ns Ar function
15 .Oo Fl k Ar kspec \*(Ba Xo
16 .Fl -keytab= Ns Ar kspec
19 .Oo Fl r Ar realm \*(Ba Xo
20 .Fl -realm= Ns Ar realm
23 .Oo Fl p Ar string \*(Ba Xo
24 .Fl -port= Ns Ar string
32 serves request for password changes. It listens on UDP port 464
33 (service kpasswd) and processes requests when they arrive. It changes
34 the database directly and should thus only run on the master KDC.
39 .Fl -addresses= Ns Ar address
41 For each till the argument is given, add the address to what kpasswdd
44 .Fl -check-library= Ns Ar library
46 If your system has support for dynamic loading of shared libraries,
47 you can use an external function to check password quality. This
48 option specifies which library to load.
50 .Fl -check-function= Ns Ar function
52 This is the function to call in the loaded library. The function
53 should look like this:
56 .Fn passwd_check "krb5_context context" "krb5_principal principal" "krb5_data *password"
59 is an initialized context;
61 is the one who tries to change passwords, and
63 is the new password. Note that the password (in
65 is not zero terminated.
68 .Fl -keytab= Ns Ar kspec
70 Keytab to get authentication key from.
73 .Fl -realm= Ns Ar realm
78 .Fl -port= Ns Ar string
80 Port to listen on (default service kpasswd - 464).
83 If an error occurs, the error message is returned to the user and/or
86 The default password quality checks are too basic.