In some cases a null realm argument was passed into the function for locating the kpasswd server. This ended up causing segfaults in kpasswd. Fix to use the right realm. To generate a diff of this commit: cvs diff -r5.347 -r5.348 krb5/src/lib/krb5/os/ChangeLog cvs diff -r5.34 -r5.35 krb5/src/lib/krb5/os/changepw.c