Local development database?

Greg Hudson ghudson at MIT.EDU
Wed Mar 17 14:50:02 EDT 2010


On Tue, 2010-03-16 at 20:58 -0400, charlieok wrote:
> I'm trying to change the "localstatedir" value to point to a directory
> within my project so that I can use utilities like kdb5_util to
> create, destroy and operate on a kerberos database. I see that this is
> an option that can be passed to 'configure' before building the
> kerberos binaries, but I'm not seeing a way to set it later, such as
> via an environment variable or command line option.

You have to individually change the locations of the database, dictfile,
ACL file, and stash file, using krb5.conf or kdc.conf.  Here's an
example:

[dbmodules]
	foo_db2 = {
		database_name = /project/path/master-db
		db_library = db2
	}
[realms]
	KRBTEST.COM = {
		database_module = foo_db2
		dictfile = /project/path/dictfile
		acl_file = /project/path/acl
		key_stash_file = /project/path/stash
	}





More information about the Kerberos mailing list