[OpenAFS] Problem with pam on debian with 1.3.81 kernel 2.6.11
Christian Ospelkaus
christian@core-coutainville.org
Thu, 14 Apr 2005 18:00:51 +0200
> Ok, after some more looking, I found, I don't have got the pam_krb5afs.so
> pam module.
> Only the pam_krb5 modules and pam_openafs_session.so.
>
> So, where did you got that pam_krb5afs.so modul?
=46rom http://sourceforge.net/projects/pam-krb5/ This used to be the recomm=
ended=20
module for some time. Is it still??? I got it to compile by using (You migh=
t=20
need to fulfill some build dependencies):
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pam-krb5 login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pam-krb5 co \
=2DP pam_krb5
cd pam_krb5
mkdir tools
ln -s /usr/share/libtool/ltmain.sh tools/ltmain.sh
aclocal-1.7
automake-1.7 -a
autoconf
autoheader
I build against Heimdal, which gets incorrectly detected by the configure=20
script for the current heimdal version in sarge. You can hack the configure=
=20
script to look like
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
KRB5IMPL=3D"mit"
fi
KRB5IMPL=3D"heimdal" # <--- insert this!!! crude hack!!!
around line 21188.
Running debian/rules should then provide you with a packages in the parent=
=20
directory which you can install using dpkg.=20
Question: Am I doing something wrong or has building this module really bec=
ome=20
that difficult? Should the whole auto* stuff be fixed???
With the config I sent to you, credential refreshing with kscreensaver shou=
ld=20
work.
Christian