Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenAFS & mitkrb5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
conloos
n00b
n00b


Joined: 23 Feb 2004
Posts: 54

PostPosted: Tue Aug 30, 2005 6:05 pm    Post subject: OpenAFS & mitkrb5 Reply with quote

hi,

i have a problem to get asetkey working.
IHMO asetkey converts a krb5 keytab to an AFS Keyfile?!
Does anybody know how to convert it "step by step" by my self?


con
Back to top
View user's profile Send private message
stefaan
Retired Dev
Retired Dev


Joined: 31 Aug 2005
Posts: 35

PostPosted: Mon Sep 05, 2005 1:15 pm    Post subject: Reply with quote

hi,

i've only tried openafs+heimdal myself, and that worked perfectly.

could you be more specific about error messages, what ebuilds / self-compiled packages you're using, etc?

stefaan
Back to top
View user's profile Send private message
Kooky
n00b
n00b


Joined: 10 Sep 2005
Posts: 23
Location: Mannheim

PostPosted: Sat Sep 10, 2005 10:35 am    Post subject: Reply with quote

morning,
i try the same at the moment openafs+mit-krb5
The only thing i found was that i need asetkey which is part of afs-krb5-2.0 package and i also found an ebuild *g* for it
BUT i can't compile it: asetkey.c: in function 'main':
asetkey.c:80: too few arguments to function 'afsconf_AddKey'

here is the ebuild, maybe someone can help me:
Code:

# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/app-crypt/pam_krb5/pam_krb5-1.0.ebuild,v 1.15 2003/10/01 09:39:25 aliz Exp $

DESCRIPTION="NRL AFS Krb5 Migration Kit"
SRC_URI="ftp://ftp.cmf.nrl.navy.mil/pub/kerberos5/${P}.tar.gz"
HOMEPAGE="http://www.mathematik.uni-karlsruhe.de/~iwrmm/Persons/Schulz/Unix/afs/afs-krb5.html"

inherit eutils

SLOT="0"
LICENSE="as-is"
KEYWORDS="~x86"
IUSE="afs kerberos krb4"

DEPEND="app-crypt/mit-krb5
net-fs/openafs"

S=${WORKDIR}/${PN}/src

src_compile() {
# econf CPPFLAGS="-I/usr/afsws/include" CFLAGS="$CFLAGS" || die
econf CFLAGS="$CFLAGS" || die

make aklog || die
make asetkey || die
}

src_install() {
exeinto /usr/bin
doexe aklog

exeinto /usr/sbin
doexe asetkey

cd ..
dodoc AFS_K5_NAME_CHANGE COPYRIGHT ISSUES README THEORY
}


i use mit-krb5-1.4.1-r2 and openafs-1.4.0_r3
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum