Skip Menu |

To: krb5-bugs@MIT.EDU
Subject: need standard way of finding keytab
From: Ken Raeburn <raeburn@MIT.EDU>
Date: Tue, 17 Dec 2002 17:51:08 -0500

Hacks like this shouldn't be needed. There should be some standard
way of indicating where a keytab is located for a given user or

For example, perhaps non-root users would look in ~/etc/krb5.keytab,
or maybe krb5.conf could have a table mapping principal names or
service (first-component) names to pathnames ("zephyr =
/usr/local/etc/zephyr/zephyr.keytab"). Maybe both.

No special configuration should be needed to look for the current
standard services (host and ftp at least) in the standard keytab,
though that could be accomplished by having a list of names instead of
just one. Say, if the default is "~/etc/krb5.keytab:/etc/krb5.keytab"
or equivalent.

Download (untitled)
message/rfc822 2.4KiB
Return-Path: <kerberos-admin@MIT.EDU>
Received: from by (8.9.2/4.7) id
EAA17465; Tue, 17 Dec 2002 04:13:27 -0500 (EST)
Received: from (PCH.MIT.EDU [])
by (8.9.2/8.9.2) with ESMTP id EAA03270;
Tue, 17 Dec 2002 04:12:17 -0500 (EST)
Received: from (localhost [])
by (8.9.3+Sun/8.9.3) with ESMTP id EAA13508;
Tue, 17 Dec 2002 04:12:03 -0500 (EST)
by (8.9.3+Sun/8.9.3) with ESMTP id EAA13501
for <>; Tue, 17 Dec 2002 04:11:44 -0500 (EST)
Received: from ( [])
by (8.9.2/8.9.2) with ESMTP id EAA17909
for <kerberos@MIT.EDU>; Tue, 17 Dec 2002 04:11:43 -0500 (EST)
Received: (from news@localhost)
by (8.10.2+Sun/8.9.3) id gBH8tFY07029
for kerberos@MIT.EDU; Tue, 17 Dec 2002 03:55:15 -0500 (EST)
From: Oleksiy Melnyk <>
X-Newsgroups: comp.protocols.kerberos
Subject: Re: Authorising via non-root user
Organization: Ukrainian Processing Center
Message-ID: <1040115530.711013@upc-dot.upc.intranet>
References: <V3uL9.1058$>
To: kerberos@MIT.EDU
Sender: kerberos-admin@MIT.EDU
Errors-To: kerberos-admin@MIT.EDU
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <>
List-Post: <>
List-Subscribe: <>,
List-Id: The Kerberos Authentication System Mailing List <>
List-Unsubscribe: <>,
List-Archive: <>
Date: Tue, 17 Dec 2002 10:55:20 +0200
Lines: 11
Xref: all-in-one all.2002-12:2235
MIME-Version: 1.0

Try to set KRB5_KTNAME='/path/to/user/accessible/keytab/file/for/that/service'
in your service daemon's environment.

Sergei Grigoriev wrote:
Show quoted text
> What do I need to do in order to
> allow a non-root user to run this daemon and successfully test incoming
> service tickets via GSSAPI?

Show quoted text
Kerberos mailing list