This is my problem. I modified stock/osconf.h to make custom paths. I re-did
configure and make. make said nothing changed. However, when I try to runn
kdb5_util, it says it can't find the configuration file. Did I do something
wrong?

include/krb5/stock/osconf.h
#define DEFAULT_PROFILE_PATH    "@PREFIX/etc/krb5.conf"
#define DEFAULT_KDB_FILE        "@PREFIX/var/krb5kdc/principal"
#define DEFAULT_KEYFILE_STUB    "@PREFIX/var/krb5kdc/.k5."
#define KRB5_DEFAULT_ADMIN_ACL  "@PREFIX/var/krb5kdc/krb5_adm.acl"
/* Used by old admin server */
#define DEFAULT_ADMIN_ACL       "@LOCALSTATEDIR/krb5kdc/kadm_old.acl"

/* Location of KDC profile */
#define DEFAULT_KDC_PROFILE     "@PREFIX/var/krb5kdc/kdc.conf"

./configure  --cache-file=config.cache --prefix=/usr/local/kerberos5

# ls /usr/local/kerberos5/etc/
total 4.0k
4.0k -rw-r--r--    1 root     root          989 Dec 11 10:15 krb5.conf

# kdb5_util create -s
Can't open/find Kerberos configuration file while initializing Kerberos code

Vern H. Gill
State Director
Director of Marketing
Conejo Valley Jaycees
http://www.conejovalleyjaycees.org

Reply via email to