[32162] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Local development database?

daemon@ATHENA.MIT.EDU (charlieok)
Thu Mar 18 00:02:44 2010

From: charlieok <charlieok@gmail.com>
Date: Wed, 17 Mar 2010 16:57:54 -0700 (PDT)
Message-ID: <5036aa21-aaec-4d7e-b888-60df98d00de4@k4g2000prb.googlegroups.com>
Mime-Version: 1.0
X-Complaints-To: groups-abuse@google.com
Complaints-To: groups-abuse@google.com
To: kerberos@mit.edu
Content-Type: text/plain; charset="iso-8859-1"
Errors-To: kerberos-bounces@mit.edu
Content-Transfer-Encoding: 8bit

On Mar 17, 12:50 pm, Greg Hudson <ghud...@MIT.EDU> wrote:
> 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
>         }

Thanks for the reply. The part where I was having trouble was with the
kdc.conf file. I knew that the krb5.conf file's location can be given
by the KRB5_CONFIG environment variable. Shortly after posting this
question yesterday I found what I think is the answer in the
installation guide -- that the kdb.conf file's location can be given
by the KRB5_KDC_PROFILE variable.
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos


home help back first fref pref prev next nref lref last post