[32161] in Kerberos
Re: Local development database?
daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Mar 17 14:50:07 2010
From: Greg Hudson <ghudson@mit.edu>
To: charlieok <charlieok@gmail.com>
In-Reply-To: <2fc5c59f-a941-4f0c-a3a2-0ccf14593052@e7g2000yqf.googlegroups.com>
Date: Wed, 17 Mar 2010 14:50:02 -0400
Message-ID: <1268851802.7493.178.camel@ray>
Mime-Version: 1.0
Cc: "kerberos@mit.edu" <kerberos@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu
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
}
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos