[OpenAFS-devel] kpasswd (S/390)
Carsten Jacobi
carsten@ccac.rwth-aachen.de
Tue, 22 May 2001 09:36:00 +0200
--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Mon, May 21, 2001 at 12:50:20PM -0400, Derek Atkins wrote:
> real kerberos that would be Bad. I might be convinced to install it
> as 'kapasswd'.
Hmm, than I start some "convincing" ... I attached a little patch so
that kpasswd.c and the others are linked to kapasswd instead of
kpasswd.
> I left the other KA utils in there because I figured some people would
> still need them.
Indeed, maybe the right way to go is PAM. But it is also not bad if there
are some tools available as backup one can rely on. For example if for
some reasons the AFS password can not be changed with plain "passwd" a
sysadmin could still use (now) kapasswd to find out whether the error
is located in AFS or in PAM.
They could also take "kas setpassword -name", but IMHO this command is just
not as handy and as intuitive as "kapasswd".
Carsten Jacobi
--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="openafs-1.0.4-kapasswd.patch"
--- src/kauth/Makefile.orig Tue May 22 08:50:18 2001
+++ src/kauth/Makefile Tue May 22 08:52:34 2001
@@ -64,13 +64,13 @@
noversion: install
-all: knfs kaserver kas klog klog.krb kpasswd klogin klogin.krb rebuild kdb kpwvalid
+all: knfs kaserver kas klog klog.krb kapasswd klogin klogin.krb rebuild kdb kpwvalid
test tests: install
cd test; $(MAKE)
clean:
- rm -f *.o kaserver kas klog multiklog kpasswd klogin rebuild kauth.cs.c kauth.ss.c kauth.xdr.c kauth.h kautils.h kaerrors.c *.a core kpwvalid AFS_component_version_number.c
+ rm -f *.o kaserver kas klog multiklog kapasswd klogin rebuild kauth.cs.c kauth.ss.c kauth.xdr.c kauth.h kautils.h kaerrors.c *.a core kpwvalid AFS_component_version_number.c
kaserver: kautils.o kalocalcell.o kadatabase.o kaprocs.o kalog.o kauth.ss.o kauth.xdr.o kaserver.o kaaux.o krb_udp.o kaauxdb.o $(LIBS) ${auditlib}
${CC} ${LDFLAGS} -o kaserver kaserver.o kautils.o kalocalcell.o kadatabase.o krb_udp.o kaprocs.o kalog.o kauth.ss.o kauth.xdr.o kaaux.o kaauxdb.o $(LIBS) ${XLIBS} ${auditlib}
@@ -177,8 +177,8 @@
kpasswd.o: kauth.h kautils.h ${INCLS} kpasswd.c AFS_component_version_number.o
${CC} ${CFLAGS} -c kpasswd.c
-kpasswd: kauth.h kautils.h libkauth.a $(LIBS) kpasswd.o kkids.o
- ${CC} ${LDFLAGS} -o kpasswd kpasswd.o kkids.o libkauth.a \
+kapasswd: kauth.h kautils.h libkauth.a $(LIBS) kpasswd.o kkids.o
+ ${CC} ${LDFLAGS} -o kapasswd kpasswd.o kkids.o libkauth.a \
${LIBS} ${XLIBS}
kpwvalid.o: kpwvalid.c AFS_component_version_number.o
@@ -231,7 +231,7 @@
${DESTDIR}bin/knfs: knfs
${INSTALL} -s $? $@
-${DESTDIR}bin/kpasswd: kpasswd
+${DESTDIR}bin/kapasswd: kapasswd
${INSTALL} -s $? $@
${DESTDIR}lib/afs/libkauth.a: libkauth.a
@@ -259,7 +259,7 @@
${DESTDIR}bin/klog ${DESTDIR}bin/klog.krb \
${DESTDIR}root.server/usr/afs/bin/klog \
${DESTDIR}root.server/usr/afs/bin/klog.krb \
- ${DESTDIR}bin/knfs ${DESTDIR}bin/kpasswd \
+ ${DESTDIR}bin/knfs ${DESTDIR}bin/kapasswd \
${DESTDIR}bin/kpwvalid ${DESTDIR}lib/afs/libkauth.a \
${DESTDIR}lib/afs/libkauth.krb.a ${DESTDIR}etc/kdb
${INSTALL} kautils.h kauth.h kaport.h ${DESTDIR}include/afs
--ZGiS0Q5IWpPtfppv--