[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kdc.conf



Hello,

The location of kdc.conf seems to be hard coded in a number of places 
within the code:

./kadmin/kadmind.c:    asprintf(&config_file, "%s/kdc.conf", 
hdb_db_dir(context));
./kadmin/kadmin.c:    asprintf(&config_file, "%s/kdc.conf", 
hdb_db_dir(context));
./kdc/config.c:        asprintf(&config_file, "%s/kdc.conf", 
hdb_db_dir(context));
./kpasswd/kpasswdd.c:    asprintf(&config_file, "%s/kdc.conf", 
hdb_db_dir(context));
./lib/kadm5/iprop-log.c:    asprintf(&file, "%s/kdc.conf", 
hdb_db_dir(context));
./lib/kadm5/ipropd_slave.c:    asprintf(&config_file, "%s/kdc.conf", 
hdb_db_dir(context));
./lib/kadm5/ipropd_master.c:    asprintf(&config_file, "%s/kdc.conf", 
hdb_db_dir(context));

Just to name some of the ones I have noticed now.

In the past I have had bug reports that kdc.conf should go under /etc, see:
<http://bugs.debian.org/351960>.

However I would rather not have to go through the code and patch every 
individual occurrence, to fix
<http://bugs.debian.org/470404>.

Comments?

Thanks.

Brian May