This commit was generated by cvs2svn to compensate for changes in r107207,

which included commits to RCS files with non-trunk default branches.
This commit is contained in:
Jacques Vidrine 2002-11-24 20:59:25 +00:00
commit 1036289598
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107208
110 changed files with 1245 additions and 1441 deletions

View File

@ -1,18 +1,43 @@
2002-09-16 Jacques Vidrine <nectar@kth.se> 2002-10-21 Johan Danielsson <joda@pdc.kth.se>
* lib/krb5/kuserok.c, lib/krb5/prompter_posix.c: use strcspn * lib/krb5/store_emem.c: pull up 1.13; limit how much we allocate
to convert the newline to NUL in fgets results.
2002-09-13 Johan Danielsson <joda@pdc.kth.se> * lib/krb5/principal.c: pull up 1.82; don't allow trailing
backslashes in components
* kuser/kinit.1: remove unneeded Ns * lib/krb5/keytab_keyfile.c: pull up 1.15; more strcspn
* lib/krb5/krb5_appdefault.3: remove extra "application" * lib/krb5/keytab_any.c: pull up 1.7; properly close the open
keytabs
* fix-export: remove autom4ate.cache * kdc/connect.c: pull up 1.87; check that %-quotes are followed by
two hex digits
* lib/krb5/prompter_posix.c: pull up 1.7; use strcspn to convert
the newline to NUL in fgets results.
* lib/krb5/kuserok.c: pull up 1.6; use strcspn to convert the
newline to NUL in fgets results.
* lib/krb5/keytab_file.c: pull up 1.12; check return value from
start_seq_get
* lib/krb5/context.c: pull up 1.82; return ENXIO instead of ENOENT
when "unconfigured"
* lib/krb5/changepw.c: pull up 1.38; fix reply length check
calculation
* kuser/klist.c: pull up 1.68; allow tokens up to size of buffer
* kdc/kaserver.c: pull up 1.21; make sure life is positive
* fix-export: pull up 1.28; remove autom4ate.cache
2002-09-10 Johan Danielsson <joda@pdc.kth.se> 2002-09-10 Johan Danielsson <joda@pdc.kth.se>
* Release 0.5
* include/make_crypto.c: don't use function macros if possible * include/make_crypto.c: don't use function macros if possible
* lib/krb5/krb5_locl.h: get limits.h for UINT_MAX * lib/krb5/krb5_locl.h: get limits.h for UINT_MAX

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -237,9 +236,6 @@ all: all-recursive
.SUFFIXES: .SUFFIXES:
.SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4) $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && \ cd $(top_srcdir) && \
$(AUTOMAKE) --foreign Makefile $(AUTOMAKE) --foreign Makefile
@ -375,7 +371,7 @@ distcleancheck_listfiles = find . -type f -print
distdir: $(DISTFILES) distdir: $(DISTFILES)
$(am__remove_distdir) $(am__remove_distdir)
mkdir $(distdir) mkdir $(distdir)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -489,7 +485,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"
@ -499,7 +495,7 @@ clean: clean-recursive
clean-am: clean-generic clean-libtool mostlyclean-am clean-am: clean-generic clean-libtool mostlyclean-am
distclean: distclean-recursive distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f config.status config.cache config.log
distclean-am: clean-am distclean-generic distclean-libtool \ distclean-am: clean-am distclean-generic distclean-libtool \
distclean-tags distclean-tags
@ -524,8 +520,7 @@ install-man:
installcheck-am: installcheck-am:
maintainer-clean: maintainer-clean-recursive maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf autom4te.cache
maintainer-clean-am: distclean-am maintainer-clean-generic maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive mostlyclean: mostlyclean-recursive

View File

@ -1,3 +1,17 @@
Changes in release 0.5.1
* kadmind: fix remote exploit
* kadmind: add option to disable kerberos 4
* kdc: make sure kaserver token life is positive
* telnet: use the session key if there is no subkey
* fix EPSV parsing in ftp
* other bug fixes
Changes in release 0.5 Changes in release 0.5
* add --detach option to kdc * add --detach option to kdc

View File

@ -1,4 +1,4 @@
# aclocal.m4t generated automatically by aclocal 1.6.3 -*- Autoconf -*- # aclocal.m4t generated automatically by aclocal 1.6.1 -*- Autoconf -*-
# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc. # Free Software Foundation, Inc.
@ -241,7 +241,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"])
# Call AM_AUTOMAKE_VERSION so it can be traced. # Call AM_AUTOMAKE_VERSION so it can be traced.
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.6.3])]) [AM_AUTOMAKE_VERSION([1.6.1])])
# Helper functions for option handling. -*- Autoconf -*- # Helper functions for option handling. -*- Autoconf -*-
@ -573,7 +573,7 @@ AC_REQUIRE([AM_DEP_TRACK])dnl
ifelse([$1], CC, [depcc="$CC" am_compiler_list=], ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
[$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=],
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc']
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
[depcc="$$1" am_compiler_list=]) [depcc="$$1" am_compiler_list=])
@ -698,13 +698,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[for mf in $CONFIG_FILES; do [for mf in $CONFIG_FILES; do
# Strip MF so we end up with the name of the file. # Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'` mf=`echo "$mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile or not. if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
# We used to match only the files named `Makefile.in', but
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
# So let's grep whole file.
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
dirpart=`AS_DIRNAME("$mf")` dirpart=`AS_DIRNAME("$mf")`
else else
continue continue
@ -6725,7 +6719,7 @@ AH_BOTTOM([
]) ])
dnl dnl
dnl $Id: sunos.m4,v 1.1 2002/08/28 19:53:51 joda Exp $ dnl $Id: sunos.m4,v 1.1.4.1 2002/10/21 14:29:36 joda Exp $
dnl dnl
AC_DEFUN([rk_SUNOS],[ AC_DEFUN([rk_SUNOS],[
@ -6737,7 +6731,7 @@ case "$host" in
*-*-solaris2.7) *-*-solaris2.7)
sunos=57 sunos=57
;; ;;
*-*-solaris2.[89]) *-*-solaris2.[[89]])
sunos=58 sunos=58
;; ;;
*-*-solaris2*) *-*-solaris2*)

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -283,7 +282,8 @@ install-sbinPROGRAMS: $(sbin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \
else :; fi; \ else :; fi; \
@ -292,17 +292,14 @@ install-sbinPROGRAMS: $(sbin_PROGRAMS)
uninstall-sbinPROGRAMS: uninstall-sbinPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(sbin_PROGRAMS)'; for p in $$list; do \ @list='$(sbin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \ echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
rm -f $(DESTDIR)$(sbindir)/$$f; \ rm -f $(DESTDIR)$(sbindir)/$$f; \
done done
clean-sbinPROGRAMS: clean-sbinPROGRAMS:
@list='$(sbin_PROGRAMS)'; for p in $$list; do \ -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
ktutil$(EXEEXT): $(ktutil_OBJECTS) $(ktutil_DEPENDENCIES) ktutil$(EXEEXT): $(ktutil_OBJECTS) $(ktutil_DEPENDENCIES)
@rm -f ktutil$(EXEEXT) @rm -f ktutil$(EXEEXT)
$(LINK) $(ktutil_LDFLAGS) $(ktutil_OBJECTS) $(ktutil_LDADD) $(LIBS) $(LINK) $(ktutil_LDFLAGS) $(ktutil_OBJECTS) $(ktutil_LDADD) $(LIBS)
@ -347,10 +344,6 @@ install-man8: $(man8_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
8*) ;; \
*) ext='8' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -416,7 +409,7 @@ top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -466,7 +459,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,11 +1,11 @@
KTUTIL(8) FreeBSD System Manager's Manual KTUTIL(8) KTUTIL(8) NetBSD System Manager's Manual KTUTIL(8)
NNAAMMEE NNAAMMEE
kkttuuttiill - manage Kerberos keytabs kkttuuttiill - manage Kerberos keytabs
SSYYNNOOPPSSIISS SSYYNNOOPPSSIISS
kkttuuttiill [--kk _k_e_y_t_a_b | ----kkeeyyttaabb==_k_e_y_t_a_b] [--vv | ----vveerrbboossee] [----vveerrssiioonn] kkttuuttiill [--kk _k_e_y_t_a_b | ----kkeeyyttaabb==_k_e_y_t_a_b] [--vv | ----vveerrbboossee] [----vveerrssiioonn] [--hh |
[--hh | ----hheellpp] _c_o_m_m_a_n_d [_a_r_g_s] ----hheellpp] _c_o_m_m_a_n_d [_a_r_g_s]
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
kkttuuttiill is a program for managing keytabs. _c_o_m_m_a_n_d can be one of the fol- kkttuuttiill is a program for managing keytabs. _c_o_m_m_a_n_d can be one of the fol-
@ -47,13 +47,13 @@ DDEESSCCRRIIPPTTIIOONN
remove [--pp _p_r_i_n_c_i_p_a_l] [----pprriinncciippaall==_p_r_i_n_c_i_p_a_l] [--VV --kkvvnnoo] [----kkvvnnoo==_k_v_n_o] remove [--pp _p_r_i_n_c_i_p_a_l] [----pprriinncciippaall==_p_r_i_n_c_i_p_a_l] [--VV --kkvvnnoo] [----kkvvnnoo==_k_v_n_o]
[--ee --eennccttyyppee] [----eennccttyyppee==_e_n_c_t_y_p_e] [--ee --eennccttyyppee] [----eennccttyyppee==_e_n_c_t_y_p_e]
Removes the specified key or keys. Not specifying a _k_v_n_o Removes the specified key or keys. Not specifying a _k_v_n_o re-
removes keys with any version number. Not specifying a moves keys with any version number. Not specifying a _e_n_c_t_y_p_e
_e_n_c_t_y_p_e removes keys of any type. removes keys of any type.
rename _f_r_o_m_-_p_r_i_n_c_i_p_a_l _t_o_-_p_r_i_n_c_i_p_a_l rename _f_r_o_m_-_p_r_i_n_c_i_p_a_l _t_o_-_p_r_i_n_c_i_p_a_l
Renames all entries in the keytab that match the Renames all entries in the keytab that match the _f_r_o_m_-
_f_r_o_m_-_p_r_i_n_c_i_p_a_l to _t_o_-_p_r_i_n_c_i_p_a_l. _p_r_i_n_c_i_p_a_l to _t_o_-_p_r_i_n_c_i_p_a_l.
purge [----aaggee==_a_g_e] purge [----aaggee==_a_g_e]
Removes all old entries (for which there is a newer version) Removes all old entries (for which there is a newer version)
@ -78,4 +78,4 @@ DDEESSCCRRIIPPTTIIOONN
SSEEEE AALLSSOO SSEEEE AALLSSOO
kadmin(8) kadmin(8)
HEIMDAL December 16, 2000 HEIMDAL HEIMDAL December 16, 2000 2

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -365,7 +364,7 @@ top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -427,7 +426,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -280,7 +279,8 @@ install-binPROGRAMS: $(bin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \ else :; fi; \
@ -289,17 +289,14 @@ install-binPROGRAMS: $(bin_PROGRAMS)
uninstall-binPROGRAMS: uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \ @list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \ rm -f $(DESTDIR)$(bindir)/$$f; \
done done
clean-binPROGRAMS: clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
afslog$(EXEEXT): $(afslog_OBJECTS) $(afslog_DEPENDENCIES) afslog$(EXEEXT): $(afslog_OBJECTS) $(afslog_DEPENDENCIES)
@rm -f afslog$(EXEEXT) @rm -f afslog$(EXEEXT)
$(LINK) $(afslog_LDFLAGS) $(afslog_OBJECTS) $(afslog_LDADD) $(LIBS) $(LINK) $(afslog_LDFLAGS) $(afslog_OBJECTS) $(afslog_LDADD) $(LIBS)
@ -373,7 +370,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -423,7 +420,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,3 +1,7 @@
2002-10-21 Johan Danielsson <joda@pdc.kth.se>
* ftp/ftp.c: pull up 1.75; fix parsing of epsv ports
2002-09-05 Johan Danielsson <joda@pdc.kth.se> 2002-09-05 Johan Danielsson <joda@pdc.kth.se>
* ftp/security.c (sec_vfprintf): free encoded data * ftp/security.c (sec_vfprintf): free encoded data

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -346,7 +345,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -408,7 +407,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -324,7 +323,7 @@ top_distdir = ../../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -373,7 +372,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -300,7 +299,8 @@ install-binPROGRAMS: $(bin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \ else :; fi; \
@ -309,17 +309,14 @@ install-binPROGRAMS: $(bin_PROGRAMS)
uninstall-binPROGRAMS: uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \ @list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \ rm -f $(DESTDIR)$(bindir)/$$f; \
done done
clean-binPROGRAMS: clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
ftp$(EXEEXT): $(ftp_OBJECTS) $(ftp_DEPENDENCIES) ftp$(EXEEXT): $(ftp_OBJECTS) $(ftp_DEPENDENCIES)
@rm -f ftp$(EXEEXT) @rm -f ftp$(EXEEXT)
$(LINK) $(ftp_LDFLAGS) $(ftp_OBJECTS) $(ftp_LDADD) $(LIBS) $(LINK) $(ftp_LDFLAGS) $(ftp_OBJECTS) $(ftp_LDADD) $(LIBS)
@ -364,10 +361,6 @@ install-man1: $(man1_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
1*) ;; \
*) ext='1' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -433,7 +426,7 @@ top_distdir = ../../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -483,7 +476,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -32,7 +32,7 @@
*/ */
#include "ftp_locl.h" #include "ftp_locl.h"
RCSID ("$Id: ftp.c,v 1.74 2002/09/04 22:00:12 joda Exp $"); RCSID ("$Id: ftp.c,v 1.74.4.1 2002/10/21 14:26:31 joda Exp $");
struct sockaddr_storage hisctladdr_ss; struct sockaddr_storage hisctladdr_ss;
struct sockaddr *hisctladdr = (struct sockaddr *)&hisctladdr_ss; struct sockaddr *hisctladdr = (struct sockaddr *)&hisctladdr_ss;
@ -396,6 +396,9 @@ getreply (int expecteof)
if (p) { if (p) {
p++; p++;
strlcpy(pasv, p, sizeof(pasv)); strlcpy(pasv, p, sizeof(pasv));
p = strrchr(pasv, ')');
if (p)
*p = '\0';
} }
} }
return code / 100; return code / 100;

View File

@ -1,4 +1,4 @@
FTP(1) FreeBSD General Commands Manual FTP(1) FTP(1) NetBSD Reference Manual FTP(1)
NNAAMMEE NNAAMMEE
ffttpp - ARPANET file transfer program ffttpp - ARPANET file transfer program
@ -23,8 +23,8 @@ DDEESSCCRRIIPPTTIIOONN
server, as well as report on data transfer statistics. server, as well as report on data transfer statistics.
--nn Restrains ffttpp from attempting ``auto-login'' upon initial connec- --nn Restrains ffttpp from attempting ``auto-login'' upon initial connec-
tion. If auto-login is enabled, ffttpp will check the _._n_e_t_r_c (see tion. If auto-login is enabled, ffttpp will check the _._n_e_t_r_c (see be-
below) file in the user's home directory for an entry describing an low) file in the user's home directory for an entry describing an
account on the remote machine. If no entry exists, ffttpp will prompt account on the remote machine. If no entry exists, ffttpp will prompt
for the remote machine login name (default is the user identity on for the remote machine login name (default is the user identity on
the local machine), and, if necessary, prompt for a password and an the local machine), and, if necessary, prompt for a password and an
@ -44,8 +44,8 @@ DDEESSCCRRIIPPTTIIOONN
command line. If this is done, ffttpp will immediately attempt to establish command line. If this is done, ffttpp will immediately attempt to establish
a connection to an FTP server on that host; otherwise, ffttpp will enter its a connection to an FTP server on that host; otherwise, ffttpp will enter its
command interpreter and await instructions from the user. When ffttpp is command interpreter and await instructions from the user. When ffttpp is
awaiting commands from the user the prompt `ftp>' is provided to the awaiting commands from the user the prompt `ftp>' is provided to the us-
user. The following commands are recognized by ffttpp: er. The following commands are recognized by ffttpp:
!! [_c_o_m_m_a_n_d [_a_r_g_s]] !! [_c_o_m_m_a_n_d [_a_r_g_s]]
Invoke an interactive shell on the local machine. If there Invoke an interactive shell on the local machine. If there
@ -69,8 +69,8 @@ DDEESSCCRRIIPPTTIIOONN
or nnmmaapp setting. File transfer uses the current settings for or nnmmaapp setting. File transfer uses the current settings for
ttyyppee, ffoorrmmaatt, mmooddee, and ssttrruuccttuurree. ttyyppee, ffoorrmmaatt, mmooddee, and ssttrruuccttuurree.
aasscciiii Set the file transfer ttyyppee to network ASCII. This is the aasscciiii Set the file transfer ttyyppee to network ASCII. This is the de-
default type. fault type.
bbeellll Arrange that a bell be sounded after each file transfer com- bbeellll Arrange that a bell be sounded after each file transfer com-
mand is completed. mand is completed.
@ -78,8 +78,8 @@ DDEESSCCRRIIPPTTIIOONN
bbiinnaarryy Set the file transfer ttyyppee to support binary image transfer. bbiinnaarryy Set the file transfer ttyyppee to support binary image transfer.
bbyyee Terminate the FTP session with the remote server and exit bbyyee Terminate the FTP session with the remote server and exit
ffttpp. An end of file will also terminate the session and ffttpp. An end of file will also terminate the session and ex-
exit. it.
ccaassee Toggle remote computer file name case mapping during mmggeett ccaassee Toggle remote computer file name case mapping during mmggeett
commands. When ccaassee is on (default is off), remote computer commands. When ccaassee is on (default is off), remote computer
@ -87,21 +87,21 @@ DDEESSCCRRIIPPTTIIOONN
local directory with the letters mapped to lower case. local directory with the letters mapped to lower case.
ccdd _r_e_m_o_t_e_-_d_i_r_e_c_t_o_r_y ccdd _r_e_m_o_t_e_-_d_i_r_e_c_t_o_r_y
Change the working directory on the remote machine to Change the working directory on the remote machine to _r_e_m_o_t_e_-
_r_e_m_o_t_e_-_d_i_r_e_c_t_o_r_y. _d_i_r_e_c_t_o_r_y.
ccdduupp Change the remote machine working directory to the parent of ccdduupp Change the remote machine working directory to the parent of
the current remote machine working directory. the current remote machine working directory.
cchhmmoodd _m_o_d_e _f_i_l_e_-_n_a_m_e cchhmmoodd _m_o_d_e _f_i_l_e_-_n_a_m_e
Change the permission modes of the file _f_i_l_e_-_n_a_m_e on the Change the permission modes of the file _f_i_l_e_-_n_a_m_e on the re-
remote sytem to _m_o_d_e. mote sytem to _m_o_d_e.
cclloossee Terminate the FTP session with the remote server, and return cclloossee Terminate the FTP session with the remote server, and return
to the command interpreter. Any defined macros are erased. to the command interpreter. Any defined macros are erased.
ccrr Toggle carriage return stripping during ascii type file ccrr Toggle carriage return stripping during ascii type file re-
retrieval. Records are denoted by a carriage return/linefeed trieval. Records are denoted by a carriage return/linefeed
sequence during ascii type file transfer. When ccrr is on (the sequence during ascii type file transfer. When ccrr is on (the
default), carriage returns are stripped from this sequence to default), carriage returns are stripped from this sequence to
conform with the UNIX single linefeed record delimiter. conform with the UNIX single linefeed record delimiter.
@ -125,9 +125,9 @@ DDEESSCCRRIIPPTTIIOONN
_l_o_c_a_l_-_f_i_l_e. If interactive prompting is on, ffttpp will prompt _l_o_c_a_l_-_f_i_l_e. If interactive prompting is on, ffttpp will prompt
the user to verify that the last argument is indeed the tar- the user to verify that the last argument is indeed the tar-
get local file for receiving ddiirr output. If no directory is get local file for receiving ddiirr output. If no directory is
specified, the current working directory on the remote specified, the current working directory on the remote ma-
machine is used. If no local file is specified, or chine is used. If no local file is specified, or _l_o_c_a_l_-_f_i_l_e
_l_o_c_a_l_-_f_i_l_e is --, output comes to the terminal. is --, output comes to the terminal.
ddiissccoonnnneecctt A synonym for _c_l_o_s_e. ddiissccoonnnneecctt A synonym for _c_l_o_s_e.
@ -153,12 +153,12 @@ DDEESSCCRRIIPPTTIIOONN
exact result depends on the foreign operating system and ftp exact result depends on the foreign operating system and ftp
server, and can be previewed by doing `mls remote-files -'. server, and can be previewed by doing `mls remote-files -'.
As a security measure, remotely globbed files that starts As a security measure, remotely globbed files that starts
with `/' or contains `../', will not be automatically with `/' or contains `../', will not be automatically re-
received. If you have interactive prompting turned off, these ceived. If you have interactive prompting turned off, these
filenames will be ignored. Note: mmggeett and mmppuutt are not meant filenames will be ignored. Note: mmggeett and mmppuutt are not meant
to transfer entire directory subtrees of files. That can be to transfer entire directory subtrees of files. That can be
done by transferring a tar(1) archive of the subtree (in done by transferring a tar(1) archive of the subtree (in bi-
binary mode). nary mode).
hhaasshh Toggle hash-sign (``#'') printing for each data block trans- hhaasshh Toggle hash-sign (``#'') printing for each data block trans-
ferred. The size of a data block is 1024 bytes. ferred. The size of a data block is 1024 bytes.
@ -182,7 +182,7 @@ DDEESSCCRRIIPPTTIIOONN
machine. The listing includes any system-dependent informa- machine. The listing includes any system-dependent informa-
tion that the server chooses to include; for example, most tion that the server chooses to include; for example, most
UNIX systems will produce output from the command `ls -l'. UNIX systems will produce output from the command `ls -l'.
(See also nnlliisstt.) If _r_e_m_o_t_e_-_d_i_r_e_c_t_o_r_y is left unspecified, (See also nnlliisstt.) If _r_e_m_o_t_e_-_d_i_r_e_c_t_o_r_y is left unspecified,
the current working directory is used. If interactive the current working directory is used. If interactive
prompting is on, ffttpp will prompt the user to verify that the prompting is on, ffttpp will prompt the user to verify that the
last argument is indeed the target local file for receiving last argument is indeed the target local file for receiving
@ -194,18 +194,17 @@ DDEESSCCRRIIPPTTIIOONN
_m_a_c_r_o_-_n_a_m_e; a null line (consecutive newline characters in a _m_a_c_r_o_-_n_a_m_e; a null line (consecutive newline characters in a
file or carriage returns from the terminal) terminates macro file or carriage returns from the terminal) terminates macro
input mode. There is a limit of 16 macros and 4096 total input mode. There is a limit of 16 macros and 4096 total
characters in all defined macros. Macros remain defined characters in all defined macros. Macros remain defined un-
until a cclloossee command is executed. The macro processor til a cclloossee command is executed. The macro processor inter-
interprets `$' and `\' as special characters. A `$' followed prets `$' and `\' as special characters. A `$' followed by a
by a number (or numbers) is replaced by the corresponding number (or numbers) is replaced by the corresponding argument
argument on the macro invocation command line. A `$' fol- on the macro invocation command line. A `$' followed by an
lowed by an `i' signals that macro processor that the execut- `i' signals that macro processor that the executing macro is
ing macro is to be looped. On the first pass `$i' is to be looped. On the first pass `$i' is replaced by the
replaced by the first argument on the macro invocation com- first argument on the macro invocation command line, on the
mand line, on the second pass it is replaced by the second second pass it is replaced by the second argument, and so on.
argument, and so on. A `\' followed by any character is A `\' followed by any character is replaced by that charac-
replaced by that character. Use the `\' to prevent special ter. Use the `\' to prevent special treatment of the `$'.
treatment of the `$'.
mmddeelleettee [_r_e_m_o_t_e_-_f_i_l_e_s] mmddeelleettee [_r_e_m_o_t_e_-_f_i_l_e_s]
Delete the _r_e_m_o_t_e_-_f_i_l_e_s on the remote machine. Delete the _r_e_m_o_t_e_-_f_i_l_e_s on the remote machine.
@ -240,8 +239,8 @@ DDEESSCCRRIIPPTTIIOONN
``stream'' mode. ``stream'' mode.
mmooddttiimmee _f_i_l_e_-_n_a_m_e mmooddttiimmee _f_i_l_e_-_n_a_m_e
Show the last modification time of the file on the remote Show the last modification time of the file on the remote ma-
machine. chine.
mmppuutt _l_o_c_a_l_-_f_i_l_e_s mmppuutt _l_o_c_a_l_-_f_i_l_e_s
Expand wild cards in the list of local files given as argu- Expand wild cards in the list of local files given as argu-
@ -257,20 +256,20 @@ DDEESSCCRRIIPPTTIIOONN
_g_e_t. _g_e_t.
nnlliisstt [_r_e_m_o_t_e_-_d_i_r_e_c_t_o_r_y] [_l_o_c_a_l_-_f_i_l_e] nnlliisstt [_r_e_m_o_t_e_-_d_i_r_e_c_t_o_r_y] [_l_o_c_a_l_-_f_i_l_e]
Print a list of the files in a directory on the remote Print a list of the files in a directory on the remote ma-
machine. If _r_e_m_o_t_e_-_d_i_r_e_c_t_o_r_y is left unspecified, the cur- chine. If _r_e_m_o_t_e_-_d_i_r_e_c_t_o_r_y is left unspecified, the current
rent working directory is used. If interactive prompting is working directory is used. If interactive prompting is on,
on, ffttpp will prompt the user to verify that the last argument ffttpp will prompt the user to verify that the last argument is
is indeed the target local file for receiving nnlliisstt output. indeed the target local file for receiving nnlliisstt output. If
If no local file is specified, or if _l_o_c_a_l_-_f_i_l_e is --, the no local file is specified, or if _l_o_c_a_l_-_f_i_l_e is --, the output
output is sent to the terminal. is sent to the terminal.
nnmmaapp [_i_n_p_a_t_t_e_r_n _o_u_t_p_a_t_t_e_r_n] nnmmaapp [_i_n_p_a_t_t_e_r_n _o_u_t_p_a_t_t_e_r_n]
Set or unset the filename mapping mechanism. If no arguments Set or unset the filename mapping mechanism. If no arguments
are specified, the filename mapping mechanism is unset. If are specified, the filename mapping mechanism is unset. If
arguments are specified, remote filenames are mapped during arguments are specified, remote filenames are mapped during
mmppuutt commands and ppuutt commands issued without a specified mmppuutt commands and ppuutt commands issued without a specified re-
remote target filename. If arguments are specified, local mote target filename. If arguments are specified, local
filenames are mapped during mmggeett commands and ggeett commands filenames are mapped during mmggeett commands and ggeett commands
issued without a specified local target filename. This com- issued without a specified local target filename. This com-
mand is useful when connecting to a non-UNIX remote computer mand is useful when connecting to a non-UNIX remote computer
@ -281,24 +280,24 @@ DDEESSCCRRIIPPTTIIOONN
settings). Variable templating is accomplished by including settings). Variable templating is accomplished by including
the sequences `$1', `$2', ..., `$9' in _i_n_p_a_t_t_e_r_n. Use `\' to the sequences `$1', `$2', ..., `$9' in _i_n_p_a_t_t_e_r_n. Use `\' to
prevent this special treatment of the `$' character. All prevent this special treatment of the `$' character. All
other characters are treated literally, and are used to other characters are treated literally, and are used to de-
determine the nnmmaapp [_i_n_p_a_t_t_e_r_n] variable values. For example, termine the nnmmaapp [_i_n_p_a_t_t_e_r_n] variable values. For example,
given _i_n_p_a_t_t_e_r_n $1.$2 and the remote file name "mydata.data", given _i_n_p_a_t_t_e_r_n $1.$2 and the remote file name "mydata.data",
$1 would have the value "mydata", and $2 would have the value $1 would have the value "mydata", and $2 would have the value
"data". The _o_u_t_p_a_t_t_e_r_n determines the resulting mapped file- "data". The _o_u_t_p_a_t_t_e_r_n determines the resulting mapped file-
name. The sequences `$1', `$2', ...., `$9' are replaced by name. The sequences `$1', `$2', ...., `$9' are replaced by
any value resulting from the _i_n_p_a_t_t_e_r_n template. The any value resulting from the _i_n_p_a_t_t_e_r_n template. The se-
sequence `$0' is replace by the original filename. Addition- quence `$0' is replace by the original filename. Additional-
ally, the sequence `[_s_e_q_1, _s_e_q_2]' is replaced by [_s_e_q_1] if ly, the sequence `[_s_e_q_1, _s_e_q_2]' is replaced by [_s_e_q_1] if _s_e_q_1
_s_e_q_1 is not a null string; otherwise it is replaced by _s_e_q_2. is not a null string; otherwise it is replaced by _s_e_q_2. For
For example, the command example, the command
nmap $1.$2.$3 [$1,$2].[$2,file] nmap $1.$2.$3 [$1,$2].[$2,file]
would yield the output filename "myfile.data" for input file- would yield the output filename "myfile.data" for input file-
names "myfile.data" and "myfile.data.old", "myfile.file" for names "myfile.data" and "myfile.data.old", "myfile.file" for
the input filename "myfile", and "myfile.myfile" for the the input filename "myfile", and "myfile.myfile" for the in-
input filename ".myfile". Spaces may be included in put filename ".myfile". Spaces may be included in
_o_u_t_p_a_t_t_e_r_n, as in the example: `nmap $1 sed "s/ *$//" > $1' _o_u_t_p_a_t_t_e_r_n, as in the example: `nmap $1 sed "s/ *$//" > $1'
. Use the `\' character to prevent special treatment of the . Use the `\' character to prevent special treatment of the
`$','[','[', and `,' characters. `$','[','[', and `,' characters.
@ -309,8 +308,8 @@ DDEESSCCRRIIPPTTIIOONN
lation mechanism is unset. If arguments are specified, char- lation mechanism is unset. If arguments are specified, char-
acters in remote filenames are translated during mmppuutt com- acters in remote filenames are translated during mmppuutt com-
mands and ppuutt commands issued without a specified remote tar- mands and ppuutt commands issued without a specified remote tar-
get filename. If arguments are specified, characters in get filename. If arguments are specified, characters in lo-
local filenames are translated during mmggeett commands and ggeett cal filenames are translated during mmggeett commands and ggeett
commands issued without a specified local target filename. commands issued without a specified local target filename.
This command is useful when connecting to a non-UNIX remote This command is useful when connecting to a non-UNIX remote
computer with different file naming conventions or practices. computer with different file naming conventions or practices.
@ -322,9 +321,9 @@ DDEESSCCRRIIPPTTIIOONN
ooppeenn _h_o_s_t [_p_o_r_t] ooppeenn _h_o_s_t [_p_o_r_t]
Establish a connection to the specified _h_o_s_t FTP server. An Establish a connection to the specified _h_o_s_t FTP server. An
optional port number may be supplied, in which case, ffttpp will optional port number may be supplied, in which case, ffttpp will
attempt to contact an FTP server at that port. If the attempt to contact an FTP server at that port. If the aauuttoo--
aauuttoo--llooggiinn option is on (default), ffttpp will also attempt to llooggiinn option is on (default), ffttpp will also attempt to auto-
automatically log the user in to the FTP server (see below). matically log the user in to the FTP server (see below).
ppaassssiivvee Toggle passive mode. If passive mode is turned on (default ppaassssiivvee Toggle passive mode. If passive mode is turned on (default
is off), the ftp client will send a PASV command for all data is off), the ftp client will send a PASV command for all data
@ -336,9 +335,8 @@ DDEESSCCRRIIPPTTIIOONN
tens on a port and sends that address to the remote server, tens on a port and sends that address to the remote server,
who connects back to it. Passive mode is useful when using who connects back to it. Passive mode is useful when using
ffttpp through a gateway router or host that controls the direc- ffttpp through a gateway router or host that controls the direc-
tionality of traffic. (Note that though ftp servers are tionality of traffic. (Note that though ftp servers are re-
required to support the PASV command by RFC 1123, some do quired to support the PASV command by RFC 1123, some do not.)
not.)
pprroommpptt Toggle interactive prompting. Interactive prompting occurs pprroommpptt Toggle interactive prompting. Interactive prompting occurs
during multiple file transfers to allow the user to selec- during multiple file transfers to allow the user to selec-
@ -354,15 +352,15 @@ DDEESSCCRRIIPPTTIIOONN
ondary control connection. Enter the command "proxy ?" to ondary control connection. Enter the command "proxy ?" to
see other ftp commands executable on the secondary connec- see other ftp commands executable on the secondary connec-
tion. The following commands behave differently when pref- tion. The following commands behave differently when pref-
aced by pprrooxxyy: ooppeenn will not define new macros during the aced by pprrooxxyy: ooppeenn will not define new macros during the au-
auto-login process, cclloossee will not erase existing macro defi- to-login process, cclloossee will not erase existing macro defini-
nitions, ggeett and mmggeett transfer files from the host on the tions, ggeett and mmggeett transfer files from the host on the pri-
primary control connection to the host on the secondary con- mary control connection to the host on the secondary control
trol connection, and ppuutt, mmppuutt, and aappppeenndd transfer files connection, and ppuutt, mmppuutt, and aappppeenndd transfer files from the
from the host on the secondary control connection to the host host on the secondary control connection to the host on the
on the primary control connection. Third party file trans- primary control connection. Third party file transfers de-
fers depend upon support of the ftp protocol PASV command by pend upon support of the ftp protocol PASV command by the
the server on the secondary control connection. server on the secondary control connection.
ppuutt _l_o_c_a_l_-_f_i_l_e [_r_e_m_o_t_e_-_f_i_l_e] ppuutt _l_o_c_a_l_-_f_i_l_e [_r_e_m_o_t_e_-_f_i_l_e]
Store a local file on the remote machine. If _r_e_m_o_t_e_-_f_i_l_e is Store a local file on the remote machine. If _r_e_m_o_t_e_-_f_i_l_e is
@ -396,22 +394,22 @@ DDEESSCCRRIIPPTTIIOONN
is specified it is supplied to the server as well. is specified it is supplied to the server as well.
rreemmootteessttaattuuss [_f_i_l_e_-_n_a_m_e] rreemmootteessttaattuuss [_f_i_l_e_-_n_a_m_e]
With no arguments, show status of remote machine. If With no arguments, show status of remote machine. If _f_i_l_e_-
_f_i_l_e_-_n_a_m_e is specified, show status of _f_i_l_e_-_n_a_m_e on remote _n_a_m_e is specified, show status of _f_i_l_e_-_n_a_m_e on remote ma-
machine. chine.
rreennaammee [_f_r_o_m] [_t_o] rreennaammee [_f_r_o_m] [_t_o]
Rename the file _f_r_o_m on the remote machine, to the file _t_o. Rename the file _f_r_o_m on the remote machine, to the file _t_o.
rreesseett Clear reply queue. This command re-synchronizes com- rreesseett Clear reply queue. This command re-synchronizes command/re-
mand/reply sequencing with the remote ftp server. Resynchro- ply sequencing with the remote ftp server. Resynchronization
nization may be necessary following a violation of the ftp may be necessary following a violation of the ftp protocol by
protocol by the remote server. the remote server.
rreessttaarrtt _m_a_r_k_e_r rreessttaarrtt _m_a_r_k_e_r
Restart the immediately following ggeett or ppuutt at the indicated Restart the immediately following ggeett or ppuutt at the indicated
_m_a_r_k_e_r. On UNIX systems, marker is usually a byte offset _m_a_r_k_e_r. On UNIX systems, marker is usually a byte offset in-
into the file. to the file.
rrmmddiirr _d_i_r_e_c_t_o_r_y_-_n_a_m_e rrmmddiirr _d_i_r_e_c_t_o_r_y_-_n_a_m_e
Delete a directory on the remote machine. Delete a directory on the remote machine.
@ -424,14 +422,14 @@ DDEESSCCRRIIPPTTIIOONN
this process continues up to ".99", an error message is this process continues up to ".99", an error message is
printed, and the transfer does not take place. The generated printed, and the transfer does not take place. The generated
unique filename will be reported. Note that rruunniiqquuee will not unique filename will be reported. Note that rruunniiqquuee will not
affect local files generated from a shell command (see affect local files generated from a shell command (see be-
below). The default value is off. low). The default value is off.
sseenndd _l_o_c_a_l_-_f_i_l_e [_r_e_m_o_t_e_-_f_i_l_e] sseenndd _l_o_c_a_l_-_f_i_l_e [_r_e_m_o_t_e_-_f_i_l_e]
A synonym for put. A synonym for put.
sseennddppoorrtt Toggle the use of PORT commands. By default, ffttpp will sseennddppoorrtt Toggle the use of PORT commands. By default, ffttpp will at-
attempt to use a PORT command when establishing a connection tempt to use a PORT command when establishing a connection
for each data transfer. The use of PORT commands can prevent for each data transfer. The use of PORT commands can prevent
delays when performing multiple file transfers. If the PORT delays when performing multiple file transfers. If the PORT
command fails, ffttpp will use the default data port. When the command fails, ffttpp will use the default data port. When the
@ -455,11 +453,11 @@ DDEESSCCRRIIPPTTIIOONN
ssuunniiqquuee Toggle storing of files on remote machine under unique file ssuunniiqquuee Toggle storing of files on remote machine under unique file
names. Remote ftp server must support ftp protocol STOU com- names. Remote ftp server must support ftp protocol STOU com-
mand for successful completion. The remote server will mand for successful completion. The remote server will re-
report unique name. Default value is off. port unique name. Default value is off.
ssyysstteemm Show the type of operating system running on the remote ssyysstteemm Show the type of operating system running on the remote ma-
machine. chine.
tteenneexx Set the file transfer type to that needed to talk to TENEX tteenneexx Set the file transfer type to that needed to talk to TENEX
machines. machines.
@ -489,9 +487,9 @@ DDEESSCCRRIIPPTTIIOONN
vveerrbboossee Toggle verbose mode. In verbose mode, all responses from the vveerrbboossee Toggle verbose mode. In verbose mode, all responses from the
FTP server are displayed to the user. In addition, if ver- FTP server are displayed to the user. In addition, if ver-
bose is on, when a file transfer completes, statistics bose is on, when a file transfer completes, statistics re-
regarding the efficiency of the transfer are reported. By garding the efficiency of the transfer are reported. By de-
default, verbose is on. fault, verbose is on.
?? [_c_o_m_m_a_n_d] ?? [_c_o_m_m_a_n_d]
A synonym for help. A synonym for help.
@ -513,20 +511,19 @@ DDEESSCCRRIIPPTTIIOONN
AABBOORRTTIINNGG AA FFIILLEE TTRRAANNSSFFEERR AABBOORRTTIINNGG AA FFIILLEE TTRRAANNSSFFEERR
To abort a file transfer, use the terminal interrupt key (usually Ctrl- To abort a file transfer, use the terminal interrupt key (usually Ctrl-
C). Sending transfers will be immediately halted. Receiving transfers C). Sending transfers will be immediately halted. Receiving transfers
will be halted by sending a ftp protocol ABOR command to the remote will be halted by sending a ftp protocol ABOR command to the remote serv-
server, and discarding any further data received. The speed at which er, and discarding any further data received. The speed at which this is
this is accomplished depends upon the remote server's support for ABOR accomplished depends upon the remote server's support for ABOR process-
processing. If the remote server does not support the ABOR command, an ing. If the remote server does not support the ABOR command, an `ftp>'
`ftp>' prompt will not appear until the remote server has completed send- prompt will not appear until the remote server has completed sending the
ing the requested file. requested file.
The terminal interrupt key sequence will be ignored when ffttpp has com- The terminal interrupt key sequence will be ignored when ffttpp has complet-
pleted any local processing and is awaiting a reply from the remote ed any local processing and is awaiting a reply from the remote server.
server. A long delay in this mode may result from the ABOR processing A long delay in this mode may result from the ABOR processing described
described above, or from unexpected behavior by the remote server, above, or from unexpected behavior by the remote server, including viola-
including violations of the ftp protocol. If the delay results from tions of the ftp protocol. If the delay results from unexpected remote
unexpected remote server behavior, the local ffttpp program must be killed server behavior, the local ffttpp program must be killed by hand.
by hand.
FFIILLEE NNAAMMIINNGG CCOONNVVEENNTTIIOONNSS FFIILLEE NNAAMMIINNGG CCOONNVVEENNTTIIOONNSS
Files specified as arguments to ffttpp commands are processed according to Files specified as arguments to ffttpp commands are processed according to
@ -539,8 +536,8 @@ FFIILLEE NNAAMMIINNGG CCOONNVVEENNTTIIOONNSS
argument is interpreted as a shell command. FFttpp then forks a shell, argument is interpreted as a shell command. FFttpp then forks a shell,
using popen(3) with the argument supplied, and reads (writes) from using popen(3) with the argument supplied, and reads (writes) from
the stdout (stdin). If the shell command includes spaces, the argu- the stdout (stdin). If the shell command includes spaces, the argu-
ment must be quoted; e.g. ``" ls -lt"''. A particularly useful ment must be quoted; e.g. ``" ls -lt"''. A particularly useful ex-
example of this mechanism is: ``dir more''. ample of this mechanism is: ``dir more''.
3. Failing the above checks, if ``globbing'' is enabled, local file 3. Failing the above checks, if ``globbing'' is enabled, local file
names are expanded according to the rules used in the csh(1); c.f. names are expanded according to the rules used in the csh(1); c.f.
@ -549,14 +546,14 @@ FFIILLEE NNAAMMIINNGG CCOONNVVEENNTTIIOONNSS
operation is used. operation is used.
4. For mmggeett commands and ggeett commands with unspecified local file 4. For mmggeett commands and ggeett commands with unspecified local file
names, the local filename is the remote filename, which may be names, the local filename is the remote filename, which may be al-
altered by a ccaassee, nnttrraannss, or nnmmaapp setting. The resulting filename tered by a ccaassee, nnttrraannss, or nnmmaapp setting. The resulting filename
may then be altered if rruunniiqquuee is on. may then be altered if rruunniiqquuee is on.
5. For mmppuutt commands and ppuutt commands with unspecified remote file 5. For mmppuutt commands and ppuutt commands with unspecified remote file
names, the remote filename is the local filename, which may be names, the remote filename is the local filename, which may be al-
altered by a nnttrraannss or nnmmaapp setting. The resulting filename may tered by a nnttrraannss or nnmmaapp setting. The resulting filename may then
then be altered by the remote server if ssuunniiqquuee is on. be altered by the remote server if ssuunniiqquuee is on.
FFIILLEE TTRRAANNSSFFEERR PPAARRAAMMEETTEERRSS FFIILLEE TTRRAANNSSFFEERR PPAARRAAMMEETTEERRSS
The FTP specification specifies many parameters which may affect a file The FTP specification specifies many parameters which may affect a file
@ -565,8 +562,8 @@ FFIILLEE TTRRAANNSSFFEERR PPAARRAAMMEETTEERRSS
FFttpp supports the ascii and image types of file transfer, plus local byte FFttpp supports the ascii and image types of file transfer, plus local byte
size 8 for tteenneexx mode transfers. size 8 for tteenneexx mode transfers.
FFttpp supports only the default values for the remaining file transfer FFttpp supports only the default values for the remaining file transfer pa-
parameters: mmooddee, ffoorrmm, and ssttrruucctt. rameters: mmooddee, ffoorrmm, and ssttrruucctt.
TTHHEE ..nneettrrcc FFIILLEE TTHHEE ..nneettrrcc FFIILLEE
The _._n_e_t_r_c file contains login and initialization information used by the The _._n_e_t_r_c file contains login and initialization information used by the
@ -575,12 +572,12 @@ TTHHEE ..nneettrrcc FFIILLEE
new-lines: new-lines:
mmaacchhiinnee _n_a_m_e mmaacchhiinnee _n_a_m_e
Identify a remote machine _n_a_m_e. The auto-login process Identify a remote machine _n_a_m_e. The auto-login process search-
searches the _._n_e_t_r_c file for a mmaacchhiinnee token that matches the es the _._n_e_t_r_c file for a mmaacchhiinnee token that matches the remote
remote machine specified on the ffttpp command line or as an ooppeenn machine specified on the ffttpp command line or as an ooppeenn command
command argument. Once a match is made, the subsequent _._n_e_t_r_c argument. Once a match is made, the subsequent _._n_e_t_r_c tokens
tokens are processed, stopping when the end of file is reached are processed, stopping when the end of file is reached or an-
or another mmaacchhiinnee or a ddeeffaauulltt token is encountered. other mmaacchhiinnee or a ddeeffaauulltt token is encountered.
ddeeffaauulltt This is the same as mmaacchhiinnee _n_a_m_e except that ddeeffaauulltt matches ddeeffaauulltt This is the same as mmaacchhiinnee _n_a_m_e except that ddeeffaauulltt matches
any name. There can be only one ddeeffaauulltt token, and it must be any name. There can be only one ddeeffaauulltt token, and it must be
@ -588,9 +585,9 @@ TTHHEE ..nneettrrcc FFIILLEE
default login anonymous password user@site default login anonymous password user@site
thereby giving the user _a_u_t_o_m_a_t_i_c anonymous ftp login to thereby giving the user _a_u_t_o_m_a_t_i_c anonymous ftp login to ma-
machines not specified in _._n_e_t_r_c. This can be overridden by chines not specified in _._n_e_t_r_c. This can be overridden by us-
using the --nn flag to disable auto-login. ing the --nn flag to disable auto-login.
llooggiinn _n_a_m_e llooggiinn _n_a_m_e
Identify a user on the remote machine. If this token is pre- Identify a user on the remote machine. If this token is pre-
@ -644,4 +641,4 @@ BBUUGGSS
rect transfers of binary files to and from 4.2BSD servers using the ascii rect transfers of binary files to and from 4.2BSD servers using the ascii
type. Avoid this problem by using the binary image type. type. Avoid this problem by using the binary image type.
4.2 Berkeley Distribution April 27, 1996 4.2 Berkeley Distribution 4.2 Berkeley Distribution April 27, 1996 10

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -306,7 +305,8 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
else :; fi; \ else :; fi; \
@ -315,17 +315,14 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
uninstall-libexecPROGRAMS: uninstall-libexecPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ @list='$(libexec_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \ echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
rm -f $(DESTDIR)$(libexecdir)/$$f; \ rm -f $(DESTDIR)$(libexecdir)/$$f; \
done done
clean-libexecPROGRAMS: clean-libexecPROGRAMS:
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ -test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
ftpd$(EXEEXT): $(ftpd_OBJECTS) $(ftpd_DEPENDENCIES) ftpd$(EXEEXT): $(ftpd_OBJECTS) $(ftpd_DEPENDENCIES)
@rm -f ftpd$(EXEEXT) @rm -f ftpd$(EXEEXT)
$(LINK) $(ftpd_LDFLAGS) $(ftpd_OBJECTS) $(ftpd_LDADD) $(LIBS) $(LINK) $(ftpd_LDFLAGS) $(ftpd_OBJECTS) $(ftpd_LDADD) $(LIBS)
@ -390,10 +387,6 @@ install-man5: $(man5_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
5*) ;; \
*) ext='5' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -433,10 +426,6 @@ install-man8: $(man8_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
8*) ;; \
*) ext='8' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -502,7 +491,7 @@ top_distdir = ../../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -553,12 +542,11 @@ clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild." @echo "it deletes files that may require special tools to rebuild."
-test -z "ftpcmd.c" || rm -f ftpcmd.c
clean: clean-am clean: clean-am
clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \ clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \

View File

@ -1,12 +1,11 @@
FTPD(8) FreeBSD System Manager's Manual FTPD(8) FTPD(8) NetBSD System Manager's Manual FTPD(8)
NNAAMMEE NNAAMMEE
ffttppdd - Internet File Transfer Protocol server ffttppdd - Internet File Transfer Protocol server
SSYYNNOOPPSSIISS SSYYNNOOPPSSIISS
ffttppdd [--aa _a_u_t_h_m_o_d_e] [--ddiillvvUU] [--gg _u_m_a_s_k] [--pp _p_o_r_t] [--TT _m_a_x_t_i_m_e_o_u_t] ffttppdd [--aa _a_u_t_h_m_o_d_e] [--ddiillvvUU] [--gg _u_m_a_s_k] [--pp _p_o_r_t] [--TT _m_a_x_t_i_m_e_o_u_t] [--tt
[--tt _t_i_m_e_o_u_t] [--uu _d_e_f_a_u_l_t _u_m_a_s_k] [--BB | ----bbuuiillttiinn--llss] _t_i_m_e_o_u_t] [--uu _d_e_f_a_u_l_t _u_m_a_s_k] [--BB | ----bbuuiillttiinn--llss] [----ggoooodd--cchhaarrss==_s_t_r_i_n_g]
[----ggoooodd--cchhaarrss==_s_t_r_i_n_g]
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
FFttppdd is the Internet File Transfer Protocol server process. The server FFttppdd is the Internet File Transfer Protocol server process. The server
@ -18,8 +17,7 @@ DDEESSCCRRIIPPTTIIOONN
--aa Select the level of authentication required. Kerberised login --aa Select the level of authentication required. Kerberised login
can not be turned off. The default is to only allow kerberised can not be turned off. The default is to only allow kerberised
login. Other possibilities can be turned on by giving a string login. Other possibilities can be turned on by giving a string
of comma separated flags as argument to --aa. Recognised flags of comma separated flags as argument to --aa. Recognised flags are:
are:
_p_l_a_i_n Allow logging in with plaintext password. The password can _p_l_a_i_n Allow logging in with plaintext password. The password can
be a(n) OTP or an ordinary password. be a(n) OTP or an ordinary password.
@ -28,8 +26,8 @@ DDEESSCCRRIIPPTTIIOONN
_f_t_p Allow anonymous login. _f_t_p Allow anonymous login.
The following combination modes exists for backwards compatibil- The following combination modes exists for backwards compatibili-
ity: ty:
_n_o_n_e Same as _p_l_a_i_n_,_f_t_p. _n_o_n_e Same as _p_l_a_i_n_,_f_t_p.
@ -57,17 +55,17 @@ DDEESSCCRRIIPPTTIIOONN
period allowed may be set to _t_i_m_e_o_u_t seconds with the --TT option. period allowed may be set to _t_i_m_e_o_u_t seconds with the --TT option.
The default limit is 2 hours. The default limit is 2 hours.
--tt The inactivity timeout period is set to _t_i_m_e_o_u_t seconds (the --tt The inactivity timeout period is set to _t_i_m_e_o_u_t seconds (the de-
default is 15 minutes). fault is 15 minutes).
--uu Set the initial umask to something else than the default 027. --uu Set the initial umask to something else than the default 027.
--UU In previous versions of ffttppdd, when a passive mode client --UU In previous versions of ffttppdd, when a passive mode client request-
requested a data connection to the server, the server would use ed a data connection to the server, the server would use data
data ports in the range 1024..4999. Now, by default, if the sys- ports in the range 1024..4999. Now, by default, if the system
tem supports the IP_PORTRANGE socket option, the server will use supports the IP_PORTRANGE socket option, the server will use data
data ports in the range 49152..65535. Specifying this option ports in the range 49152..65535. Specifying this option will re-
will revert to the old behavior. vert to the old behavior.
--vv Verbose mode. --vv Verbose mode.
@ -77,8 +75,8 @@ DDEESSCCRRIIPPTTIIOONN
----ggoooodd--cchhaarrss==_s_t_r_i_n_g ----ggoooodd--cchhaarrss==_s_t_r_i_n_g
allowed anonymous upload filename chars allowed anonymous upload filename chars
The file _/_e_t_c_/_n_o_l_o_g_i_n can be used to disable ftp access. If the file The file _/_e_t_c_/_n_o_l_o_g_i_n can be used to disable ftp access. If the file ex-
exists, ffttppdd displays it and exits. If the file _/_e_t_c_/_f_t_p_w_e_l_c_o_m_e exists, ists, ffttppdd displays it and exits. If the file _/_e_t_c_/_f_t_p_w_e_l_c_o_m_e exists,
ffttppdd prints it before issuing the ``ready'' message. If the file ffttppdd prints it before issuing the ``ready'' message. If the file
_/_e_t_c_/_m_o_t_d exists, ffttppdd prints it after a successful login. _/_e_t_c_/_m_o_t_d exists, ffttppdd prints it after a successful login.
@ -140,9 +138,9 @@ DDEESSCCRRIIPPTTIIOONN
The following non-standard or UNIX specific commands are supported by the The following non-standard or UNIX specific commands are supported by the
SITE request. SITE request.
UMASK change umask, (e.g. SSIITTEE UUMMAASSKK 000022) UMASK change umask, (e.g. SSIITTEE UUMMAASSKK 000022)
IDLE set idle-timer, (e.g. SSIITTEE IIDDLLEE 6600) IDLE set idle-timer, (e.g. SSIITTEE IIDDLLEE 6600)
CHMOD change mode of a file (e.g. SSIITTEE CCHHMMOODD 775555 ffiilleennaammee) CHMOD change mode of a file (e.g. SSIITTEE CCHHMMOODD 775555 ffiilleennaammee)
FIND quickly find a specific file with GNU locate(1). FIND quickly find a specific file with GNU locate(1).
HELP give help information. HELP give help information.
@ -167,8 +165,8 @@ DDEESSCCRRIIPPTTIIOONN
FFttppdd authenticates users according to these rules. FFttppdd authenticates users according to these rules.
1. If Kerberos authentication is used, the user must pass valid 1. If Kerberos authentication is used, the user must pass valid
tickets and the principal must be allowed to login as the tickets and the principal must be allowed to login as the re-
remote user. mote user.
2. The login name must be in the password data base, and not have 2. The login name must be in the password data base, and not have
a null password (if kerberos is used the password field is not a null password (if kerberos is used the password field is not
@ -177,8 +175,8 @@ DDEESSCCRRIIPPTTIIOONN
user has an OTP key, the response from a successful USER com- user has an OTP key, the response from a successful USER com-
mand will include an OTP challenge. The client may choose to mand will include an OTP challenge. The client may choose to
respond with a PASS command giving either a standard password respond with a PASS command giving either a standard password
or an OTP one-time password. The server will automatically or an OTP one-time password. The server will automatically de-
determine which type of password it has been given and attempt termine which type of password it has been given and attempt
to authenticate accordingly. See otp(1) for more information to authenticate accordingly. See otp(1) for more information
on OTP authentication. on OTP authentication.
@ -204,8 +202,8 @@ DDEESSCCRRIIPPTTIIOONN
In the last case, ffttppdd takes special measures to restrict the client's In the last case, ffttppdd takes special measures to restrict the client's
access privileges. The server performs a chroot(2) to the home directory access privileges. The server performs a chroot(2) to the home directory
of the ``ftp'' user. In order that system security is not breached, it of the ``ftp'' user. In order that system security is not breached, it
is recommended that the ``ftp'' subtree be constructed with care, con- is recommended that the ``ftp'' subtree be constructed with care, consid-
sider following these guidelines for anonymous ftp. er following these guidelines for anonymous ftp.
In general all files should be owned by ``root'', and have non-write per- In general all files should be owned by ``root'', and have non-write per-
missions (644 or 755 depending on the kind of file). No files should be missions (644 or 755 depending on the kind of file). No files should be
@ -253,8 +251,8 @@ DDEESSCCRRIIPPTTIIOONN
_~_f_t_p_/_p_u_b Traditional place to put whatever you want to make pub- _~_f_t_p_/_p_u_b Traditional place to put whatever you want to make pub-
lic. lic.
If you want guests to be able to upload files, create a _~_f_t_p_/_i_n_c_o_m_i_n_g If you want guests to be able to upload files, create a _~_f_t_p_/_i_n_c_o_m_i_n_g di-
directory owned by ``root'', and group ``ftp'' with mode 730 (make sure rectory owned by ``root'', and group ``ftp'' with mode 730 (make sure
``ftp'' is member of group ``ftp''). The following restrictions apply to ``ftp'' is member of group ``ftp''). The following restrictions apply to
anonymous users: anonymous users:
@ -267,8 +265,8 @@ DDEESSCCRRIIPPTTIIOONN
and SSIITTEE CCHHMMOODD. and SSIITTEE CCHHMMOODD.
++oo Filenames must start with an alpha-numeric character, and consist of ++oo Filenames must start with an alpha-numeric character, and consist of
alpha-numeric characters or any of the following: + (plus), - alpha-numeric characters or any of the following: + (plus), - (mi-
(minus), = (equal), _ (underscore), . (period), and , (comma). nus), = (equal), _ (underscore), . (period), and , (comma).
FFIILLEESS FFIILLEESS
/etc/ftpusers Access list for users. /etc/ftpusers Access list for users.
@ -296,4 +294,4 @@ BBUUGGSS
HHIISSTTOORRYY HHIISSTTOORRYY
The ffttppdd command appeared in 4.2BSD. The ffttppdd command appeared in 4.2BSD.
4.2 Berkeley Distribution April 19, 1997 4.2 Berkeley Distribution 4.2 Berkeley Distribution April 19, 1997 5

View File

@ -1,4 +1,4 @@
FTPUSERS(5) FreeBSD File Formats Manual FTPUSERS(5) FTPUSERS(5) NetBSD Programmer's Manual FTPUSERS(5)
NNAAMMEE NNAAMMEE
_/_e_t_c_/_f_t_p_u_s_e_r_s - FTP access list file _/_e_t_c_/_f_t_p_u_s_e_r_s - FTP access list file
@ -6,8 +6,8 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
_/_e_t_c_/_f_t_p_u_s_e_r_s contains a list of users that should be allowed or denied _/_e_t_c_/_f_t_p_u_s_e_r_s contains a list of users that should be allowed or denied
FTP access. Each line contains a user, optionally followed by ``allow'' FTP access. Each line contains a user, optionally followed by ``allow''
(anything but ``allow'' is ignored). The semi-user ``*'' matches any (anything but ``allow'' is ignored). The semi-user ``*'' matches any us-
user. Users that has an explicit ``allow'', or that does not match any er. Users that has an explicit ``allow'', or that does not match any
line, are allowed access. Anyone else is denied access. line, are allowed access. Anyone else is denied access.
Note that this is compatible with the old format, where this file con- Note that this is compatible with the old format, where this file con-
@ -23,4 +23,4 @@ EEXXAAMMPPLLEESS
SSEEEE AALLSSOO SSEEEE AALLSSOO
ftpd(8) ftpd(8)
KTH-KRB May 7, 1997 KTH-KRB KTH-KRB May 7, 1997 1

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -276,7 +275,8 @@ install-binPROGRAMS: $(bin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \ else :; fi; \
@ -285,17 +285,14 @@ install-binPROGRAMS: $(bin_PROGRAMS)
uninstall-binPROGRAMS: uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \ @list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \ rm -f $(DESTDIR)$(bindir)/$$f; \
done done
clean-binPROGRAMS: clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM) libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
install-libexecPROGRAMS: $(libexec_PROGRAMS) install-libexecPROGRAMS: $(libexec_PROGRAMS)
@$(NORMAL_INSTALL) @$(NORMAL_INSTALL)
@ -305,7 +302,8 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
else :; fi; \ else :; fi; \
@ -314,17 +312,14 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
uninstall-libexecPROGRAMS: uninstall-libexecPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ @list='$(libexec_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \ echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
rm -f $(DESTDIR)$(libexecdir)/$$f; \ rm -f $(DESTDIR)$(libexecdir)/$$f; \
done done
clean-libexecPROGRAMS: clean-libexecPROGRAMS:
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ -test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
kf$(EXEEXT): $(kf_OBJECTS) $(kf_DEPENDENCIES) kf$(EXEEXT): $(kf_OBJECTS) $(kf_DEPENDENCIES)
@rm -f kf$(EXEEXT) @rm -f kf$(EXEEXT)
$(LINK) $(kf_LDFLAGS) $(kf_OBJECTS) $(kf_LDADD) $(LIBS) $(LINK) $(kf_LDFLAGS) $(kf_OBJECTS) $(kf_LDADD) $(LIBS)
@ -372,10 +367,6 @@ install-man1: $(man1_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
1*) ;; \
*) ext='1' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -415,10 +406,6 @@ install-man8: $(man8_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
8*) ;; \
*) ext='8' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -484,7 +471,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -534,7 +521,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,12 +1,12 @@
KF(1) FreeBSD General Commands Manual KF(1) KF(1) NetBSD Reference Manual KF(1)
NNAAMMEE NNAAMMEE
kkff - securly forward tickets kkff - securly forward tickets
SSYYNNOOPPSSIISS SSYYNNOOPPSSIISS
kkff [--pp _p_o_r_t | ----ppoorrtt=_p_o_r_t] [--ll _l_o_g_i_n | ----llooggiinn=_l_o_g_i_n] [--cc _c_c_a_c_h_e | kkff [--pp _p_o_r_t | ----ppoorrtt=_p_o_r_t] [--ll _l_o_g_i_n | ----llooggiinn=_l_o_g_i_n] [--cc _c_c_a_c_h_e |
----ccccaacchhee=_c_c_a_c_h_e] [--FF | ----ffoorrwwaarrddaabbllee] [--GG | ----nnoo--ffoorrwwaarrddaabbllee] ----ccccaacchhee=_c_c_a_c_h_e] [--FF | ----ffoorrwwaarrddaabbllee] [--GG | ----nnoo--ffoorrwwaarrddaabbllee] [--hh |
[--hh | ----hheellpp] [----vveerrssiioonn] _h_o_s_t _._._. ----hheellpp] [----vveerrssiioonn] _h_o_s_t _._._.
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
The kkff program forwards tickets to a remove host through an authenticated The kkff program forwards tickets to a remove host through an authenticated
@ -42,4 +42,4 @@ DDEESSCCRRIIPPTTIIOONN
SSEEEE AALLSSOO SSEEEE AALLSSOO
kinit(1), telnet(1), kfd(8) kinit(1), telnet(1), kfd(8)
Heimdal July 2, 2000 Heimdal Heimdal July 2, 2000 1

View File

@ -1,11 +1,11 @@
KFD(8) FreeBSD System Manager's Manual KFD(8) KFD(8) NetBSD System Manager's Manual KFD(8)
NNAAMMEE NNAAMMEE
kkffdd - receive forwarded tickets kkffdd - receive forwarded tickets
SSYYNNOOPPSSIISS SSYYNNOOPPSSIISS
kkffdd [--pp _p_o_r_t | ----ppoorrtt=_p_o_r_t] [--ii | ----iinneettdd] [--RR _r_e_g_p_a_g | ----rreeggppaagg=_r_e_g_p_a_g] kkffdd [--pp _p_o_r_t | ----ppoorrtt=_p_o_r_t] [--ii | ----iinneettdd] [--RR _r_e_g_p_a_g | ----rreeggppaagg=_r_e_g_p_a_g]
[--hh | ----hheellpp] [----vveerrssiioonn] [--hh | ----hheellpp] [----vveerrssiioonn]
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
This is the daemon for kf(1). Supported options: This is the daemon for kf(1). Supported options:
@ -27,4 +27,4 @@ EEXXAAMMPPLLEESS
SSEEEE AALLSSOO SSEEEE AALLSSOO
kf(1) kf(1)
Heimdal July 2, 2000 Heimdal Heimdal July 2, 2000 1

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -287,7 +286,8 @@ install-binPROGRAMS: $(bin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \ else :; fi; \
@ -296,17 +296,14 @@ install-binPROGRAMS: $(bin_PROGRAMS)
uninstall-binPROGRAMS: uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \ @list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \ rm -f $(DESTDIR)$(bindir)/$$f; \
done done
clean-binPROGRAMS: clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
login$(EXEEXT): $(login_OBJECTS) $(login_DEPENDENCIES) login$(EXEEXT): $(login_OBJECTS) $(login_DEPENDENCIES)
@rm -f login$(EXEEXT) @rm -f login$(EXEEXT)
$(LINK) $(login_LDFLAGS) $(login_OBJECTS) $(login_LDADD) $(LIBS) $(LINK) $(login_LDFLAGS) $(login_OBJECTS) $(login_LDADD) $(LIBS)
@ -377,7 +374,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -427,7 +424,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -275,7 +274,8 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
else :; fi; \ else :; fi; \
@ -284,37 +284,35 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
uninstall-libexecPROGRAMS: uninstall-libexecPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ @list='$(libexec_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \ echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
rm -f $(DESTDIR)$(libexecdir)/$$f; \ rm -f $(DESTDIR)$(libexecdir)/$$f; \
done done
clean-libexecPROGRAMS: clean-libexecPROGRAMS:
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ -test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
push$(EXEEXT): $(push_OBJECTS) $(push_DEPENDENCIES) push$(EXEEXT): $(push_OBJECTS) $(push_DEPENDENCIES)
@rm -f push$(EXEEXT) @rm -f push$(EXEEXT)
$(LINK) $(push_LDFLAGS) $(push_OBJECTS) $(push_LDADD) $(LIBS) $(LINK) $(push_LDFLAGS) $(push_OBJECTS) $(push_LDADD) $(LIBS)
binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
install-binSCRIPTS: $(bin_SCRIPTS) install-binSCRIPTS: $(bin_SCRIPTS)
@$(NORMAL_INSTALL) @$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir) $(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_SCRIPTS)'; for p in $$list; do \ @list='$(bin_SCRIPTS)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f="`echo $$p|sed '$(transform)'`"; \
if test -f $$d$$p; then \ if test -f $$p; then \
f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f"; \
echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \ $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/$$f; \
$(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \ elif test -f $(srcdir)/$$p; then \
echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \ else :; fi; \
done done
uninstall-binSCRIPTS: uninstall-binSCRIPTS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(bin_SCRIPTS)'; for p in $$list; do \ @list='$(bin_SCRIPTS)'; for p in $$list; do \
f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ f="`echo $$p|sed '$(transform)'`"; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \ rm -f $(DESTDIR)$(bindir)/$$f; \
done done
@ -359,10 +357,6 @@ install-man1: $(man1_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
1*) ;; \
*) ext='1' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -402,10 +396,6 @@ install-man8: $(man8_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
8*) ;; \
*) ext='8' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -471,7 +461,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -522,7 +512,7 @@ clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,11 +1,11 @@
PFROM(1) FreeBSD General Commands Manual PFROM(1) PFROM(1) NetBSD Reference Manual PFROM(1)
NNAAMMEE NNAAMMEE
ppffrroomm - fetch a list of the current mail via POP ppffrroomm - fetch a list of the current mail via POP
SSYYNNOOPPSSIISS SSYYNNOOPPSSIISS
ppffrroomm [--44 | ----kkrrbb44] [--55 | ----kkrrbb55] [--vv | ----vveerrbboossee] [--cc | ----ccoouunntt] ppffrroomm [--44 | ----kkrrbb44] [--55 | ----kkrrbb55] [--vv | ----vveerrbboossee] [--cc | ----ccoouunntt]
[----hheeaaddeerr] [--pp _p_o_r_t_-_s_p_e_c | ----ppoorrtt==_p_o_r_t_-_s_p_e_c] [----hheeaaddeerr] [--pp _p_o_r_t_-_s_p_e_c | ----ppoorrtt==_p_o_r_t_-_s_p_e_c]
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
ppffrroomm is a script that does push --from. ppffrroomm is a script that does push --from.
@ -13,4 +13,4 @@ DDEESSCCRRIIPPTTIIOONN
SSEEEE AALLSSOO SSEEEE AALLSSOO
push(8) push(8)
HEIMDAL March 4, 2000 HEIMDAL HEIMDAL March 4, 2000 1

View File

@ -1,12 +1,12 @@
PUSH(8) FreeBSD System Manager's Manual PUSH(8) PUSH(8) NetBSD System Manager's Manual PUSH(8)
NNAAMMEE NNAAMMEE
ppuusshh - fetch mail via POP ppuusshh - fetch mail via POP
SSYYNNOOPPSSIISS SSYYNNOOPPSSIISS
ppuusshh [--44 | ----kkrrbb44] [--55 | ----kkrrbb55] [--vv | ----vveerrbboossee] [--ff | ----ffoorrkk] ppuusshh [--44 | ----kkrrbb44] [--55 | ----kkrrbb55] [--vv | ----vveerrbboossee] [--ff | ----ffoorrkk] [--ll |
[--ll | ----lleeaavvee] [----ffrroomm] [--cc | ----ccoouunntt] [----hheeaaddeerrss=_h_e_a_d_e_r_s] [--pp ----lleeaavvee] [----ffrroomm] [--cc | ----ccoouunntt] [----hheeaaddeerrss=_h_e_a_d_e_r_s] [--pp _p_o_r_t_-_s_p_e_c |
_p_o_r_t_-_s_p_e_c | ----ppoorrtt=_p_o_r_t_-_s_p_e_c] _p_o_-_b_o_x _f_i_l_e_n_a_m_e ----ppoorrtt=_p_o_r_t_-_s_p_e_c] _p_o_-_b_o_x _f_i_l_e_n_a_m_e
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
ppuusshh retrieves mail from the post office box _p_o_-_b_o_x, and stores the mail ppuusshh retrieves mail from the post office box _p_o_-_b_o_x, and stores the mail
@ -73,4 +73,4 @@ SSEEEE AALLSSOO
HHIISSTTOORRYY HHIISSTTOORRYY
ppuusshh was written while waiting for mmoovveemmaaiill to finish getting the mail. ppuusshh was written while waiting for mmoovveemmaaiill to finish getting the mail.
HEIMDAL May 31, 1998 HEIMDAL HEIMDAL May 31, 1998 2

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -257,7 +256,8 @@ install-binPROGRAMS: $(bin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \ else :; fi; \
@ -266,17 +266,14 @@ install-binPROGRAMS: $(bin_PROGRAMS)
uninstall-binPROGRAMS: uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \ @list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \ rm -f $(DESTDIR)$(bindir)/$$f; \
done done
clean-binPROGRAMS: clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
rcp$(EXEEXT): $(rcp_OBJECTS) $(rcp_DEPENDENCIES) rcp$(EXEEXT): $(rcp_OBJECTS) $(rcp_DEPENDENCIES)
@rm -f rcp$(EXEEXT) @rm -f rcp$(EXEEXT)
$(LINK) $(rcp_LDFLAGS) $(rcp_OBJECTS) $(rcp_LDADD) $(LIBS) $(LINK) $(rcp_LDFLAGS) $(rcp_OBJECTS) $(rcp_LDADD) $(LIBS)
@ -347,7 +344,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -397,7 +394,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -322,7 +321,8 @@ install-binPROGRAMS: $(bin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \ else :; fi; \
@ -331,17 +331,14 @@ install-binPROGRAMS: $(bin_PROGRAMS)
uninstall-binPROGRAMS: uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \ @list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \ rm -f $(DESTDIR)$(bindir)/$$f; \
done done
clean-binPROGRAMS: clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM) libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
install-libexecPROGRAMS: $(libexec_PROGRAMS) install-libexecPROGRAMS: $(libexec_PROGRAMS)
@$(NORMAL_INSTALL) @$(NORMAL_INSTALL)
@ -351,7 +348,8 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
else :; fi; \ else :; fi; \
@ -360,17 +358,14 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
uninstall-libexecPROGRAMS: uninstall-libexecPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ @list='$(libexec_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \ echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
rm -f $(DESTDIR)$(libexecdir)/$$f; \ rm -f $(DESTDIR)$(libexecdir)/$$f; \
done done
clean-libexecPROGRAMS: clean-libexecPROGRAMS:
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ -test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
rsh$(EXEEXT): $(rsh_OBJECTS) $(rsh_DEPENDENCIES) rsh$(EXEEXT): $(rsh_OBJECTS) $(rsh_DEPENDENCIES)
@rm -f rsh$(EXEEXT) @rm -f rsh$(EXEEXT)
$(LINK) $(rsh_LDFLAGS) $(rsh_OBJECTS) $(rsh_LDADD) $(LIBS) $(LINK) $(rsh_LDFLAGS) $(rsh_OBJECTS) $(rsh_LDADD) $(LIBS)
@ -418,10 +413,6 @@ install-man1: $(man1_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
1*) ;; \
*) ext='1' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -461,10 +452,6 @@ install-man8: $(man8_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
8*) ;; \
*) ext='8' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -530,7 +517,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -580,7 +567,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -267,7 +266,8 @@ install-binPROGRAMS: $(bin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \ else :; fi; \
@ -276,17 +276,14 @@ install-binPROGRAMS: $(bin_PROGRAMS)
uninstall-binPROGRAMS: uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \ @list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \ rm -f $(DESTDIR)$(bindir)/$$f; \
done done
clean-binPROGRAMS: clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
su$(EXEEXT): $(su_OBJECTS) $(su_DEPENDENCIES) su$(EXEEXT): $(su_OBJECTS) $(su_DEPENDENCIES)
@rm -f su$(EXEEXT) @rm -f su$(EXEEXT)
$(LINK) $(su_LDFLAGS) $(su_OBJECTS) $(su_LDADD) $(LIBS) $(LINK) $(su_LDFLAGS) $(su_OBJECTS) $(su_LDADD) $(LIBS)
@ -357,7 +354,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -407,7 +404,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,3 +1,10 @@
2002-10-21 Johan Danielsson <joda@pdc.kth.se>
* libtelnet/kerberos5.c: pull up 1.52-1.53; also try to use the
session key (if this is really correct is beyond me, RFC2942 in
unclear on this point;
(kerberos5_is): check that the subkey is non-NULL
2002-09-02 Johan Danielsson <joda@pdc.kth.se> 2002-09-02 Johan Danielsson <joda@pdc.kth.se>
* libtelnet/kerberos5.c: set AP_OPTS_USE_SUBKEY * libtelnet/kerberos5.c: set AP_OPTS_USE_SUBKEY

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -348,7 +347,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -410,7 +409,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -338,7 +337,7 @@ top_distdir = ../../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -387,7 +386,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -53,7 +53,7 @@
#include <config.h> #include <config.h>
RCSID("$Id: kerberos5.c,v 1.51 2002/09/02 15:33:20 joda Exp $"); RCSID("$Id: kerberos5.c,v 1.51.4.1 2002/10/21 14:28:31 joda Exp $");
#ifdef KRB5 #ifdef KRB5
@ -425,6 +425,29 @@ kerberos5_is(Authenticator *ap, unsigned char *data, int cnt)
return; return;
} }
if (key_block == NULL) {
ret = krb5_auth_con_getkey(context,
auth_context,
&key_block);
}
if (ret) {
Data(ap, KRB_REJECT, "krb5_auth_con_getkey failed", -1);
auth_finished(ap, AUTH_REJECT);
if (auth_debug_mode)
printf("Kerberos V5: "
"krb5_auth_con_getkey failed (%s)\r\n",
krb5_get_err_text(context, ret));
return;
}
if (key_block == NULL) {
Data(ap, KRB_REJECT, "no subkey received", -1);
auth_finished(ap, AUTH_REJECT);
if (auth_debug_mode)
printf("Kerberos V5: "
"krb5_auth_con_getremotesubkey returned NULL key\r\n");
return;
}
if ((ap->way & AUTH_HOW_MASK) == AUTH_HOW_MUTUAL) { if ((ap->way & AUTH_HOW_MASK) == AUTH_HOW_MUTUAL) {
ret = krb5_mk_rep(context, auth_context, &outbuf); ret = krb5_mk_rep(context, auth_context, &outbuf);
if (ret) { if (ret) {

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -283,7 +282,8 @@ install-binPROGRAMS: $(bin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \ else :; fi; \
@ -292,17 +292,14 @@ install-binPROGRAMS: $(bin_PROGRAMS)
uninstall-binPROGRAMS: uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \ @list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \ rm -f $(DESTDIR)$(bindir)/$$f; \
done done
clean-binPROGRAMS: clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
telnet$(EXEEXT): $(telnet_OBJECTS) $(telnet_DEPENDENCIES) telnet$(EXEEXT): $(telnet_OBJECTS) $(telnet_DEPENDENCIES)
@rm -f telnet$(EXEEXT) @rm -f telnet$(EXEEXT)
$(LINK) $(telnet_LDFLAGS) $(telnet_OBJECTS) $(telnet_LDADD) $(LIBS) $(LINK) $(telnet_LDFLAGS) $(telnet_OBJECTS) $(telnet_LDADD) $(LIBS)
@ -347,10 +344,6 @@ install-man1: $(man1_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
1*) ;; \
*) ext='1' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -416,7 +409,7 @@ top_distdir = ../../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -466,7 +459,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
TELNET(1) FreeBSD General Commands Manual TELNET(1) TELNET(1) NetBSD Reference Manual TELNET(1)
NNAAMMEE NNAAMMEE
tteellnneett - user interface to the TELNET protocol tteellnneett - user interface to the TELNET protocol
@ -9,8 +9,8 @@ SSYYNNOOPPSSIISS
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
The tteellnneett command is used to communicate with another host using the The tteellnneett command is used to communicate with another host using the
TELNET protocol. If tteellnneett is invoked without the _h_o_s_t argument, it TELNET protocol. If tteellnneett is invoked without the _h_o_s_t argument, it en-
enters command mode, indicated by its prompt (tteellnneett>>). In this mode, it ters command mode, indicated by its prompt (tteellnneett>>). In this mode, it
accepts and executes the commands listed below. If it is invoked with accepts and executes the commands listed below. If it is invoked with
arguments, it performs an ooppeenn command with those arguments. arguments, it performs an ooppeenn command with those arguments.
@ -24,9 +24,9 @@ DDEESSCCRRIIPPTTIIOONN
--EE Stops any character from being recognized as an escape character. --EE Stops any character from being recognized as an escape character.
--FF If Kerberos V5 authentication is being used, the --FF option allows --FF If Kerberos V5 authentication is being used, the --FF option allows
the local credentials to be forwarded to the remote system, the local credentials to be forwarded to the remote system, in-
including any credentials that have already been forwarded into cluding any credentials that have already been forwarded into the
the local environment. local environment.
--KK Specifies no automatic login to the remote system. --KK Specifies no automatic login to the remote system.
@ -42,10 +42,10 @@ DDEESSCCRRIIPPTTIIOONN
Disables the _a_t_y_p_e type of authentication. Disables the _a_t_y_p_e type of authentication.
--aa Attempt automatic login. Currently, this sends the user name via --aa Attempt automatic login. Currently, this sends the user name via
the USER variable of the ENVIRON option if supported by the the USER variable of the ENVIRON option if supported by the re-
remote system. The name used is that of the current user as mote system. The name used is that of the current user as re-
returned by getlogin(2) if it agrees with the current user ID, turned by getlogin(2) if it agrees with the current user ID, oth-
otherwise it is the name associated with the user ID. erwise it is the name associated with the user ID.
--cc Disables the reading of the user's _._t_e_l_n_e_t_r_c file. (See the --cc Disables the reading of the user's _._t_e_l_n_e_t_r_c file. (See the
ttooggggllee sskkiipprrcc command on this man page.) ttooggggllee sskkiipprrcc command on this man page.)
@ -62,8 +62,8 @@ DDEESSCCRRIIPPTTIIOONN
--kk _r_e_a_l_m --kk _r_e_a_l_m
If Kerberos authentication is being used, the --kk option requests If Kerberos authentication is being used, the --kk option requests
that telnet obtain tickets for the remote host in realm realm that telnet obtain tickets for the remote host in realm realm in-
instead of the remote host's realm, as determined by stead of the remote host's realm, as determined by
krb_realmofhost(3). krb_realmofhost(3).
--ll _u_s_e_r --ll _u_s_e_r
@ -119,14 +119,14 @@ DDEESSCCRRIIPPTTIIOONN
If the LINEMODE option is enabled, or if the llooccaallcchhaarrss toggle is TRUE If the LINEMODE option is enabled, or if the llooccaallcchhaarrss toggle is TRUE
(the default for ``old line by line``; see below), the user's qquuiitt, iinnttrr, (the default for ``old line by line``; see below), the user's qquuiitt, iinnttrr,
and fflluusshh characters are trapped locally, and sent as TELNET protocol and fflluusshh characters are trapped locally, and sent as TELNET protocol se-
sequences to the remote side. If LINEMODE has ever been enabled, then quences to the remote side. If LINEMODE has ever been enabled, then the
the user's ssuusspp and eeooff are also sent as TELNET protocol sequences, and user's ssuusspp and eeooff are also sent as TELNET protocol sequences, and qquuiitt
qquuiitt is sent as a TELNET ABORT instead of BREAK There are options (see is sent as a TELNET ABORT instead of BREAK There are options (see ttooggggllee
ttooggggllee aauuttoofflluusshh and ttooggggllee aauuttoossyynncchh below) which cause this action to aauuttoofflluusshh and ttooggggllee aauuttoossyynncchh below) which cause this action to flush
flush subsequent output to the terminal (until the remote host acknowl- subsequent output to the terminal (until the remote host acknowledges the
edges the TELNET sequence) and flush previous terminal input (in the case TELNET sequence) and flush previous terminal input (in the case of qquuiitt
of qquuiitt and iinnttrr). and iinnttrr).
While connected to a remote host, tteellnneett command mode may be entered by While connected to a remote host, tteellnneett command mode may be entered by
typing the tteellnneett ``escape character'' (initially ``^]''). When in com- typing the tteellnneett ``escape character'' (initially ``^]''). When in com-
@ -155,8 +155,8 @@ DDEESSCCRRIIPPTTIIOONN
cclloossee Close a TELNET session and return to command mode. cclloossee Close a TELNET session and return to command mode.
ddiissppllaayy _a_r_g_u_m_e_n_t _._._. ddiissppllaayy _a_r_g_u_m_e_n_t _._._.
Displays all, or some, of the sseett and ttooggggllee values (see Displays all, or some, of the sseett and ttooggggllee values (see be-
below). low).
eennccrryypptt _a_r_g_u_m_e_n_t _._._. eennccrryypptt _a_r_g_u_m_e_n_t _._._.
The encrypt command manipulates the information sent through The encrypt command manipulates the information sent through
@ -233,8 +233,8 @@ DDEESSCCRRIIPPTTIIOONN
remote side. remote side.
uunneexxppoorrtt _v_a_r_i_a_b_l_e uunneexxppoorrtt _v_a_r_i_a_b_l_e
Mark the variable _v_a_r_i_a_b_l_e to not be exported Mark the variable _v_a_r_i_a_b_l_e to not be exported un-
unless explicitly asked for by the remote side. less explicitly asked for by the remote side.
lliisstt List the current set of environment variables. lliisstt List the current set of environment variables.
Those marked with a ** will be sent automatically, Those marked with a ** will be sent automatically,
@ -256,17 +256,17 @@ DDEESSCCRRIIPPTTIIOONN
mmooddee _t_y_p_e _T_y_p_e is one of several options, depending on the state of the mmooddee _t_y_p_e _T_y_p_e is one of several options, depending on the state of the
TELNET session. The remote host is asked for permission to go TELNET session. The remote host is asked for permission to go
into the requested mode. If the remote host is capable of into the requested mode. If the remote host is capable of en-
entering that mode, the requested mode will be entered. tering that mode, the requested mode will be entered.
cchhaarraacctteerr Disable the TELNET LINEMODE option, or, if the cchhaarraacctteerr Disable the TELNET LINEMODE option, or, if the
remote side does not understand the LINEMODE remote side does not understand the LINEMODE op-
option, then enter ``character at a time`` mode. tion, then enter ``character at a time`` mode.
lliinnee Enable the TELNET LINEMODE option, or, if the lliinnee Enable the TELNET LINEMODE option, or, if the
remote side does not understand the LINEMODE remote side does not understand the LINEMODE op-
option, then attempt to enter ``old-line-by- tion, then attempt to enter ``old-line-by-line``
line`` mode. mode.
iissiigg (--iissiigg) Attempt to enable (disable) the TRAPSIG mode of iissiigg (--iissiigg) Attempt to enable (disable) the TRAPSIG mode of
the LINEMODE option. This requires that the the LINEMODE option. This requires that the
@ -298,15 +298,15 @@ DDEESSCCRRIIPPTTIIOONN
to specify the user name to be passed to the remote system via to specify the user name to be passed to the remote system via
the ENVIRON option. When connecting to a non-standard port, the ENVIRON option. When connecting to a non-standard port,
tteellnneett omits any automatic initiation of TELNET options. When tteellnneett omits any automatic initiation of TELNET options. When
the port number is preceded by a minus sign, the initial the port number is preceded by a minus sign, the initial op-
option negotiation is done. After establishing a connection, tion negotiation is done. After establishing a connection,
the file _._t_e_l_n_e_t_r_c in the users home directory is opened. the file _._t_e_l_n_e_t_r_c in the users home directory is opened.
Lines beginning with a # are comment lines. Blank lines are Lines beginning with a # are comment lines. Blank lines are
ignored. Lines that begin without white space are the start ignored. Lines that begin without white space are the start
of a machine entry. The first thing on the line is the name of a machine entry. The first thing on the line is the name
of the machine that is being connected to. The rest of the of the machine that is being connected to. The rest of the
line, and successive lines that begin with white space are line, and successive lines that begin with white space are as-
assumed to be tteellnneett commands and are processed as if they had sumed to be tteellnneett commands and are processed as if they had
been typed in manually to the tteellnneett command prompt. been typed in manually to the tteellnneett command prompt.
qquuiitt Close any open TELNET session and exit tteellnneett. An end of file qquuiitt Close any open TELNET session and exit tteellnneett. An end of file
@ -324,8 +324,8 @@ DDEESSCCRRIIPPTTIIOONN
_f_r_o_m the remote system _t_o the user's terminal. _f_r_o_m the remote system _t_o the user's terminal.
aayytt Sends the TELNET AYT (Are You There) sequence, to aayytt Sends the TELNET AYT (Are You There) sequence, to
which the remote system may or may not choose to which the remote system may or may not choose to re-
respond. spond.
bbrrkk Sends the TELNET BRK (Break) sequence, which may have bbrrkk Sends the TELNET BRK (Break) sequence, which may have
significance to the remote system. significance to the remote system.
@ -363,9 +363,9 @@ DDEESSCCRRIIPPTTIIOONN
ssyynncchh Sends the TELNET SYNCH sequence. This sequence causes ssyynncchh Sends the TELNET SYNCH sequence. This sequence causes
the remote system to discard all previously typed (but the remote system to discard all previously typed (but
not yet read) input. This sequence is sent as TCP not yet read) input. This sequence is sent as TCP ur-
urgent data (and may not work if the remote system is gent data (and may not work if the remote system is a
a 4.2BSD system -- if it doesn't work, a lower case 4.2BSD system -- if it doesn't work, a lower case
``r'' may be echoed on the terminal). ``r'' may be echoed on the terminal).
ddoo _c_m_d ddoo _c_m_d
@ -397,17 +397,17 @@ DDEESSCCRRIIPPTTIIOONN
the ttooggggllee command may be explicitly set or unset using the the ttooggggllee command may be explicitly set or unset using the
sseett and uunnsseett commands. sseett and uunnsseett commands.
aayytt If TELNET is in localchars mode, or LINEMODE is aayytt If TELNET is in localchars mode, or LINEMODE is en-
enabled, and the status character is typed, a TELNET abled, and the status character is typed, a TELNET AYT
AYT sequence (see sseenndd aayytt preceding) is sent to the sequence (see sseenndd aayytt preceding) is sent to the re-
remote host. The initial value for the "Are You mote host. The initial value for the "Are You There"
There" character is the terminal's status character. character is the terminal's status character.
eecchhoo This is the value (initially ``^E'') which, when in eecchhoo This is the value (initially ``^E'') which, when in
``line by line'' mode, toggles between doing local ``line by line'' mode, toggles between doing local
echoing of entered characters (for normal processing), echoing of entered characters (for normal processing),
and suppressing echoing of entered characters (for and suppressing echoing of entered characters (for en-
entering, say, a password). tering, say, a password).
eeooff If tteellnneett is operating in LINEMODE or ``old line by eeooff If tteellnneett is operating in LINEMODE or ``old line by
line'' mode, entering this character as the first line'' mode, entering this character as the first
@ -483,23 +483,23 @@ DDEESSCCRRIIPPTTIIOONN
suspends the telnet command. The initial state is to suspends the telnet command. The initial state is to
disable the rlogin escape character. disable the rlogin escape character.
ssttaarrtt If the TELNET TOGGLE-FLOW-CONTROL option has been ssttaarrtt If the TELNET TOGGLE-FLOW-CONTROL option has been en-
enabled, then this character is taken to be the termi- abled, then this character is taken to be the termi-
nal's ssttaarrtt character. The initial value for the kill nal's ssttaarrtt character. The initial value for the kill
character is taken to be the terminal's ssttaarrtt charac- character is taken to be the terminal's ssttaarrtt charac-
ter. ter.
ssttoopp If the TELNET TOGGLE-FLOW-CONTROL option has been ssttoopp If the TELNET TOGGLE-FLOW-CONTROL option has been en-
enabled, then this character is taken to be the termi- abled, then this character is taken to be the termi-
nal's ssttoopp character. The initial value for the kill nal's ssttoopp character. The initial value for the kill
character is taken to be the terminal's ssttoopp charac- character is taken to be the terminal's ssttoopp charac-
ter. ter.
ssuusspp If tteellnneett is in llooccaallcchhaarrss mode, or LINEMODE is ssuusspp If tteellnneett is in llooccaallcchhaarrss mode, or LINEMODE is en-
enabled, and the ssuussppeenndd character is typed, a TELNET abled, and the ssuussppeenndd character is typed, a TELNET
SUSP sequence (see sseenndd ssuusspp above) is sent to the SUSP sequence (see sseenndd ssuusspp above) is sent to the re-
remote host. The initial value for the suspend char- mote host. The initial value for the suspend charac-
acter is taken to be the terminal's ssuussppeenndd character. ter is taken to be the terminal's ssuussppeenndd character.
ttrraacceeffiillee ttrraacceeffiillee
This is the file to which the output, caused by This is the file to which the output, caused by
@ -562,8 +562,8 @@ DDEESSCCRRIIPPTTIIOONN
above for details), tteellnneett refuses to display above for details), tteellnneett refuses to display
any data on the user's terminal until the remote any data on the user's terminal until the remote
system acknowledges (via a TELNET TIMING MARK system acknowledges (via a TELNET TIMING MARK
option) that it has processed those TELNET option) that it has processed those TELNET se-
sequences. The initial value for this toggle is quences. The initial value for this toggle is
TRUE if the terminal user had not done an "stty TRUE if the terminal user had not done an "stty
noflsh", otherwise FALSE (see stty(1)). noflsh", otherwise FALSE (see stty(1)).
@ -581,8 +581,8 @@ DDEESSCCRRIIPPTTIIOONN
aauuttoollooggiinn If the remote side supports the TELNET aauuttoollooggiinn If the remote side supports the TELNET
AUTHENTICATION option TELNET attempts to use it AUTHENTICATION option TELNET attempts to use it
to perform automatic authentication. If the to perform automatic authentication. If the
AUTHENTICATION option is not supported, the AUTHENTICATION option is not supported, the us-
user's login name are propagated through the er's login name are propagated through the
TELNET ENVIRON option. This command is the same TELNET ENVIRON option. This command is the same
as specifying _a option on the ooppeenn command. as specifying _a option on the ooppeenn command.
@ -612,15 +612,15 @@ DDEESSCCRRIIPPTTIIOONN
initial value for this toggle is FALSE. initial value for this toggle is FALSE.
ccrrmmoodd Toggle carriage return mode. When this mode is ccrrmmoodd Toggle carriage return mode. When this mode is
enabled, most carriage return characters enabled, most carriage return characters re-
received from the remote host will be mapped ceived from the remote host will be mapped into
into a carriage return followed by a line feed. a carriage return followed by a line feed. This
This mode does not affect those characters typed mode does not affect those characters typed by
by the user, only those received from the remote the user, only those received from the remote
host. This mode is not very useful unless the host. This mode is not very useful unless the
remote host only sends carriage return, but remote host only sends carriage return, but nev-
never line feed. The initial value for this er line feed. The initial value for this toggle
toggle is FALSE. is FALSE.
ddeebbuugg Toggles socket level debugging (useful only to ddeebbuugg Toggles socket level debugging (useful only to
the ssuuppeerr uusseerr). The initial value for this the ssuuppeerr uusseerr). The initial value for this
@ -648,8 +648,8 @@ DDEESSCCRRIIPPTTIIOONN
toggle is FALSE. toggle is FALSE.
ooppttiioonnss Toggles the display of some internal tteellnneett pro- ooppttiioonnss Toggles the display of some internal tteellnneett pro-
tocol processing (having to do with TELNET tocol processing (having to do with TELNET op-
options). The initial value for this toggle is tions). The initial value for this toggle is
FALSE. FALSE.
pprreettttyydduummpp When the nneettddaattaa toggle is enabled, if pprreettttyydduummpp When the nneettddaattaa toggle is enabled, if
@ -671,21 +671,21 @@ DDEESSCCRRIIPPTTIIOONN
vveerrbboossee__eennccrryypptt vveerrbboossee__eennccrryypptt
When the vveerrbboossee__eennccrryypptt toggle is TRUE, TELNET When the vveerrbboossee__eennccrryypptt toggle is TRUE, TELNET
prints out a message each time encryption is prints out a message each time encryption is en-
enabled or disabled. The initial value for this abled or disabled. The initial value for this
toggle is FALSE. Note: Because of export con- toggle is FALSE. Note: Because of export con-
trols, data encryption is not supported outside trols, data encryption is not supported outside
of the United States and Canada. of the United States and Canada.
?? Displays the legal ttooggggllee commands. ?? Displays the legal ttooggggllee commands.
zz Suspend tteellnneett. This command only works when the user is zz Suspend tteellnneett. This command only works when the user is us-
using the csh(1). ing the csh(1).
!! [_c_o_m_m_a_n_d] !! [_c_o_m_m_a_n_d]
Execute a single command in a subshell on the local system. Execute a single command in a subshell on the local system.
If ccoommmmaanndd is omitted, then an interactive subshell is If ccoommmmaanndd is omitted, then an interactive subshell is in-
invoked. voked.
?? [_c_o_m_m_a_n_d] ?? [_c_o_m_m_a_n_d]
Get help. With no arguments, tteellnneett prints a help summary. Get help. With no arguments, tteellnneett prints a help summary.
@ -711,4 +711,4 @@ NNOOTTEESS
only recognized (and sent to the remote system) when it is the first only recognized (and sent to the remote system) when it is the first
character on a line. character on a line.
4.2 Berkeley Distribution June 1, 1994 4.2 Berkeley Distribution 4.2 Berkeley Distribution June 1, 1994 11

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -286,7 +285,8 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
else :; fi; \ else :; fi; \
@ -295,17 +295,14 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
uninstall-libexecPROGRAMS: uninstall-libexecPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ @list='$(libexec_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \ echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
rm -f $(DESTDIR)$(libexecdir)/$$f; \ rm -f $(DESTDIR)$(libexecdir)/$$f; \
done done
clean-libexecPROGRAMS: clean-libexecPROGRAMS:
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ -test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
telnetd$(EXEEXT): $(telnetd_OBJECTS) $(telnetd_DEPENDENCIES) telnetd$(EXEEXT): $(telnetd_OBJECTS) $(telnetd_DEPENDENCIES)
@rm -f telnetd$(EXEEXT) @rm -f telnetd$(EXEEXT)
$(LINK) $(telnetd_LDFLAGS) $(telnetd_OBJECTS) $(telnetd_LDADD) $(LIBS) $(LINK) $(telnetd_LDFLAGS) $(telnetd_OBJECTS) $(telnetd_LDADD) $(LIBS)
@ -350,10 +347,6 @@ install-man8: $(man8_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
8*) ;; \
*) ext='8' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -419,7 +412,7 @@ top_distdir = ../../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -469,7 +462,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
TELNETD(8) FreeBSD System Manager's Manual TELNETD(8) TELNETD(8) NetBSD System Manager's Manual TELNETD(8)
NNAAMMEE NNAAMMEE
tteellnneettdd - DARPA TELNET protocol server tteellnneettdd - DARPA TELNET protocol server
@ -34,8 +34,8 @@ DDEESSCCRRIIPPTTIIOONN
valid Only allow connections when the remote user can pro- valid Only allow connections when the remote user can pro-
vide valid authentication information to identify the vide valid authentication information to identify the
remote user. The login(1) command will provide any remote user. The login(1) command will provide any
additional user verification needed if the remote additional user verification needed if the remote us-
user is not allowed automatic access to the specified er is not allowed automatic access to the specified
account. account.
other Only allow connections that supply some authentica- other Only allow connections that supply some authentica-
@ -105,22 +105,22 @@ DDEESSCCRRIIPPTTIIOONN
--SS _t_o_s --SS _t_o_s
--uu _l_e_n This option is used to specify the size of the field in the --uu _l_e_n This option is used to specify the size of the field in the
utmp structure that holds the remote host name. If the utmp structure that holds the remote host name. If the re-
resolved host name is longer than _l_e_n, the dotted decimal solved host name is longer than _l_e_n, the dotted decimal val-
value will be used instead. This allows hosts with very ue will be used instead. This allows hosts with very long
long host names that overflow this field to still be host names that overflow this field to still be uniquely
uniquely identified. Specifying --uu00 indicates that only identified. Specifying --uu00 indicates that only dotted deci-
dotted decimal addresses should be put into the _u_t_m_p file. mal addresses should be put into the _u_t_m_p file.
--UU This option causes tteellnneettdd to refuse connections from --UU This option causes tteellnneettdd to refuse connections from ad-
addresses that cannot be mapped back into a symbolic name dresses that cannot be mapped back into a symbolic name via
via the gethostbyaddr(3) routine. the gethostbyaddr(3) routine.
--XX _a_u_t_h_t_y_p_e This option is only valid if tteellnneettdd has been built with --XX _a_u_t_h_t_y_p_e This option is only valid if tteellnneettdd has been built with
support for the authentication option. It disables the use support for the authentication option. It disables the use
of _a_u_t_h_t_y_p_e authentication, and can be used to temporarily of _a_u_t_h_t_y_p_e authentication, and can be used to temporarily
disable a specific authentication type without having to disable a specific authentication type without having to re-
recompile tteellnneettdd. compile tteellnneettdd.
--LL _p_a_t_h_n_a_m_e Specify pathname to an alternative login program. --LL _p_a_t_h_n_a_m_e Specify pathname to an alternative login program.
@ -175,8 +175,8 @@ DDEESSCCRRIIPPTTIIOONN
WILL SGA Indicates that it will not be sending IAC GA, go WILL SGA Indicates that it will not be sending IAC GA, go
ahead, commands. ahead, commands.
WILL STATUS Indicates a willingness to send the client, upon WILL STATUS Indicates a willingness to send the client, upon re-
request, of the current status of all TELNET options. quest, of the current status of all TELNET options.
WILL TIMING-MARK Whenever a DO TIMING-MARK command is received, it is WILL TIMING-MARK Whenever a DO TIMING-MARK command is received, it is
always responded to with a WILL TIMING-MARK always responded to with a WILL TIMING-MARK
@ -197,8 +197,8 @@ DDEESSCCRRIIPPTTIIOONN
ters remotely. ters remotely.
DO ECHO This is not really supported, but is sent to identify DO ECHO This is not really supported, but is sent to identify
a 4.2BSD telnet(1) client, which will improperly a 4.2BSD telnet(1) client, which will improperly re-
respond with WILL ECHO. If a WILL ECHO is received, a spond with WILL ECHO. If a WILL ECHO is received, a
DONT ECHO will be sent in response. DONT ECHO will be sent in response.
DO TERMINAL-TYPE Indicates a desire to be able to request the name of DO TERMINAL-TYPE Indicates a desire to be able to request the name of
@ -236,8 +236,8 @@ DDEESSCCRRIIPPTTIIOONN
linemode. Note that the [--kk] option can be used to linemode. Note that the [--kk] option can be used to
disable this. disable this.
DO AUTHENTICATION Only sent if tteellnneettdd is compiled with support for DO AUTHENTICATION Only sent if tteellnneettdd is compiled with support for au-
authentication, and indicates a willingness to receive thentication, and indicates a willingness to receive
authentication information for automatic login. authentication information for automatic login.
DO ENCRYPT Only sent if tteellnneettdd is compiled with support for data DO ENCRYPT Only sent if tteellnneettdd is compiled with support for data
@ -290,4 +290,4 @@ BBUUGGSS
TTeellnneettdd never sends TELNET IAC GA (go ahead) commands. TTeellnneettdd never sends TELNET IAC GA (go ahead) commands.
4.2 Berkeley Distribution June 1, 1994 4.2 Berkeley Distribution 4.2 Berkeley Distribution June 1, 1994 5

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -335,11 +334,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
clean-noinstPROGRAMS: clean-noinstPROGRAMS:
@list='$(noinst_PROGRAMS)'; for p in $$list; do \ -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
gssapi_client$(EXEEXT): $(gssapi_client_OBJECTS) $(gssapi_client_DEPENDENCIES) gssapi_client$(EXEEXT): $(gssapi_client_OBJECTS) $(gssapi_client_DEPENDENCIES)
@rm -f gssapi_client$(EXEEXT) @rm -f gssapi_client$(EXEEXT)
$(LINK) $(gssapi_client_LDFLAGS) $(gssapi_client_OBJECTS) $(gssapi_client_LDADD) $(LIBS) $(LINK) $(gssapi_client_LDFLAGS) $(gssapi_client_OBJECTS) $(gssapi_client_LDADD) $(LIBS)
@ -431,7 +426,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -480,7 +475,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,5 +1,5 @@
dnl dnl
dnl $Id: sunos.m4,v 1.1 2002/08/28 19:53:51 joda Exp $ dnl $Id: sunos.m4,v 1.1.4.1 2002/10/21 14:29:36 joda Exp $
dnl dnl
AC_DEFUN([rk_SUNOS],[ AC_DEFUN([rk_SUNOS],[
@ -11,7 +11,7 @@ case "$host" in
*-*-solaris2.7) *-*-solaris2.7)
sunos=57 sunos=57
;; ;;
*-*-solaris2.[89]) *-*-solaris2.[[89]])
sunos=58 sunos=58
;; ;;
*-*-solaris2*) *-*-solaris2*)

View File

@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc. # 2000, 2001, 2002 Free Software Foundation, Inc.
timestamp='2002-07-23' timestamp='2002-03-20'
# This file is free software; you can redistribute it and/or modify it # This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by # under the terms of the GNU General Public License as published by
@ -88,40 +88,30 @@ if test $# != 0; then
exit 1 exit 1
fi fi
trap 'exit 1' 1 2 15
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a dummy=dummy-$$
# compiler to aid in system detection is discouraged as it requires trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
# temporary files to be created and, as you can see below, it is a
# headache to deal with in a portable fashion.
# CC_FOR_BUILD -- compiler used by this script.
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
# use `HOST_CC' if defined, but it is deprecated. # use `HOST_CC' if defined, but it is deprecated.
# This shell variable is my proudest work .. or something. --bje set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
,,) echo "int dummy(){}" > $dummy.c ;
set_cc_for_build='tmpdir=${TMPDIR-/tmp}/config-guess-$$ ;
(old=`umask` && umask 077 && mkdir $tmpdir && umask $old && unset old)
|| (echo "$me: cannot create $tmpdir" >&2 && exit 1) ;
dummy=$tmpdir/dummy ;
files="$dummy.c $dummy.o $dummy.rel $dummy" ;
trap '"'"'rm -f $files; rmdir $tmpdir; exit 1'"'"' 1 2 15 ;
case $CC_FOR_BUILD,$HOST_CC,$CC in
,,) echo "int x;" > $dummy.c ;
for c in cc gcc c89 c99 ; do for c in cc gcc c89 c99 ; do
if ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; then ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
if test $? = 0 ; then
CC_FOR_BUILD="$c"; break ; CC_FOR_BUILD="$c"; break ;
fi ; fi ;
done ; done ;
rm -f $files ; rm -f $dummy.c $dummy.o $dummy.rel ;
if test x"$CC_FOR_BUILD" = x ; then if test x"$CC_FOR_BUILD" = x ; then
CC_FOR_BUILD=no_compiler_found ; CC_FOR_BUILD=no_compiler_found ;
fi fi
;; ;;
,,*) CC_FOR_BUILD=$CC ;; ,,*) CC_FOR_BUILD=$CC ;;
,*,*) CC_FOR_BUILD=$HOST_CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;;
esac ; esac'
unset files'
# This is needed to find uname on a Pyramid OSx when run in the BSD universe. # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
# (ghazi@noc.rutgers.edu 1994-08-24) # (ghazi@noc.rutgers.edu 1994-08-24)
@ -152,7 +142,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
/usr/sbin/$sysctl 2>/dev/null || echo unknown)` /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
case "${UNAME_MACHINE_ARCH}" in case "${UNAME_MACHINE_ARCH}" in
armeb) machine=armeb-unknown ;;
arm*) machine=arm-unknown ;; arm*) machine=arm-unknown ;;
sh3el) machine=shl-unknown ;; sh3el) machine=shl-unknown ;;
sh3eb) machine=sh-unknown ;; sh3eb) machine=sh-unknown ;;
@ -231,7 +220,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# A Tn.n version is a released field test version. # A Tn.n version is a released field test version.
# A Xn.n version is an unreleased experimental baselevel. # A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r. # 1.2 uses "1.2" for uname -r.
eval $set_cc_for_build
cat <<EOF >$dummy.s cat <<EOF >$dummy.s
.data .data
\$Lformat: \$Lformat:
@ -257,9 +245,10 @@ main:
jsr \$26,exit jsr \$26,exit
.end main .end main
EOF EOF
eval $set_cc_for_build
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
if test "$?" = 0 ; then if test "$?" = 0 ; then
case `$dummy` in case `./$dummy` in
0-0) 0-0)
UNAME_MACHINE="alpha" UNAME_MACHINE="alpha"
;; ;;
@ -281,12 +270,9 @@ EOF
2-1307) 2-1307)
UNAME_MACHINE="alphaev68" UNAME_MACHINE="alphaev68"
;; ;;
3-1307)
UNAME_MACHINE="alphaev7"
;;
esac esac
fi fi
rm -f $dummy.s $dummy && rmdir $tmpdir rm -f $dummy.s $dummy
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
exit 0 ;; exit 0 ;;
Alpha\ *:Windows_NT*:*) Alpha\ *:Windows_NT*:*)
@ -327,10 +313,6 @@ EOF
NILE*:*:*:dcosx) NILE*:*:*:dcosx)
echo pyramid-pyramid-svr4 echo pyramid-pyramid-svr4
exit 0 ;; exit 0 ;;
DRS?6000:UNIX_SV:4.2*:7*)
case `/usr/bin/uname -p` in
sparc) echo sparc-icl-nx7 && exit 0 ;;
esac ;;
sun4H:SunOS:5.*:*) sun4H:SunOS:5.*:*)
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;; exit 0 ;;
@ -438,17 +420,14 @@ EOF
} }
EOF EOF
$CC_FOR_BUILD $dummy.c -o $dummy \ $CC_FOR_BUILD $dummy.c -o $dummy \
&& $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
&& rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 && rm -f $dummy.c $dummy && exit 0
rm -f $dummy.c $dummy && rmdir $tmpdir rm -f $dummy.c $dummy
echo mips-mips-riscos${UNAME_RELEASE} echo mips-mips-riscos${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
Motorola:PowerMAX_OS:*:*) Motorola:PowerMAX_OS:*:*)
echo powerpc-motorola-powermax echo powerpc-motorola-powermax
exit 0 ;; exit 0 ;;
Night_Hawk:*:*:PowerMAX_OS)
echo powerpc-harris-powermax
exit 0 ;;
Night_Hawk:Power_UNIX:*:*) Night_Hawk:Power_UNIX:*:*)
echo powerpc-harris-powerunix echo powerpc-harris-powerunix
exit 0 ;; exit 0 ;;
@ -521,8 +500,8 @@ EOF
exit(0); exit(0);
} }
EOF EOF
$CC_FOR_BUILD $dummy.c -o $dummy && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
rm -f $dummy.c $dummy && rmdir $tmpdir rm -f $dummy.c $dummy
echo rs6000-ibm-aix3.2.5 echo rs6000-ibm-aix3.2.5
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
echo rs6000-ibm-aix3.2.4 echo rs6000-ibm-aix3.2.4
@ -620,9 +599,9 @@ EOF
exit (0); exit (0);
} }
EOF EOF
(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`$dummy` (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy`
if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
rm -f $dummy.c $dummy && rmdir $tmpdir rm -f $dummy.c $dummy
fi ;; fi ;;
esac esac
echo ${HP_ARCH}-hp-hpux${HPUX_REV} echo ${HP_ARCH}-hp-hpux${HPUX_REV}
@ -658,8 +637,8 @@ EOF
exit (0); exit (0);
} }
EOF EOF
$CC_FOR_BUILD $dummy.c -o $dummy && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
rm -f $dummy.c $dummy && rmdir $tmpdir rm -f $dummy.c $dummy
echo unknown-hitachi-hiuxwe2 echo unknown-hitachi-hiuxwe2
exit 0 ;; exit 0 ;;
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
@ -742,19 +721,7 @@ EOF
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
*:FreeBSD:*:*) *:FreeBSD:*:*)
# Determine whether the default compiler uses glibc. echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#include <features.h>
#if __GLIBC__ >= 2
LIBC=gnu
#else
LIBC=
#endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
rm -f $dummy.c && rmdir $tmpdir
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
exit 0 ;; exit 0 ;;
i*:CYGWIN*:*) i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin echo ${UNAME_MACHINE}-pc-cygwin
@ -815,7 +782,7 @@ EOF
#endif #endif
EOF EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
rm -f $dummy.c && rmdir $tmpdir rm -f $dummy.c
test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0 test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
;; ;;
ppc:Linux:*:*) ppc:Linux:*:*)
@ -878,7 +845,7 @@ EOF
;; ;;
a.out-i386-linux) a.out-i386-linux)
echo "${UNAME_MACHINE}-pc-linux-gnuaout" echo "${UNAME_MACHINE}-pc-linux-gnuaout"
exit 0 ;; exit 0 ;;
coff-i386) coff-i386)
echo "${UNAME_MACHINE}-pc-linux-gnucoff" echo "${UNAME_MACHINE}-pc-linux-gnucoff"
exit 0 ;; exit 0 ;;
@ -911,7 +878,7 @@ EOF
#endif #endif
EOF EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
rm -f $dummy.c && rmdir $tmpdir rm -f $dummy.c
test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
;; ;;
@ -950,13 +917,13 @@ EOF
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
echo ${UNAME_MACHINE}-pc-isc$UNAME_REL echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
elif /bin/uname -X 2>/dev/null >/dev/null ; then elif /bin/uname -X 2>/dev/null >/dev/null ; then
UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
&& UNAME_MACHINE=i586 && UNAME_MACHINE=i586
(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
&& UNAME_MACHINE=i686 && UNAME_MACHINE=i686
(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
&& UNAME_MACHINE=i686 && UNAME_MACHINE=i686
echo ${UNAME_MACHINE}-pc-sco$UNAME_REL echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
else else
@ -991,7 +958,7 @@ EOF
exit 0 ;; exit 0 ;;
M68*:*:R3V[567]*:*) M68*:*:R3V[567]*:*)
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0) 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
OS_REL='' OS_REL=''
test -r /etc/.relid \ test -r /etc/.relid \
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
@ -1274,8 +1241,8 @@ main ()
} }
EOF EOF
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
rm -f $dummy.c $dummy && rmdir $tmpdir rm -f $dummy.c $dummy
# Apollos put the system type in the environment. # Apollos put the system type in the environment.

View File

@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc. # 2000, 2001, 2002 Free Software Foundation, Inc.
timestamp='2002-07-03' timestamp='2002-03-07'
# This file is (in principle) common to ALL GNU software. # This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software # The presence of a machine in this file suggests that SOME GNU software
@ -118,7 +118,7 @@ esac
# Here we must recognize all the valid KERNEL-OS combinations. # Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in case $maybe_os in
nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*) nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
os=-$maybe_os os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
;; ;;
@ -230,31 +230,23 @@ case $basic_machine in
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
| c4x | clipper \ | c4x | clipper \
| d10v | d30v | dlx | dsp16xx \ | d10v | d30v | dsp16xx \
| fr30 | frv \ | fr30 \
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
| i370 | i860 | i960 | ia64 \ | i370 | i860 | i960 | ia64 \
| ip2k \
| m32r | m68000 | m68k | m88k | mcore \ | m32r | m68000 | m68k | m88k | mcore \
| mips | mipsbe | mipseb | mipsel | mipsle \ | mips | mips16 | mips64 | mips64el | mips64orion | mips64orionel \
| mips16 \ | mips64vr4100 | mips64vr4100el | mips64vr4300 \
| mips64 | mips64el \ | mips64vr4300el | mips64vr5000 | mips64vr5000el \
| mips64orion | mips64orionel \ | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
| mips64vr4100 | mips64vr4100el \ | mipsisa32 | mipsisa64 \
| mips64vr4300 | mips64vr4300el \
| mips64vr5000 | mips64vr5000el \
| mipsisa32 | mipsisa32el \
| mipsisa64 | mipsisa64el \
| mipsisa64sb1 | mipsisa64sb1el \
| mipstx39 | mipstx39el \
| mn10200 | mn10300 \ | mn10200 | mn10300 \
| ns16k | ns32k \ | ns16k | ns32k \
| openrisc | or32 \ | openrisc | or32 \
| pdp10 | pdp11 | pj | pjl \ | pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
| pyramid \ | pyramid \
| sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh | sh[34] | sh[34]eb | shbe | shle | sh64 \
| sh64 | sh64le \
| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
| strongarm \ | strongarm \
| tahoe | thumb | tic80 | tron \ | tahoe | thumb | tic80 | tron \
@ -289,40 +281,31 @@ case $basic_machine in
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | arm-* | armbe-* | armle-* | armv*-* \
| avr-* \ | avr-* \
| bs2000-* \ | bs2000-* \
| c[123]* | c30-* | [cjt]90-* | c54x-* \ | c[123]* | c30-* | [cjt]90-* | c54x-* \
| clipper-* | cydra-* \ | clipper-* | cydra-* \
| d10v-* | d30v-* | dlx-* \ | d10v-* | d30v-* \
| elxsi-* \ | elxsi-* \
| f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ | f30[01]-* | f700-* | fr30-* | fx80-* \
| h8300-* | h8500-* \ | h8300-* | h8500-* \
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
| i*86-* | i860-* | i960-* | ia64-* \ | i*86-* | i860-* | i960-* | ia64-* \
| ip2k-* \
| m32r-* \ | m32r-* \
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
| m88110-* | m88k-* | mcore-* \ | m88110-* | m88k-* | mcore-* \
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
| mips16-* \ | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
| mips64-* | mips64el-* \ | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
| mips64orion-* | mips64orionel-* \ | mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
| mips64vr4100-* | mips64vr4100el-* \
| mips64vr4300-* | mips64vr4300el-* \
| mips64vr5000-* | mips64vr5000el-* \
| mipsisa32-* | mipsisa32el-* \
| mipsisa64-* | mipsisa64el-* \
| mipsisa64sb1-* | mipsisa64sb1el-* \
| mipstx39 | mipstx39el \
| none-* | np1-* | ns16k-* | ns32k-* \ | none-* | np1-* | ns16k-* | ns32k-* \
| orion-* \ | orion-* \
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
| pyramid-* \ | pyramid-* \
| romp-* | rs6000-* \ | romp-* | rs6000-* \
| sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \ | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
| tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \ | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
@ -1013,7 +996,7 @@ case $basic_machine in
we32k) we32k)
basic_machine=we32k-att basic_machine=we32k-att
;; ;;
sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele) sh3 | sh4 | sh3eb | sh4eb)
basic_machine=sh-unknown basic_machine=sh-unknown
;; ;;
sh64) sh64)
@ -1107,7 +1090,7 @@ case $os in
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*) | -morphos* | -superux* | -rtmk* | -rtmk-nova*)
# Remember, each alternative MUST END IN *, to match a version number. # Remember, each alternative MUST END IN *, to match a version number.
;; ;;
-qnx*) -qnx*)
@ -1426,7 +1409,7 @@ case $basic_machine in
-ptx*) -ptx*)
vendor=sequent vendor=sequent
;; ;;
-vxsim* | -vxworks* | -windiss*) -vxsim* | -vxworks*)
vendor=wrs vendor=wrs
;; ;;
-aux*) -aux*)

View File

@ -1,7 +1,7 @@
#! /bin/sh #! /bin/sh
# From configure.in Revision: 1.325 . # From configure.in Revision: 1.325.2.2 .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for Heimdal 0.4f. # Generated by GNU Autoconf 2.53 for Heimdal 0.5.1.
# #
# Report bugs to <heimdal-bugs@pdc.kth.se>. # Report bugs to <heimdal-bugs@pdc.kth.se>.
# #
@ -416,8 +416,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package. # Identity of this package.
PACKAGE_NAME='Heimdal' PACKAGE_NAME='Heimdal'
PACKAGE_TARNAME='heimdal' PACKAGE_TARNAME='heimdal'
PACKAGE_VERSION='0.4f' PACKAGE_VERSION='0.5.1'
PACKAGE_STRING='Heimdal 0.4f' PACKAGE_STRING='Heimdal 0.5.1'
PACKAGE_BUGREPORT='heimdal-bugs@pdc.kth.se' PACKAGE_BUGREPORT='heimdal-bugs@pdc.kth.se'
ac_unique_file="kuser/kinit.c" ac_unique_file="kuser/kinit.c"
@ -923,7 +923,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures Heimdal 0.4f to adapt to many kinds of systems. \`configure' configures Heimdal 0.5.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@ -993,7 +993,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of Heimdal 0.4f:";; short | recursive ) echo "Configuration of Heimdal 0.5.1:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@ -1127,7 +1127,7 @@ fi
test -n "$ac_init_help" && exit 0 test -n "$ac_init_help" && exit 0
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
Heimdal configure 0.4f Heimdal configure 0.5.1
generated by GNU Autoconf 2.53 generated by GNU Autoconf 2.53
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
@ -1142,7 +1142,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by Heimdal $as_me 0.4f, which was It was created by Heimdal $as_me 0.5.1, which was
generated by GNU Autoconf 2.53. Invocation command line was generated by GNU Autoconf 2.53. Invocation command line was
$ $0 $@ $ $0 $@
@ -2812,7 +2812,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE=heimdal PACKAGE=heimdal
VERSION=0.4f VERSION=0.5.1
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
@ -29181,7 +29181,7 @@ case "$host" in
*-*-solaris2.7) *-*-solaris2.7)
sunos=57 sunos=57
;; ;;
*-*-solaris2.89) *-*-solaris2.[89])
sunos=58 sunos=58
;; ;;
*-*-solaris2*) *-*-solaris2*)
@ -36240,7 +36240,7 @@ _ASBOX
} >&5 } >&5
cat >&5 <<_CSEOF cat >&5 <<_CSEOF
This file was extended by Heimdal $as_me 0.4f, which was This file was extended by Heimdal $as_me 0.5.1, which was
generated by GNU Autoconf 2.53. Invocation command line was generated by GNU Autoconf 2.53. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@ -36302,7 +36302,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\ ac_cs_version="\\
Heimdal config.status 0.4f Heimdal config.status 0.5.1
configured by $0, generated by GNU Autoconf 2.53, configured by $0, generated by GNU Autoconf 2.53,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
@ -37194,13 +37194,7 @@ echo "$as_me: executing $ac_dest commands" >&6;}
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
# Strip MF so we end up with the name of the file. # Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'` mf=`echo "$mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile or not. if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
# We used to match only the files named `Makefile.in', but
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
# So let's grep whole file.
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
dirpart=`(dirname "$mf") 2>/dev/null || dirpart=`(dirname "$mf") 2>/dev/null ||
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)[^/]' \| \
@ -37311,7 +37305,7 @@ fi
cat > include/newversion.h.in <<EOF cat > include/newversion.h.in <<EOF
const char *heimdal_long_version = "@(#)\$Version: $PACKAGE_STRING by @USER@ on @HOST@ ($host) @DATE@ \$"; const char *heimdal_long_version = "@(#)\$Version: $PACKAGE_STRING by @USER@ on @HOST@ ($host) @DATE@ \$";
const char *heimdal_version = "Heimdal 0.4f"; const char *heimdal_version = "Heimdal 0.5.1";
EOF EOF
if test -f include/version.h && cmp -s include/newversion.h.in include/version.h.in; then if test -f include/version.h && cmp -s include/newversion.h.in include/version.h.in; then

View File

@ -1,8 +1,8 @@
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
AC_REVISION($Revision: 1.325 $) AC_REVISION($Revision: 1.325.2.2 $)
AC_PREREQ(2.53) AC_PREREQ(2.53)
#test -z "$CFLAGS" && CFLAGS="-g" #test -z "$CFLAGS" && CFLAGS="-g"
AC_INIT(Heimdal, 0.4f, heimdal-bugs@pdc.kth.se) AC_INIT(Heimdal, 0.5.1, heimdal-bugs@pdc.kth.se)
AC_CONFIG_SRCDIR([kuser/kinit.c]) AC_CONFIG_SRCDIR([kuser/kinit.c])
AM_CONFIG_HEADER(include/config.h) AM_CONFIG_HEADER(include/config.h)

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -300,12 +299,12 @@ dist-info: $(INFO_DEPS)
mostlyclean-aminfo: mostlyclean-aminfo:
-rm -f heimdal.aux heimdal.cp heimdal.cps heimdal.dvi heimdal.fn heimdal.ky \ -rm -f heimdal.aux heimdal.cp heimdal.cps heimdal.dvi heimdal.fn heimdal.ky \
heimdal.log heimdal.pg heimdal.ps heimdal.tmp heimdal.toc \ heimdal.log heimdal.pg heimdal.ps heimdal.toc heimdal.tp \
heimdal.tp heimdal.vr heimdal.vr
maintainer-clean-aminfo: maintainer-clean-aminfo:
cd $(srcdir) && \ cd $(srcdir) && \
list='$(INFO_DEPS)'; for i in $$list; do \ for i in $(INFO_DEPS); do \
rm -f $$i; \ rm -f $$i; \
if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \ if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
rm -f $$i-[0-9]*; \ rm -f $$i-[0-9]*; \
@ -320,7 +319,7 @@ top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -370,7 +369,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -319,14 +318,10 @@ $(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
touch $(srcdir)/config.h.in touch $(srcdir)/config.h.in
distclean-hdr: distclean-hdr:
-rm -f config.h stamp-h1 -rm -f config.h
clean-noinstPROGRAMS: clean-noinstPROGRAMS:
@list='$(noinst_PROGRAMS)'; for p in $$list; do \ -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
bits$(EXEEXT): $(bits_OBJECTS) $(bits_DEPENDENCIES) bits$(EXEEXT): $(bits_OBJECTS) $(bits_DEPENDENCIES)
@rm -f bits$(EXEEXT) @rm -f bits$(EXEEXT)
$(LINK) $(bits_LDFLAGS) $(bits_OBJECTS) $(bits_LDADD) $(LIBS) $(LINK) $(bits_LDFLAGS) $(bits_OBJECTS) $(bits_LDADD) $(LIBS)
@ -478,7 +473,7 @@ top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -542,7 +537,7 @@ clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -247,7 +246,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -297,7 +296,7 @@ clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -33,7 +33,7 @@
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>
RCSID("$Id"); RCSID("$Id: make_crypto.c,v 1.2.2.1 2002/10/21 14:30:04 joda Exp $");
#endif #endif
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

View File

@ -128,7 +128,7 @@ else
# might cause directories to be created, which would be especially bad # might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'. # if $src (and thus $dsttmp) contains '*'.
if [ -f "$src" ] || [ -d "$src" ] if [ -f $src -o -d $src ]
then then
: :
else else

View File

@ -1,3 +1,7 @@
2002-10-21 Johan Danielsson <joda@pdc.kth.se>
* version4.c: pull up 1.27; check size of rlen
2002-09-10 Johan Danielsson <joda@pdc.kth.se> 2002-09-10 Johan Danielsson <joda@pdc.kth.se>
* server.c: constify match_appl_version() * server.c: constify match_appl_version()

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -305,8 +304,8 @@ kadmin_DEPENDENCIES = $(top_builddir)/lib/kadm5/libkadm5clnt.la \
$(top_builddir)/lib/krb5/libkrb5.la \ $(top_builddir)/lib/krb5/libkrb5.la \
$(top_builddir)/lib/asn1/libasn1.la $(top_builddir)/lib/asn1/libasn1.la
kadmin_LDFLAGS = kadmin_LDFLAGS =
@KRB4_TRUE@am__objects_1 = version4.$(OBJEXT) @KRB4_TRUE@am__objects_4 = version4.$(OBJEXT)
am_kadmind_OBJECTS = kadmind.$(OBJEXT) server.$(OBJEXT) $(am__objects_1) \ am_kadmind_OBJECTS = kadmind.$(OBJEXT) server.$(OBJEXT) $(am__objects_4) \
kadm_conn.$(OBJEXT) kadm_conn.$(OBJEXT)
kadmind_OBJECTS = $(am_kadmind_OBJECTS) kadmind_OBJECTS = $(am_kadmind_OBJECTS)
@KRB4_TRUE@kadmind_DEPENDENCIES = \ @KRB4_TRUE@kadmind_DEPENDENCIES = \
@ -360,7 +359,8 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
else :; fi; \ else :; fi; \
@ -369,24 +369,17 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
uninstall-libexecPROGRAMS: uninstall-libexecPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ @list='$(libexec_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \ echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
rm -f $(DESTDIR)$(libexecdir)/$$f; \ rm -f $(DESTDIR)$(libexecdir)/$$f; \
done done
clean-libexecPROGRAMS: clean-libexecPROGRAMS:
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ -test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
clean-noinstPROGRAMS: clean-noinstPROGRAMS:
@list='$(noinst_PROGRAMS)'; for p in $$list; do \ -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
install-sbinPROGRAMS: $(sbin_PROGRAMS) install-sbinPROGRAMS: $(sbin_PROGRAMS)
@$(NORMAL_INSTALL) @$(NORMAL_INSTALL)
@ -396,7 +389,8 @@ install-sbinPROGRAMS: $(sbin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \
else :; fi; \ else :; fi; \
@ -405,17 +399,14 @@ install-sbinPROGRAMS: $(sbin_PROGRAMS)
uninstall-sbinPROGRAMS: uninstall-sbinPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(sbin_PROGRAMS)'; for p in $$list; do \ @list='$(sbin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \ echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
rm -f $(DESTDIR)$(sbindir)/$$f; \ rm -f $(DESTDIR)$(sbindir)/$$f; \
done done
clean-sbinPROGRAMS: clean-sbinPROGRAMS:
@list='$(sbin_PROGRAMS)'; for p in $$list; do \ -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
add_random_users$(EXEEXT): $(add_random_users_OBJECTS) $(add_random_users_DEPENDENCIES) add_random_users$(EXEEXT): $(add_random_users_OBJECTS) $(add_random_users_DEPENDENCIES)
@rm -f add_random_users$(EXEEXT) @rm -f add_random_users$(EXEEXT)
$(LINK) $(add_random_users_LDFLAGS) $(add_random_users_OBJECTS) $(add_random_users_LDADD) $(LIBS) $(LINK) $(add_random_users_LDFLAGS) $(add_random_users_OBJECTS) $(add_random_users_LDADD) $(LIBS)
@ -466,10 +457,6 @@ install-man8: $(man8_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
8*) ;; \
*) ext='8' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -535,7 +522,7 @@ top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -585,7 +572,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -36,7 +36,7 @@
#include <sys/wait.h> #include <sys/wait.h>
#endif #endif
RCSID("$Id: kadm_conn.c,v 1.13 2001/05/16 22:06:44 assar Exp $"); RCSID("$Id: kadm_conn.c,v 1.13.6.1 2002/10/21 14:53:39 joda Exp $");
struct kadm_port { struct kadm_port {
char *port; char *port;
@ -62,12 +62,15 @@ add_kadm_port(krb5_context context, const char *service, unsigned int port)
kadm_ports = p; kadm_ports = p;
} }
extern int do_kerberos4;
static void static void
add_standard_ports (krb5_context context) add_standard_ports (krb5_context context)
{ {
add_kadm_port(context, "kerberos-adm", 749); add_kadm_port(context, "kerberos-adm", 749);
#ifdef KRB4 #ifdef KRB4
add_kadm_port(context, "kerberos-master", 751); if(do_kerberos4)
add_kadm_port(context, "kerberos-master", 751);
#endif #endif
} }

View File

@ -1,19 +1,19 @@
KADMIN(8) FreeBSD System Manager's Manual KADMIN(8) KADMIN(8) NetBSD System Manager's Manual KADMIN(8)
NNAAMMEE NNAAMMEE
kkaaddmmiinn - Kerberos administration utility kkaaddmmiinn - Kerberos administration utility
SSYYNNOOPPSSIISS SSYYNNOOPPSSIISS
kkaaddmmiinn [--pp _s_t_r_i_n_g | ----pprriinncciippaall==_s_t_r_i_n_g] [--KK _s_t_r_i_n_g | ----kkeeyyttaabb==_s_t_r_i_n_g] [--cc kkaaddmmiinn [--pp _s_t_r_i_n_g | ----pprriinncciippaall==_s_t_r_i_n_g] [--KK _s_t_r_i_n_g | ----kkeeyyttaabb==_s_t_r_i_n_g] [--cc
_f_i_l_e | ----ccoonnffiigg--ffiillee==_f_i_l_e] [--kk _f_i_l_e | ----kkeeyy--ffiillee==_f_i_l_e] [--rr _r_e_a_l_m | _f_i_l_e | ----ccoonnffiigg--ffiillee==_f_i_l_e] [--kk _f_i_l_e | ----kkeeyy--ffiillee==_f_i_l_e] [--rr _r_e_a_l_m |
----rreeaallmm==_r_e_a_l_m] [--aa _h_o_s_t | ----aaddmmiinn--sseerrvveerr==_h_o_s_t] [--ss _p_o_r_t _n_u_m_b_e_r | ----rreeaallmm==_r_e_a_l_m] [--aa _h_o_s_t | ----aaddmmiinn--sseerrvveerr==_h_o_s_t] [--ss _p_o_r_t _n_u_m_b_e_r |
----sseerrvveerr--ppoorrtt==_p_o_r_t _n_u_m_b_e_r] [--ll | ----llooccaall] [--hh | ----hheellpp] ----sseerrvveerr--ppoorrtt==_p_o_r_t _n_u_m_b_e_r] [--ll | ----llooccaall] [--hh | ----hheellpp] [--vv | ----vveerrssiioonn]
[--vv | ----vveerrssiioonn] [_c_o_m_m_a_n_d] [_c_o_m_m_a_n_d]
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
The kkaaddmmiinn program is used to make modification to the Kerberos database, The kkaaddmmiinn program is used to make modification to the Kerberos database,
either remotely via the kadmind(8) daemon, or locally (with the --ll either remotely via the kadmind(8) daemon, or locally (with the --ll op-
option). tion).
Supported options: Supported options:
@ -112,10 +112,10 @@ DDEESSCCRRIIPPTTIIOONN
mmeerrggee _f_i_l_e mmeerrggee _f_i_l_e
similar to lliisstt but just modifies the database with the similar to lliisstt but just modifies the database with the en-
entries in the dump file tries in the dump file
SSEEEE AALLSSOO SSEEEE AALLSSOO
kadmind(8), kdc(8) kadmind(8), kdc(8)
HEIMDAL September 10, 2000 HEIMDAL HEIMDAL September 10, 2000 2

View File

@ -1,4 +1,4 @@
.\" $Id: kadmind.8,v 1.10 2002/08/20 17:07:11 joda Exp $ .\" $Id: kadmind.8,v 1.10.2.1 2002/10/21 14:53:39 joda Exp $
.\" .\"
.Dd March 5, 2002 .Dd March 5, 2002
.Dt KADMIND 8 .Dt KADMIND 8
@ -26,6 +26,7 @@
.Fl -ports= Ns Ar port .Fl -ports= Ns Ar port
.Xc .Xc
.Oc .Oc
.Op Fl -no-kerberos4
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
listens for requests for changes to the Kerberos database and performs listens for requests for changes to the Kerberos database and performs
@ -118,11 +119,16 @@ enable debugging
.Fl -ports= Ns Ar port .Fl -ports= Ns Ar port
.Xc .Xc
ports to listen to. By default, if run as a daemon, it listen to ports ports to listen to. By default, if run as a daemon, it listen to ports
749, and 751 (if built with Kerberos 4 support), but you can add any 749, and 751 (if Kerberos 4 support is built and enabled), but you can
number of ports with this option. The port string is a whitespace add any number of ports with this option. The port string is a
separated list of port specifications, with the special string whitespace separated list of port specifications, with the special
string
.Dq + .Dq +
representing the default set of ports. representing the default set of ports.
.It Fl -no-kerberos4
make
.Nm
ignore Kerberos 4 kadmin requests.
.El .El
.\".Sh ENVIRONMENT .\".Sh ENVIRONMENT
.Sh FILES .Sh FILES

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997-2001 Kungliga Tekniska Högskolan * Copyright (c) 1997-2002 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden). * (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved. * All rights reserved.
* *
@ -33,7 +33,7 @@
#include "kadmin_locl.h" #include "kadmin_locl.h"
RCSID("$Id: kadmind.c,v 1.27 2001/05/14 06:16:41 assar Exp $"); RCSID("$Id: kadmind.c,v 1.27.6.1 2002/10/21 14:53:39 joda Exp $");
static char *check_library = NULL; static char *check_library = NULL;
static char *check_function = NULL; static char *check_function = NULL;
@ -45,6 +45,9 @@ static int version_flag;
static int debug_flag; static int debug_flag;
static char *port_str; static char *port_str;
char *realm; char *realm;
#ifdef KRB4
int do_kerberos4 = 1;
#endif
static struct getargs args[] = { static struct getargs args[] = {
{ {
@ -71,6 +74,11 @@ static struct getargs args[] = {
{ "debug", 'd', arg_flag, &debug_flag, { "debug", 'd', arg_flag, &debug_flag,
"enable debugging" "enable debugging"
}, },
#ifdef KRB4
{ "kerberos4", 0, arg_negative_flag, &do_kerberos4,
"don't respond to kerberos 4 requests"
},
#endif
{ "ports", 'p', arg_string, &port_str, { "ports", 'p', arg_string, &port_str,
"ports to listen to", "port" }, "ports to listen to", "port" },
{ "help", 'h', arg_flag, &help_flag }, { "help", 'h', arg_flag, &help_flag },

View File

@ -1,23 +1,23 @@
KADMIND(8) FreeBSD System Manager's Manual KADMIND(8) KADMIND(8) NetBSD System Manager's Manual KADMIND(8)
NNAAMMEE NNAAMMEE
kkaaddmmiinndd - server for administrative access to kerberos database kkaaddmmiinndd - server for administrative access to kerberos database
SSYYNNOOPPSSIISS SSYYNNOOPPSSIISS
kkaaddmmiinndd [--cc _f_i_l_e | ----ccoonnffiigg--ffiillee==_f_i_l_e] [--kk _f_i_l_e | ----kkeeyy--ffiillee==_f_i_l_e] kkaaddmmiinndd [--cc _f_i_l_e | ----ccoonnffiigg--ffiillee==_f_i_l_e] [--kk _f_i_l_e | ----kkeeyy--ffiillee==_f_i_l_e]
[----kkeeyyttaabb==_k_e_y_t_a_b] [--rr _r_e_a_l_m | ----rreeaallmm==_r_e_a_l_m] [--dd | ----ddeebbuugg] [--pp [----kkeeyyttaabb==_k_e_y_t_a_b] [--rr _r_e_a_l_m | ----rreeaallmm==_r_e_a_l_m] [--dd | ----ddeebbuugg] [--pp _p_o_r_t |
_p_o_r_t | ----ppoorrttss==_p_o_r_t] ----ppoorrttss==_p_o_r_t] [----nnoo--kkeerrbbeerrooss44]
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
kkaaddmmiinndd listens for requests for changes to the Kerberos database and kkaaddmmiinndd listens for requests for changes to the Kerberos database and
performs these, subject to permissions. When starting, if stdin is a performs these, subject to permissions. When starting, if stdin is a
socket it assumes that it has been started by inetd(8), otherwise it socket it assumes that it has been started by inetd(8), otherwise it be-
behaves as a daemon, forking processes for each new connection. The haves as a daemon, forking processes for each new connection. The ----ddeebbuugg
----ddeebbuugg option causes kkaaddmmiinndd to accept exactly one connection, which is option causes kkaaddmmiinndd to accept exactly one connection, which is useful
useful for debugging. for debugging.
If built with krb4 support, it implements both the Heimdal Kerberos 5 If built with krb4 support, it implements both the Heimdal Kerberos 5 ad-
administrative protocol and the Kerberos 4 protocol. Password changes via ministrative protocol and the Kerberos 4 protocol. Password changes via
the Kerberos 4 protocol are also performed by kkaaddmmiinndd, but the the Kerberos 4 protocol are also performed by kkaaddmmiinndd, but the
kpasswdd(8) daemon is responsible for the Kerberos 5 password changing kpasswdd(8) daemon is responsible for the Kerberos 5 password changing
protocol (used by kpasswd(1)) protocol (used by kpasswd(1))
@ -63,10 +63,14 @@ DDEESSCCRRIIPPTTIIOONN
--pp _p_o_r_t, ----ppoorrttss==_p_o_r_t --pp _p_o_r_t, ----ppoorrttss==_p_o_r_t
ports to listen to. By default, if run as a daemon, it listen to ports to listen to. By default, if run as a daemon, it listen to
ports 749, and 751 (if built with Kerberos 4 support), but you ports 749, and 751 (if Kerberos 4 support is built and enabled),
can add any number of ports with this option. The port string is but you can add any number of ports with this option. The port
a whitespace separated list of port specifications, with the spe- string is a whitespace separated list of port specifications,
cial string ``+'' representing the default set of ports. with the special string ``+'' representing the default set of
ports.
----nnoo--kkeerrbbeerrooss44
make kkaaddmmiinndd ignore Kerberos 4 kadmin requests.
FFIILLEESS FFIILLEESS
_/_v_a_r_/_h_e_i_m_d_a_l_/_k_a_d_m_i_n_d_._a_c_l _/_v_a_r_/_h_e_i_m_d_a_l_/_k_a_d_m_i_n_d_._a_c_l
@ -75,7 +79,7 @@ EEXXAAMMPPLLEESS
This will cause kkaaddmmiinndd to listen to port 4711 in addition to any com- This will cause kkaaddmmiinndd to listen to port 4711 in addition to any com-
piled in defaults: piled in defaults:
kkaaddmmiinndd ----ppoorrttss="+ 4711" & kkaaddmmiinndd----ppoorrttss="+ 4711" &
This acl file will grant Joe all rights, and allow Mallory to view and This acl file will grant Joe all rights, and allow Mallory to view and
add host principals. add host principals.
@ -86,4 +90,4 @@ EEXXAAMMPPLLEESS
SSEEEE AALLSSOO SSEEEE AALLSSOO
kpasswd(1), kadmin(8), kdc(8), kpasswdd(8) kpasswd(1), kadmin(8), kdc(8), kpasswdd(8)
HEIMDAL March 5, 2002 HEIMDAL HEIMDAL March 5, 2002 2

View File

@ -34,7 +34,7 @@
#include "kadmin_locl.h" #include "kadmin_locl.h"
#include <krb5-private.h> #include <krb5-private.h>
RCSID("$Id: server.c,v 1.36 2002/09/10 19:23:28 joda Exp $"); RCSID("$Id: server.c,v 1.36.2.1 2002/10/21 14:53:39 joda Exp $");
static kadm5_ret_t static kadm5_ret_t
kadmind_dispatch(void *kadm_handle, krb5_boolean initial, kadmind_dispatch(void *kadm_handle, krb5_boolean initial,
@ -532,6 +532,8 @@ handle_v5(krb5_context context,
v5_loop (context, ac, initial, kadm_handle, fd); v5_loop (context, ac, initial, kadm_handle, fd);
} }
extern int do_kerberos4;
krb5_error_code krb5_error_code
kadmind_loop(krb5_context context, kadmind_loop(krb5_context context,
krb5_auth_context ac, krb5_auth_context ac,
@ -551,7 +553,10 @@ kadmind_loop(krb5_context context,
if(len > 0xffff && (len & 0xffff) == ('K' << 8) + 'A') { if(len > 0xffff && (len & 0xffff) == ('K' << 8) + 'A') {
len >>= 16; len >>= 16;
#ifdef KRB4 #ifdef KRB4
handle_v4(context, keytab, len, fd); if(do_kerberos4)
handle_v4(context, keytab, len, fd);
else
krb5_errx(context, 1, "version 4 kadmin is disabled");
#else #else
krb5_errx(context, 1, "packet appears to be version 4"); krb5_errx(context, 1, "packet appears to be version 4");
#endif #endif

View File

@ -41,7 +41,7 @@
#include <krb_err.h> #include <krb_err.h>
#include <kadm_err.h> #include <kadm_err.h>
RCSID("$Id: version4.c,v 1.27 2002/10/21 12:35:07 joda Exp $"); RCSID("$Id: version4.c,v 1.26.2.1 2002/10/21 14:52:59 joda Exp $");
#define KADM_NO_OPCODE -1 #define KADM_NO_OPCODE -1
#define KADM_NO_ENCRYPT -2 #define KADM_NO_ENCRYPT -2

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -349,7 +348,8 @@ install-binPROGRAMS: $(bin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \ else :; fi; \
@ -358,17 +358,14 @@ install-binPROGRAMS: $(bin_PROGRAMS)
uninstall-binPROGRAMS: uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \ @list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \ rm -f $(DESTDIR)$(bindir)/$$f; \
done done
clean-binPROGRAMS: clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM) libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
install-libexecPROGRAMS: $(libexec_PROGRAMS) install-libexecPROGRAMS: $(libexec_PROGRAMS)
@$(NORMAL_INSTALL) @$(NORMAL_INSTALL)
@ -378,7 +375,8 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
else :; fi; \ else :; fi; \
@ -387,17 +385,14 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
uninstall-libexecPROGRAMS: uninstall-libexecPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ @list='$(libexec_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \ echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
rm -f $(DESTDIR)$(libexecdir)/$$f; \ rm -f $(DESTDIR)$(libexecdir)/$$f; \
done done
clean-libexecPROGRAMS: clean-libexecPROGRAMS:
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ -test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
install-sbinPROGRAMS: $(sbin_PROGRAMS) install-sbinPROGRAMS: $(sbin_PROGRAMS)
@$(NORMAL_INSTALL) @$(NORMAL_INSTALL)
@ -407,7 +402,8 @@ install-sbinPROGRAMS: $(sbin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \
else :; fi; \ else :; fi; \
@ -416,17 +412,14 @@ install-sbinPROGRAMS: $(sbin_PROGRAMS)
uninstall-sbinPROGRAMS: uninstall-sbinPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(sbin_PROGRAMS)'; for p in $$list; do \ @list='$(sbin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \ echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
rm -f $(DESTDIR)$(sbindir)/$$f; \ rm -f $(DESTDIR)$(sbindir)/$$f; \
done done
clean-sbinPROGRAMS: clean-sbinPROGRAMS:
@list='$(sbin_PROGRAMS)'; for p in $$list; do \ -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
hprop$(EXEEXT): $(hprop_OBJECTS) $(hprop_DEPENDENCIES) hprop$(EXEEXT): $(hprop_OBJECTS) $(hprop_DEPENDENCIES)
@rm -f hprop$(EXEEXT) @rm -f hprop$(EXEEXT)
$(LINK) $(hprop_LDFLAGS) $(hprop_OBJECTS) $(hprop_LDADD) $(LIBS) $(LINK) $(hprop_LDFLAGS) $(hprop_OBJECTS) $(hprop_LDADD) $(LIBS)
@ -483,10 +476,6 @@ install-man8: $(man8_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
8*) ;; \
*) ext='8' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -552,7 +541,7 @@ top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -602,7 +591,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -33,7 +33,7 @@
#include "kdc_locl.h" #include "kdc_locl.h"
RCSID("$Id: connect.c,v 1.86 2002/08/12 13:29:48 joda Exp $"); RCSID("$Id: connect.c,v 1.86.4.1 2002/10/21 16:05:17 joda Exp $");
/* /*
* a tuple describing on what to listen * a tuple describing on what to listen
@ -493,7 +493,7 @@ de_http(char *buf)
{ {
char *p, *q; char *p, *q;
for(p = q = buf; *p; p++, q++) { for(p = q = buf; *p; p++, q++) {
if(*p == '%') { if(*p == '%' && isxdigit(p[1]) && isxdigit(p[2])) {
unsigned int x; unsigned int x;
if(sscanf(p + 1, "%2x", &x) != 1) if(sscanf(p + 1, "%2x", &x) != 1)
return -1; return -1;

View File

@ -1,15 +1,15 @@
HPROP(8) FreeBSD System Manager's Manual HPROP(8) HPROP(8) NetBSD System Manager's Manual HPROP(8)
NNAAMMEE NNAAMMEE
hhpprroopp - propagate the KDC database hhpprroopp - propagate the KDC database
SSYYNNOOPPSSIISS SSYYNNOOPPSSIISS
hhpprroopp [--mm _f_i_l_e | ----mmaasstteerr--kkeeyy==_f_i_l_e] [--dd _f_i_l_e | ----ddaattaabbaassee==_f_i_l_e] hhpprroopp [--mm _f_i_l_e | ----mmaasstteerr--kkeeyy==_f_i_l_e] [--dd _f_i_l_e | ----ddaattaabbaassee==_f_i_l_e]
[----ssoouurrccee==_h_e_i_m_d_a_l_|_m_i_t_-_d_u_m_p_|_k_r_b_4_-_d_u_m_p_|_k_r_b_4_-_d_b_|_k_a_s_e_r_v_e_r] [--rr _s_t_r_i_n_g | [----ssoouurrccee==_h_e_i_m_d_a_l_|_m_i_t_-_d_u_m_p_|_k_r_b_4_-_d_u_m_p_|_k_r_b_4_-_d_b_|_k_a_s_e_r_v_e_r] [--rr _s_t_r_i_n_g |
----vv44--rreeaallmm==_s_t_r_i_n_g] [--cc _c_e_l_l | ----cceellll==_c_e_l_l] [--SS | ----kkaassppeecciiaallss] [--kk ----vv44--rreeaallmm==_s_t_r_i_n_g] [--cc _c_e_l_l | ----cceellll==_c_e_l_l] [--SS | ----kkaassppeecciiaallss] [--kk _k_e_y_t_a_b
_k_e_y_t_a_b | ----kkeeyyttaabb==_k_e_y_t_a_b] [--RR _s_t_r_i_n_g | ----vv55--rreeaallmm==_s_t_r_i_n_g] | ----kkeeyyttaabb==_k_e_y_t_a_b] [--RR _s_t_r_i_n_g | ----vv55--rreeaallmm==_s_t_r_i_n_g] [--DD | ----ddeeccrryypptt] [--EE |
[--DD | ----ddeeccrryypptt] [--EE | ----eennccrryypptt] [--nn | ----ssttddoouutt] [--vv | ----vveerrbboossee] ----eennccrryypptt] [--nn | ----ssttddoouutt] [--vv | ----vveerrbboossee] [----vveerrssiioonn] [--hh | ----hheellpp]
[----vveerrssiioonn] [--hh | ----hheellpp] [_h_o_s_t[:_p_o_r_t]] _._._. [_h_o_s_t[:_p_o_r_t]] _._._.
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
hhpprroopp takes a principal database in a specified format and converts it hhpprroopp takes a principal database in a specified format and converts it
@ -95,4 +95,4 @@ EEXXAAMMPPLLEESS
SSEEEE AALLSSOO SSEEEE AALLSSOO
hpropd(8) hpropd(8)
HEIMDAL June 19, 2000 HEIMDAL HEIMDAL June 19, 2000 2

View File

@ -1,11 +1,11 @@
HPROPD(8) FreeBSD System Manager's Manual HPROPD(8) HPROPD(8) NetBSD System Manager's Manual HPROPD(8)
NNAAMMEE NNAAMMEE
hhpprrooppdd - receive a propagated database hhpprrooppdd - receive a propagated database
SSYYNNOOPPSSIISS SSYYNNOOPPSSIISS
hhpprrooppdd [--dd _f_i_l_e | ----ddaattaabbaassee==_f_i_l_e] [--nn | ----ssttddiinn] [----pprriinntt] hhpprrooppdd [--dd _f_i_l_e | ----ddaattaabbaassee==_f_i_l_e] [--nn | ----ssttddiinn] [----pprriinntt] [--ii |
[--ii | ----nnoo--iinneettdd] [--kk _k_e_y_t_a_b | ----kkeeyyttaabb==_k_e_y_t_a_b] [--44 | ----vv44dduummpp] ----nnoo--iinneettdd] [--kk _k_e_y_t_a_b | ----kkeeyyttaabb==_k_e_y_t_a_b] [--44 | ----vv44dduummpp]
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
hhpprrooppdd receives databases sent by hhpprroopp. and writes it as a local hhpprrooppdd receives databases sent by hhpprroopp. and writes it as a local
@ -39,4 +39,4 @@ DDEESSCCRRIIPPTTIIOONN
SSEEEE AALLSSOO SSEEEE AALLSSOO
hprop(8) hprop(8)
HEIMDAL August 27, 1997 HEIMDAL HEIMDAL August 27, 1997 1

View File

@ -33,7 +33,7 @@
#include "kdc_locl.h" #include "kdc_locl.h"
RCSID("$Id: kaserver.c,v 1.20 2002/09/09 14:03:02 nectar Exp $"); RCSID("$Id: kaserver.c,v 1.20.2.1 2002/10/21 14:30:51 joda Exp $");
#include <rx.h> #include <rx.h>
@ -477,6 +477,10 @@ do_authenticate (struct rx_header *hdr,
/* life */ /* life */
max_life = end_time - kdc_time; max_life = end_time - kdc_time;
/* end_time - kdc_time can sometimes be non-positive due to slight
time skew between client and server. Let's make sure it is postive */
if(max_life < 1)
max_life = 1;
if (client_entry->max_life) if (client_entry->max_life)
max_life = min(max_life, *client_entry->max_life); max_life = min(max_life, *client_entry->max_life);
if (server_entry->max_life) if (server_entry->max_life)
@ -710,6 +714,10 @@ do_getticket (struct rx_header *hdr,
/* life */ /* life */
max_life = end_time - kdc_time; max_life = end_time - kdc_time;
/* end_time - kdc_time can sometimes be non-positive due to slight
time skew between client and server. Let's make sure it is postive */
if(max_life < 1)
max_life = 1;
if (krbtgt_entry->max_life) if (krbtgt_entry->max_life)
max_life = min(max_life, *krbtgt_entry->max_life); max_life = min(max_life, *krbtgt_entry->max_life);
if (server_entry->max_life) if (server_entry->max_life)

View File

@ -1,13 +1,13 @@
KDC(8) FreeBSD System Manager's Manual KDC(8) KDC(8) NetBSD System Manager's Manual KDC(8)
NNAAMMEE NNAAMMEE
kkddcc - Kerberos 5 server kkddcc - Kerberos 5 server
SSYYNNOOPPSSIISS SSYYNNOOPPSSIISS
kkddcc [--cc _f_i_l_e | ----ccoonnffiigg--ffiillee==_f_i_l_e] [--pp | ----nnoo--rreeqquuiirree--pprreeaauutthh] kkddcc [--cc _f_i_l_e | ----ccoonnffiigg--ffiillee==_f_i_l_e] [--pp | ----nnoo--rreeqquuiirree--pprreeaauutthh]
[----mmaaxx--rreeqquueesstt==_s_i_z_e] [--HH | ----eennaabbllee--hhttttpp] [--rr _s_t_r_i_n_g | [----mmaaxx--rreeqquueesstt==_s_i_z_e] [--HH | ----eennaabbllee--hhttttpp] [--rr _s_t_r_i_n_g | ----vv44--rreeaallmm==_s_t_r_i_n_g]
----vv44--rreeaallmm==_s_t_r_i_n_g] [--KK | ----nnoo--kkaasseerrvveerr] [--rr _r_e_a_l_m] [----vv44--rreeaallmm==_r_e_a_l_m] [--KK | ----nnoo--kkaasseerrvveerr] [--rr _r_e_a_l_m] [----vv44--rreeaallmm==_r_e_a_l_m] [--PP _s_t_r_i_n_g |
[--PP _s_t_r_i_n_g | ----ppoorrttss==_s_t_r_i_n_g] [----aaddddrreesssseess==_l_i_s_t _o_f _a_d_d_r_e_s_s_e_s] ----ppoorrttss==_s_t_r_i_n_g] [----aaddddrreesssseess==_l_i_s_t _o_f _a_d_d_r_e_s_s_e_s]
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
kkddcc serves requests for tickets. When it starts, it first checks the kkddcc serves requests for tickets. When it starts, it first checks the
@ -26,11 +26,11 @@ DDEESSCCRRIIPPTTIIOONN
REQ for all principals. The use of pre-authentication makes it REQ for all principals. The use of pre-authentication makes it
more difficult to do offline password attacks. You might want to more difficult to do offline password attacks. You might want to
turn it off if you have clients that doesn't do pre-authentica- turn it off if you have clients that doesn't do pre-authentica-
tion. Since the version 4 protocol doesn't support any pre- tion. Since the version 4 protocol doesn't support any pre-au-
authentication, so serving version 4 clients is just about the thentication, so serving version 4 clients is just about the same
same as not requiring pre-athentication. The default is to as not requiring pre-athentication. The default is to require
require pre-authentication. Adding the require-preauth per prin- pre-authentication. Adding the require-preauth per principal is a
cipal is a more flexible way of handling this. more flexible way of handling this.
----mmaaxx--rreeqquueesstt==_s_i_z_e ----mmaaxx--rreeqquueesstt==_s_i_z_e
Gives an upper limit on the size of the requests that the kdc is Gives an upper limit on the size of the requests that the kdc is
@ -58,16 +58,16 @@ DDEESSCCRRIIPPTTIIOONN
----aaddddrreesssseess==_l_i_s_t _o_f _a_d_d_r_e_s_s_e_s ----aaddddrreesssseess==_l_i_s_t _o_f _a_d_d_r_e_s_s_e_s
The list of addresses to listen for requests on. By default, the The list of addresses to listen for requests on. By default, the
kdc will listen on all the locally configured addresses. If only kdc will listen on all the locally configured addresses. If only
a subset is desired, or the automatic detection fails, this a subset is desired, or the automatic detection fails, this op-
option might be used. tion might be used.
All activities , are logged to one or more destinations, see All activities , are logged to one or more destinations, see
krb5.conf(5), and krb5_openlog(3). The entity used for logging is kkddcc. krb5.conf(5), and krb5_openlog(3). The entity used for logging is kkddcc.
CCOONNFFIIGGUURRAATTIIOONN FFIILLEE CCOONNFFIIGGUURRAATTIIOONN FFIILLEE
The configuration file has the same syntax as krb5.conf(5), but will be The configuration file has the same syntax as krb5.conf(5), but will be
read before _/_e_t_c_/_k_r_b_5_._c_o_n_f, so it may override settings found there. read before _/_e_t_c_/_k_r_b_5_._c_o_n_f, so it may override settings found there. Op-
Options specific to the KDC only are found in the ``[kdc]'' section. All tions specific to the KDC only are found in the ``[kdc]'' section. All
the command-line options can preferably be added in the configuration the command-line options can preferably be added in the configuration
file. The only difference is the pre-authentication flag, that has to be file. The only difference is the pre-authentication flag, that has to be
specified as: specified as:
@ -80,8 +80,8 @@ CCOONNFFIIGGUURRAATTIIOONN FFIILLEE
equivalents: equivalents:
check-ticket-addresses = _b_o_o_l_e_a_n check-ticket-addresses = _b_o_o_l_e_a_n
Check the addresses in the ticket when processing TGS Check the addresses in the ticket when processing TGS re-
requests. The default is FALSE. quests. The default is FALSE.
allow-null-ticket-addresses = _b_o_o_l_e_a_n allow-null-ticket-addresses = _b_o_o_l_e_a_n
Permit tickets with no addresses. This option is only rele- Permit tickets with no addresses. This option is only rele-
@ -123,4 +123,4 @@ BBUUGGSS
SSEEEE AALLSSOO SSEEEE AALLSSOO
kinit(1), krb5.conf(5) kinit(1), krb5.conf(5)
HEIMDAL August 22, 2002 HEIMDAL HEIMDAL August 22, 2002 2

View File

@ -1,11 +1,11 @@
KSTASH(8) FreeBSD System Manager's Manual KSTASH(8) KSTASH(8) NetBSD System Manager's Manual KSTASH(8)
NNAAMMEE NNAAMMEE
kkssttaasshh - store the KDC master password in a file kkssttaasshh - store the KDC master password in a file
SSYYNNOOPPSSIISS SSYYNNOOPPSSIISS
kkssttaasshh [--ee _s_t_r_i_n_g | ----eennccttyyppee==_s_t_r_i_n_g] [--kk _f_i_l_e | ----kkeeyy--ffiillee==_f_i_l_e] kkssttaasshh [--ee _s_t_r_i_n_g | ----eennccttyyppee==_s_t_r_i_n_g] [--kk _f_i_l_e | ----kkeeyy--ffiillee==_f_i_l_e]
[----ccoonnvveerrtt--ffiillee] [----mmaasstteerr--kkeeyy--ffdd==_f_d] [--hh | ----hheellpp] [----vveerrssiioonn] [----ccoonnvveerrtt--ffiillee] [----mmaasstteerr--kkeeyy--ffdd==_f_d] [--hh | ----hheellpp] [----vveerrssiioonn]
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
kkssttaasshh reads the Kerberos master key and stores it in a file that will be kkssttaasshh reads the Kerberos master key and stores it in a file that will be
@ -30,4 +30,4 @@ DDEESSCCRRIIPPTTIIOONN
SSEEEE AALLSSOO SSEEEE AALLSSOO
kdc(8) kdc(8)
HEIMDAL September 1, 2000 HEIMDAL HEIMDAL September 1, 2000 1

View File

@ -1,13 +1,12 @@
STRING2KEY(8) FreeBSD System Manager's Manual STRING2KEY(8) STRING2KEY(8) NetBSD System Manager's Manual STRING2KEY(8)
NNAAMMEE NNAAMMEE
ssttrriinngg22kkeeyy - map a password into a key ssttrriinngg22kkeeyy - map a password into a key
SSYYNNOOPPSSIISS SSYYNNOOPPSSIISS
ssttrriinngg22kkeeyy [--55 | ----vveerrssiioonn55] [--44 | ----vveerrssiioonn44] [--aa | ----aaffss] [--cc _c_e_l_l | ssttrriinngg22kkeeyy [--55 | ----vveerrssiioonn55] [--44 | ----vveerrssiioonn44] [--aa | ----aaffss] [--cc _c_e_l_l |
----cceellll==_c_e_l_l] [--ww _p_a_s_s_w_o_r_d | ----ppaasssswwoorrdd==_p_a_s_s_w_o_r_d] [--pp _p_r_i_n_c_i_p_a_l ----cceellll==_c_e_l_l] [--ww _p_a_s_s_w_o_r_d | ----ppaasssswwoorrdd==_p_a_s_s_w_o_r_d] [--pp _p_r_i_n_c_i_p_a_l |
| ----pprriinncciippaall==_p_r_i_n_c_i_p_a_l] [--kk _s_t_r_i_n_g | ----kkeeyyttyyppee==_s_t_r_i_n_g] ----pprriinncciippaall==_p_r_i_n_c_i_p_a_l] [--kk _s_t_r_i_n_g | ----kkeeyyttyyppee==_s_t_r_i_n_g] _p_a_s_s_w_o_r_d
_p_a_s_s_w_o_r_d
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
ssttrriinngg22kkeeyy performs the string-to-key function. This is useful when you ssttrriinngg22kkeeyy performs the string-to-key function. This is useful when you
@ -39,4 +38,4 @@ DDEESSCCRRIIPPTTIIOONN
----hheellpp ----hheellpp
HEIMDAL March 4, 2000 HEIMDAL HEIMDAL March 4, 2000 1

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -297,7 +296,8 @@ install-binPROGRAMS: $(bin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \ else :; fi; \
@ -306,17 +306,14 @@ install-binPROGRAMS: $(bin_PROGRAMS)
uninstall-binPROGRAMS: uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \ @list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \ rm -f $(DESTDIR)$(bindir)/$$f; \
done done
clean-binPROGRAMS: clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM) libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
install-libexecPROGRAMS: $(libexec_PROGRAMS) install-libexecPROGRAMS: $(libexec_PROGRAMS)
@$(NORMAL_INSTALL) @$(NORMAL_INSTALL)
@ -326,7 +323,8 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
else :; fi; \ else :; fi; \
@ -335,24 +333,17 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
uninstall-libexecPROGRAMS: uninstall-libexecPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ @list='$(libexec_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \ echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
rm -f $(DESTDIR)$(libexecdir)/$$f; \ rm -f $(DESTDIR)$(libexecdir)/$$f; \
done done
clean-libexecPROGRAMS: clean-libexecPROGRAMS:
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ -test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
clean-noinstPROGRAMS: clean-noinstPROGRAMS:
@list='$(noinst_PROGRAMS)'; for p in $$list; do \ -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
kpasswd$(EXEEXT): $(kpasswd_OBJECTS) $(kpasswd_DEPENDENCIES) kpasswd$(EXEEXT): $(kpasswd_OBJECTS) $(kpasswd_DEPENDENCIES)
@rm -f kpasswd$(EXEEXT) @rm -f kpasswd$(EXEEXT)
$(LINK) $(kpasswd_LDFLAGS) $(kpasswd_OBJECTS) $(kpasswd_LDADD) $(LIBS) $(LINK) $(kpasswd_LDFLAGS) $(kpasswd_OBJECTS) $(kpasswd_LDADD) $(LIBS)
@ -403,10 +394,6 @@ install-man1: $(man1_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
1*) ;; \
*) ext='1' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -446,10 +433,6 @@ install-man8: $(man8_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
8*) ;; \
*) ext='8' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -515,7 +498,7 @@ top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -565,7 +548,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
KPASSWD(1) FreeBSD General Commands Manual KPASSWD(1) KPASSWD(1) NetBSD Reference Manual KPASSWD(1)
NNAAMMEE NNAAMMEE
kkppaasssswwdd - Kerberos 5 password changing program kkppaasssswwdd - Kerberos 5 password changing program
@ -16,4 +16,4 @@ DDIIAAGGNNOOSSTTIICCSS
SSEEEE AALLSSOO SSEEEE AALLSSOO
kpasswdd(8) kpasswdd(8)
HEIMDAL August 27, 1997 HEIMDAL HEIMDAL August 27, 1997 1

View File

@ -1,12 +1,12 @@
KPASSWDD(8) FreeBSD System Manager's Manual KPASSWDD(8) KPASSWDD(8) NetBSD System Manager's Manual KPASSWDD(8)
NNAAMMEE NNAAMMEE
kkppaasssswwdddd - Kerberos 5 password changing server kkppaasssswwdddd - Kerberos 5 password changing server
SSYYNNOOPPSSIISS SSYYNNOOPPSSIISS
kkppaasssswwdddd [----cchheecckk--lliibbrraarryy==_l_i_b_r_a_r_y] [----cchheecckk--ffuunnccttiioonn==_f_u_n_c_t_i_o_n] [--kk _k_s_p_e_c kkppaasssswwdddd [----cchheecckk--lliibbrraarryy==_l_i_b_r_a_r_y] [----cchheecckk--ffuunnccttiioonn==_f_u_n_c_t_i_o_n] [--kk _k_s_p_e_c
| ----kkeeyyttaabb==_k_s_p_e_c] [--rr _r_e_a_l_m | ----rreeaallmm==_r_e_a_l_m] [--pp _s_t_r_i_n_g | | ----kkeeyyttaabb==_k_s_p_e_c] [--rr _r_e_a_l_m | ----rreeaallmm==_r_e_a_l_m] [--pp _s_t_r_i_n_g | ----ppoorrtt==_s_t_r_i_n_g]
----ppoorrtt==_s_t_r_i_n_g] [----vveerrssiioonn] [----hheellpp] [----vveerrssiioonn] [----hheellpp]
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
kkppaasssswwdddd serves request for password changes. It listens on UDP port 464 kkppaasssswwdddd serves request for password changes. It listens on UDP port 464
@ -16,9 +16,9 @@ DDEESSCCRRIIPPTTIIOONN
Supported options: Supported options:
----cchheecckk--lliibbrraarryy==_l_i_b_r_a_r_y ----cchheecckk--lliibbrraarryy==_l_i_b_r_a_r_y
If your system has support for dynamic loading of shared If your system has support for dynamic loading of shared li-
libraries, you can use an external function to check password braries, you can use an external function to check password qual-
quality. This option specifies which library to load. ity. This option specifies which library to load.
----cchheecckk--ffuunnccttiioonn==_f_u_n_c_t_i_o_n ----cchheecckk--ffuunnccttiioonn==_f_u_n_c_t_i_o_n
This is the function to call in the loaded library. The function This is the function to call in the loaded library. The function
@ -50,4 +50,4 @@ BBUUGGSS
SSEEEE AALLSSOO SSEEEE AALLSSOO
kpasswd(1), kdc(8) kpasswd(1), kdc(8)
HEIMDAL April 19, 1999 HEIMDAL HEIMDAL April 19, 1999 1

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -325,7 +324,8 @@ install-binPROGRAMS: $(bin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \ else :; fi; \
@ -334,24 +334,17 @@ install-binPROGRAMS: $(bin_PROGRAMS)
uninstall-binPROGRAMS: uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \ @list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \ rm -f $(DESTDIR)$(bindir)/$$f; \
done done
clean-binPROGRAMS: clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
clean-noinstPROGRAMS: clean-noinstPROGRAMS:
@list='$(noinst_PROGRAMS)'; for p in $$list; do \ -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
generate-requests$(EXEEXT): $(generate_requests_OBJECTS) $(generate_requests_DEPENDENCIES) generate-requests$(EXEEXT): $(generate_requests_OBJECTS) $(generate_requests_DEPENDENCIES)
@rm -f generate-requests$(EXEEXT) @rm -f generate-requests$(EXEEXT)
$(LINK) $(generate_requests_LDFLAGS) $(generate_requests_OBJECTS) $(generate_requests_LDADD) $(LIBS) $(LINK) $(generate_requests_LDFLAGS) $(generate_requests_OBJECTS) $(generate_requests_LDADD) $(LIBS)
@ -414,10 +407,6 @@ install-man1: $(man1_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
1*) ;; \
*) ext='1' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -483,7 +472,7 @@ top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -533,7 +522,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,11 +1,11 @@
KDESTROY(1) FreeBSD General Commands Manual KDESTROY(1) KDESTROY(1) NetBSD Reference Manual KDESTROY(1)
NNAAMMEE NNAAMMEE
kkddeessttrrooyy - destroy the current ticket file kkddeessttrrooyy - destroy the current ticket file
SSYYNNOOPPSSIISS SSYYNNOOPPSSIISS
kkddeessttrrooyy [--cc _c_a_c_h_e_f_i_l_e] [----ccaacchhee==_c_a_c_h_e_f_i_l_e] [----nnoo--uunnlloogg] [----nnoo--ddeelleettee--vv44] kkddeessttrrooyy [--cc _c_a_c_h_e_f_i_l_e] [----ccaacchhee==_c_a_c_h_e_f_i_l_e] [----nnoo--uunnlloogg] [----nnoo--ddeelleettee--vv44]
[----vveerrssiioonn] [----hheellpp] [----vveerrssiioonn] [----hheellpp]
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
kkddeessttrrooyy remove the current set of tickets. kkddeessttrrooyy remove the current set of tickets.
@ -26,4 +26,4 @@ DDEESSCCRRIIPPTTIIOONN
SSEEEE AALLSSOO SSEEEE AALLSSOO
kinit(1), klist(1) kinit(1), klist(1)
HEIMDAL August 27, 1997 HEIMDAL HEIMDAL August 27, 1997 1

View File

@ -1,4 +1,4 @@
KGETCRED(1) FreeBSD General Commands Manual KGETCRED(1) KGETCRED(1) NetBSD Reference Manual KGETCRED(1)
NNAAMMEE NNAAMMEE
kkggeettccrreedd - get a ticket for a particular service kkggeettccrreedd - get a ticket for a particular service
@ -23,4 +23,4 @@ DDEESSCCRRIIPPTTIIOONN
SSEEEE AALLSSOO SSEEEE AALLSSOO
kinit(1), klist(1) kinit(1), klist(1)
HEIMDAL May 14, 1999 HEIMDAL HEIMDAL May 14, 1999 1

View File

@ -1,4 +1,4 @@
.\" $Id: kinit.1,v 1.21 2002/09/13 14:50:27 joda Exp $ .\" $Id: kinit.1,v 1.20 2002/08/28 16:09:36 joda Exp $
.\" .\"
.Dd May 29, 1998 .Dd May 29, 1998
.Dt KINIT 1 .Dt KINIT 1
@ -91,7 +91,7 @@ Get ticket that can be forwarded to another host.
Don't ask for a password, but instead get the key from the specified Don't ask for a password, but instead get the key from the specified
keytab. keytab.
.It Xo .It Xo
.Fl l Ar time , .Fl l Ar time Ns ,
.Fl -lifetime= Ns Ar time .Fl -lifetime= Ns Ar time
.Xc .Xc
Specifies the lifetime of the ticket. The argument can either be in Specifies the lifetime of the ticket. The argument can either be in

View File

@ -1,4 +1,4 @@
KINIT(1) FreeBSD General Commands Manual KINIT(1) KINIT(1) NetBSD Reference Manual KINIT(1)
NNAAMMEE NNAAMMEE
kkiinniitt kkaauutthh - acquire initial tickets kkiinniitt kkaauutthh - acquire initial tickets
@ -8,9 +8,9 @@ SSYYNNOOPPSSIISS
----ccaacchhee==_c_a_c_h_e_n_a_m_e] [--ff | ----ffoorrwwaarrddaabbllee] [--tt _k_e_y_t_a_b_n_a_m_e | ----ccaacchhee==_c_a_c_h_e_n_a_m_e] [--ff | ----ffoorrwwaarrddaabbllee] [--tt _k_e_y_t_a_b_n_a_m_e |
----kkeeyyttaabb==_k_e_y_t_a_b_n_a_m_e] [--ll _t_i_m_e | ----lliiffeettiimmee==_t_i_m_e] [--pp | ----pprrooxxiiaabbllee] ----kkeeyyttaabb==_k_e_y_t_a_b_n_a_m_e] [--ll _t_i_m_e | ----lliiffeettiimmee==_t_i_m_e] [--pp | ----pprrooxxiiaabbllee]
[--RR | ----rreenneeww] [----rreenneewwaabbllee] [--rr _t_i_m_e | ----rreenneewwaabbllee--lliiffee==_t_i_m_e] [--SS [--RR | ----rreenneeww] [----rreenneewwaabbllee] [--rr _t_i_m_e | ----rreenneewwaabbllee--lliiffee==_t_i_m_e] [--SS
_p_r_i_n_c_i_p_a_l | ----sseerrvveerr==_p_r_i_n_c_i_p_a_l] [--ss _t_i_m_e | ----ssttaarrtt--ttiimmee==_t_i_m_e] _p_r_i_n_c_i_p_a_l | ----sseerrvveerr==_p_r_i_n_c_i_p_a_l] [--ss _t_i_m_e | ----ssttaarrtt--ttiimmee==_t_i_m_e] [--kk |
[--kk | ----uussee--kkeeyyttaabb] [--vv | ----vvaalliiddaattee] [--ee _e_n_c_t_y_p_e_s | ----uussee--kkeeyyttaabb] [--vv | ----vvaalliiddaattee] [--ee _e_n_c_t_y_p_e_s | ----eennccttyyppeess==_e_n_c_t_y_p_e_s]
----eennccttyyppeess==_e_n_c_t_y_p_e_s] [--aa _a_d_d_r_e_s_s_e_s | ----eexxttrraa--aaddddrreesssseess==_a_d_d_r_e_s_s_e_s] [--aa _a_d_d_r_e_s_s_e_s | ----eexxttrraa--aaddddrreesssseess==_a_d_d_r_e_s_s_e_s]
[----ffccaacchhee--vveerrssiioonn==_i_n_t_e_g_e_r] [----nnoo--aaddddrreesssseess] [----aannoonnyymmoouuss] [----ffccaacchhee--vveerrssiioonn==_i_n_t_e_g_e_r] [----nnoo--aaddddrreesssseess] [----aannoonnyymmoouuss]
[----vveerrssiioonn] [----hheellpp] [_p_r_i_n_c_i_p_a_l [_c_o_m_m_a_n_d]] [----vveerrssiioonn] [----hheellpp] [_p_r_i_n_c_i_p_a_l [_c_o_m_m_a_n_d]]
@ -74,8 +74,8 @@ DDEESSCCRRIIPPTTIIOONN
Create a credentials cache of version vveerrssiioonn. Create a credentials cache of version vveerrssiioonn.
--aa, ----eexxttrraa--aaddddrreesssseess==_e_n_c_t_y_p_e_s --aa, ----eexxttrraa--aaddddrreesssseess==_e_n_c_t_y_p_e_s
Adds a set of addresses that will, in addition to the systems Adds a set of addresses that will, in addition to the systems lo-
local addresses, be put in the ticket. This can be useful if all cal addresses, be put in the ticket. This can be useful if all
addresses a client can use can't be automatically figured out. addresses a client can use can't be automatically figured out.
One such example is if the client is behind a firewall. Also set- One such example is if the client is behind a firewall. Also set-
table via libdefaults/extra_addresses in krb5.conf(5). table via libdefaults/extra_addresses in krb5.conf(5).
@ -124,4 +124,4 @@ EENNVVIIRROONNMMEENNTT
SSEEEE AALLSSOO SSEEEE AALLSSOO
kdestroy(1), klist(1), krb5_appdefault(3), krb5.conf(5) kdestroy(1), klist(1), krb5_appdefault(3), krb5.conf(5)
HEIMDAL May 29, 1998 HEIMDAL HEIMDAL May 29, 1998 2

View File

@ -34,7 +34,7 @@
#include "kuser_locl.h" #include "kuser_locl.h"
#include "rtbl.h" #include "rtbl.h"
RCSID("$Id: klist.c,v 1.67 2002/08/20 09:05:18 joda Exp $"); RCSID("$Id: klist.c,v 1.67.2.1 2002/10/21 14:31:27 joda Exp $");
static char* static char*
printable_time(time_t t) printable_time(time_t t)
@ -496,7 +496,7 @@ display_tokens(int do_verbose)
break; break;
continue; continue;
} }
if(parms.out_size >= sizeof(t)) if(parms.out_size > sizeof(t))
continue; continue;
if(parms.out_size < sizeof(size_secret_tok)) if(parms.out_size < sizeof(size_secret_tok))
continue; continue;

View File

@ -1,12 +1,11 @@
KLIST(1) FreeBSD General Commands Manual KLIST(1) KLIST(1) NetBSD Reference Manual KLIST(1)
NNAAMMEE NNAAMMEE
kklliisstt - list Kerberos credentials kklliisstt - list Kerberos credentials
SSYYNNOOPPSSIISS SSYYNNOOPPSSIISS
kklliisstt [--cc _c_a_c_h_e | ----ccaacchhee==_c_a_c_h_e] [--ss | --tt | ----tteesstt] [--44 | ----vv44] kklliisstt [--cc _c_a_c_h_e | ----ccaacchhee==_c_a_c_h_e] [--ss | --tt | ----tteesstt] [--44 | ----vv44] [--TT |
[--TT | ----ttookkeennss] [--55 | ----vv55] [--vv | ----vveerrbboossee] [--ff] [----vveerrssiioonn] ----ttookkeennss] [--55 | ----vv55] [--vv | ----vveerrbboossee] [--ff] [----vveerrssiioonn] [----hheellpp]
[----hheellpp]
DDEESSCCRRIIPPTTIIOONN DDEESSCCRRIIPPTTIIOONN
kklliisstt reads and displays the current tickets in the crential cache (also kklliisstt reads and displays the current tickets in the crential cache (also
@ -65,8 +64,8 @@ DDEESSCCRRIIPPTTIIOONN
the time the authentication exchange took place the time the authentication exchange took place
Start time Start time
the time that this tickets is valid from (only the time that this tickets is valid from (only print-
printed if it's different from the auth time) ed if it's different from the auth time)
End time End time
when the ticket expires, if it has already expired when the ticket expires, if it has already expired
@ -85,4 +84,4 @@ DDEESSCCRRIIPPTTIIOONN
SSEEEE AALLSSOO SSEEEE AALLSSOO
kdestroy(1), kinit(1) kdestroy(1), kinit(1)
HEIMDAL July 8, 2000 HEIMDAL HEIMDAL July 8, 2000 2

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -349,7 +348,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -399,7 +398,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -353,7 +352,7 @@ top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -415,7 +414,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -323,7 +322,7 @@ CONFIG_CLEAN_FILES =
LTLIBRARIES = $(lib_LTLIBRARIES) LTLIBRARIES = $(lib_LTLIBRARIES)
libasn1_la_DEPENDENCIES = libasn1_la_DEPENDENCIES =
am__objects_1 = asn1_APOptions.lo asn1_AP_REP.lo asn1_AP_REQ.lo \ am__objects_6 = asn1_APOptions.lo asn1_AP_REP.lo asn1_AP_REQ.lo \
asn1_AS_REP.lo asn1_AS_REQ.lo asn1_Authenticator.lo \ asn1_AS_REP.lo asn1_AS_REQ.lo asn1_Authenticator.lo \
asn1_AuthorizationData.lo asn1_CKSUMTYPE.lo asn1_Checksum.lo \ asn1_AuthorizationData.lo asn1_CKSUMTYPE.lo asn1_Checksum.lo \
asn1_ENCTYPE.lo asn1_ETYPE_INFO.lo asn1_ETYPE_INFO_ENTRY.lo \ asn1_ENCTYPE.lo asn1_ETYPE_INFO.lo asn1_ETYPE_INFO_ENTRY.lo \
@ -341,9 +340,9 @@ am__objects_1 = asn1_APOptions.lo asn1_AP_REP.lo asn1_AP_REQ.lo \
asn1_PrincipalName.lo asn1_Realm.lo asn1_TGS_REP.lo \ asn1_PrincipalName.lo asn1_Realm.lo asn1_TGS_REP.lo \
asn1_TGS_REQ.lo asn1_Ticket.lo asn1_TicketFlags.lo \ asn1_TGS_REQ.lo asn1_Ticket.lo asn1_TicketFlags.lo \
asn1_TransitedEncoding.lo asn1_UNSIGNED.lo asn1_TransitedEncoding.lo asn1_UNSIGNED.lo
am__objects_2 = $(am__objects_1) asn1_err.lo am__objects_5 = $(am__objects_6) asn1_err.lo
am_libasn1_la_OBJECTS = der_get.lo der_put.lo der_free.lo der_length.lo \ am_libasn1_la_OBJECTS = der_get.lo der_put.lo der_free.lo der_length.lo \
der_copy.lo timegm.lo $(am__objects_2) der_copy.lo timegm.lo $(am__objects_5)
libasn1_la_OBJECTS = $(am_libasn1_la_OBJECTS) libasn1_la_OBJECTS = $(am_libasn1_la_OBJECTS)
check_PROGRAMS = check-der$(EXEEXT) check_PROGRAMS = check-der$(EXEEXT)
noinst_PROGRAMS = asn1_compile$(EXEEXT) asn1_print$(EXEEXT) noinst_PROGRAMS = asn1_compile$(EXEEXT) asn1_print$(EXEEXT)
@ -424,33 +423,15 @@ uninstall-libLTLIBRARIES:
clean-libLTLIBRARIES: clean-libLTLIBRARIES:
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
test -z "$dir" && dir=.; \
echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \
done
libasn1.la: $(libasn1_la_OBJECTS) $(libasn1_la_DEPENDENCIES) libasn1.la: $(libasn1_la_OBJECTS) $(libasn1_la_DEPENDENCIES)
$(LINK) -rpath $(libdir) $(libasn1_la_LDFLAGS) $(libasn1_la_OBJECTS) $(libasn1_la_LIBADD) $(LIBS) $(LINK) -rpath $(libdir) $(libasn1_la_LDFLAGS) $(libasn1_la_OBJECTS) $(libasn1_la_LIBADD) $(LIBS)
clean-checkPROGRAMS: clean-checkPROGRAMS:
@list='$(check_PROGRAMS)'; for p in $$list; do \ -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
clean-noinstPROGRAMS: clean-noinstPROGRAMS:
@list='$(noinst_PROGRAMS)'; for p in $$list; do \ -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
parse.h: parse.c parse.h: parse.c
@if test ! -f $@; then \
rm -f parse.c; \
$(MAKE) parse.c; \
else :; fi
asn1_compile$(EXEEXT): $(asn1_compile_OBJECTS) $(asn1_compile_DEPENDENCIES) asn1_compile$(EXEEXT): $(asn1_compile_OBJECTS) $(asn1_compile_DEPENDENCIES)
@rm -f asn1_compile$(EXEEXT) @rm -f asn1_compile$(EXEEXT)
$(LINK) $(asn1_compile_LDFLAGS) $(asn1_compile_OBJECTS) $(asn1_compile_LDADD) $(LIBS) $(LINK) $(asn1_compile_LDFLAGS) $(asn1_compile_OBJECTS) $(asn1_compile_LDADD) $(LIBS)
@ -625,7 +606,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -677,12 +658,12 @@ clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild." @echo "it deletes files that may require special tools to rebuild."
-test -z "lex.cparse.hparse.c$(BUILT_SOURCES)" || rm -f lex.c parse.h parse.c $(BUILT_SOURCES) -test -z "parse.h$(BUILT_SOURCES)" || rm -f parse.h $(BUILT_SOURCES)
clean: clean-am clean: clean-am
clean-am: clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \ clean-am: clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -346,7 +345,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -408,7 +407,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -294,7 +293,7 @@ top_distdir = ../../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -345,7 +344,7 @@ clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -301,7 +300,7 @@ top_distdir = ../../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -352,7 +351,7 @@ clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -331,7 +330,7 @@ top_distdir = ../../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -382,7 +381,7 @@ clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -296,12 +295,6 @@ uninstall-libLTLIBRARIES:
clean-libLTLIBRARIES: clean-libLTLIBRARIES:
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
test -z "$dir" && dir=.; \
echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \
done
libcom_err.la: $(libcom_err_la_OBJECTS) $(libcom_err_la_DEPENDENCIES) libcom_err.la: $(libcom_err_la_OBJECTS) $(libcom_err_la_DEPENDENCIES)
$(LINK) -rpath $(libdir) $(libcom_err_la_LDFLAGS) $(libcom_err_la_OBJECTS) $(libcom_err_la_LIBADD) $(LIBS) $(LINK) -rpath $(libdir) $(libcom_err_la_LDFLAGS) $(libcom_err_la_OBJECTS) $(libcom_err_la_LIBADD) $(LIBS)
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
@ -313,7 +306,8 @@ install-binPROGRAMS: $(bin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \ else :; fi; \
@ -322,22 +316,15 @@ install-binPROGRAMS: $(bin_PROGRAMS)
uninstall-binPROGRAMS: uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \ @list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \ rm -f $(DESTDIR)$(bindir)/$$f; \
done done
clean-binPROGRAMS: clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
parse.h: parse.c parse.h: parse.c
@if test ! -f $@; then \
rm -f parse.c; \
$(MAKE) parse.c; \
else :; fi
compile_et$(EXEEXT): $(compile_et_OBJECTS) $(compile_et_DEPENDENCIES) compile_et$(EXEEXT): $(compile_et_OBJECTS) $(compile_et_DEPENDENCIES)
@rm -f compile_et$(EXEEXT) @rm -f compile_et$(EXEEXT)
$(LINK) $(compile_et_LDFLAGS) $(compile_et_OBJECTS) $(compile_et_LDADD) $(LIBS) $(LINK) $(compile_et_LDFLAGS) $(compile_et_OBJECTS) $(compile_et_LDADD) $(LIBS)
@ -451,7 +438,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -504,12 +491,12 @@ clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild." @echo "it deletes files that may require special tools to rebuild."
-test -z "parse.hparse.clex.c" || rm -f parse.h parse.c lex.c -test -z "parse.h" || rm -f parse.h
clean: clean-am clean: clean-am
clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \ clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -321,12 +320,6 @@ uninstall-libLTLIBRARIES:
clean-libLTLIBRARIES: clean-libLTLIBRARIES:
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
test -z "$dir" && dir=.; \
echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \
done
libgssapi.la: $(libgssapi_la_OBJECTS) $(libgssapi_la_DEPENDENCIES) libgssapi.la: $(libgssapi_la_OBJECTS) $(libgssapi_la_DEPENDENCIES)
$(LINK) -rpath $(libdir) $(libgssapi_la_LDFLAGS) $(libgssapi_la_OBJECTS) $(libgssapi_la_LIBADD) $(LIBS) $(LINK) -rpath $(libdir) $(libgssapi_la_LDFLAGS) $(libgssapi_la_OBJECTS) $(libgssapi_la_LIBADD) $(LIBS)
@ -414,7 +407,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -464,7 +457,7 @@ mostlyclean-generic:
clean-generic: clean-generic:
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -246,10 +245,10 @@ LTLIBRARIES = $(lib_LTLIBRARIES)
libhdb_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la \ libhdb_la_DEPENDENCIES = ../krb5/libkrb5.la ../asn1/libasn1.la \
../roken/libroken.la ../roken/libroken.la
am__objects_1 = asn1_Key.lo asn1_Event.lo asn1_HDBFlags.lo \ am__objects_5 = asn1_Key.lo asn1_Event.lo asn1_HDBFlags.lo \
asn1_hdb_entry.lo asn1_Salt.lo hdb_err.lo asn1_GENERATION.lo asn1_hdb_entry.lo asn1_Salt.lo hdb_err.lo asn1_GENERATION.lo
am_libhdb_la_OBJECTS = common.lo db.lo db3.lo hdb-ldap.lo hdb.lo \ am_libhdb_la_OBJECTS = common.lo db.lo db3.lo hdb-ldap.lo hdb.lo \
keytab.lo mkey.lo ndbm.lo print.lo $(am__objects_1) keytab.lo mkey.lo ndbm.lo print.lo $(am__objects_5)
libhdb_la_OBJECTS = $(am_libhdb_la_OBJECTS) libhdb_la_OBJECTS = $(am_libhdb_la_OBJECTS)
noinst_PROGRAMS = convert_db$(EXEEXT) noinst_PROGRAMS = convert_db$(EXEEXT)
PROGRAMS = $(noinst_PROGRAMS) PROGRAMS = $(noinst_PROGRAMS)
@ -314,21 +313,11 @@ uninstall-libLTLIBRARIES:
clean-libLTLIBRARIES: clean-libLTLIBRARIES:
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
test -z "$dir" && dir=.; \
echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \
done
libhdb.la: $(libhdb_la_OBJECTS) $(libhdb_la_DEPENDENCIES) libhdb.la: $(libhdb_la_OBJECTS) $(libhdb_la_DEPENDENCIES)
$(LINK) -rpath $(libdir) $(libhdb_la_LDFLAGS) $(libhdb_la_OBJECTS) $(libhdb_la_LIBADD) $(LIBS) $(LINK) -rpath $(libdir) $(libhdb_la_LDFLAGS) $(libhdb_la_OBJECTS) $(libhdb_la_LIBADD) $(LIBS)
clean-noinstPROGRAMS: clean-noinstPROGRAMS:
@list='$(noinst_PROGRAMS)'; for p in $$list; do \ -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
convert_db$(EXEEXT): $(convert_db_OBJECTS) $(convert_db_DEPENDENCIES) convert_db$(EXEEXT): $(convert_db_OBJECTS) $(convert_db_DEPENDENCIES)
@rm -f convert_db$(EXEEXT) @rm -f convert_db$(EXEEXT)
$(LINK) $(convert_db_LDFLAGS) $(convert_db_OBJECTS) $(convert_db_LDADD) $(LIBS) $(LINK) $(convert_db_LDFLAGS) $(convert_db_OBJECTS) $(convert_db_LDADD) $(LIBS)
@ -417,7 +406,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -468,7 +457,7 @@ clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,3 +1,7 @@
2002-10-21 Johan Danielsson <joda@pdc.kth.se>
* ipropd_slave.c: pull up 1.27; use a temporary database
2002-08-26 Assar Westerlund <assar@kth.se> 2002-08-26 Assar Westerlund <assar@kth.se>
* ipropd_slave.c (receive_everything): type-correctness calling * ipropd_slave.c (receive_everything): type-correctness calling

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -311,21 +310,21 @@ LTLIBRARIES = $(lib_LTLIBRARIES)
libkadm5clnt_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la \ libkadm5clnt_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la \
../roken/libroken.la ../roken/libroken.la
am__objects_1 = chpass_c.lo common_glue.lo create_c.lo delete_c.lo \ am__objects_9 = chpass_c.lo common_glue.lo create_c.lo delete_c.lo \
destroy_c.lo flush_c.lo free.lo get_c.lo get_princs_c.lo \ destroy_c.lo flush_c.lo free.lo get_c.lo get_princs_c.lo \
init_c.lo kadm5_err.lo marshall.lo modify_c.lo privs_c.lo \ init_c.lo kadm5_err.lo marshall.lo modify_c.lo privs_c.lo \
randkey_c.lo rename_c.lo send_recv.lo randkey_c.lo rename_c.lo send_recv.lo
am_libkadm5clnt_la_OBJECTS = $(am__objects_1) client_glue.lo am_libkadm5clnt_la_OBJECTS = $(am__objects_9) client_glue.lo
libkadm5clnt_la_OBJECTS = $(am_libkadm5clnt_la_OBJECTS) libkadm5clnt_la_OBJECTS = $(am_libkadm5clnt_la_OBJECTS)
libkadm5srv_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la \ libkadm5srv_la_DEPENDENCIES = ../krb5/libkrb5.la ../hdb/libhdb.la \
../roken/libroken.la ../roken/libroken.la
am__objects_2 = acl.lo bump_pw_expire.lo chpass_s.lo common_glue.lo \ am__objects_10 = acl.lo bump_pw_expire.lo chpass_s.lo common_glue.lo \
context_s.lo create_s.lo delete_s.lo destroy_s.lo ent_setup.lo \ context_s.lo create_s.lo delete_s.lo destroy_s.lo ent_setup.lo \
error.lo flush_s.lo free.lo get_princs_s.lo get_s.lo init_s.lo \ error.lo flush_s.lo free.lo get_princs_s.lo get_s.lo init_s.lo \
kadm5_err.lo keys.lo log.lo marshall.lo modify_s.lo privs_s.lo \ kadm5_err.lo keys.lo log.lo marshall.lo modify_s.lo privs_s.lo \
randkey_s.lo rename_s.lo set_keys.lo set_modifier.lo \ randkey_s.lo rename_s.lo set_keys.lo set_modifier.lo \
password_quality.lo password_quality.lo
am_libkadm5srv_la_OBJECTS = $(am__objects_2) server_glue.lo am_libkadm5srv_la_OBJECTS = $(am__objects_10) server_glue.lo
libkadm5srv_la_OBJECTS = $(am_libkadm5srv_la_OBJECTS) libkadm5srv_la_OBJECTS = $(am_libkadm5srv_la_OBJECTS)
libexec_PROGRAMS = ipropd-master$(EXEEXT) ipropd-slave$(EXEEXT) libexec_PROGRAMS = ipropd-master$(EXEEXT) ipropd-slave$(EXEEXT)
sbin_PROGRAMS = dump_log$(EXEEXT) replay_log$(EXEEXT) \ sbin_PROGRAMS = dump_log$(EXEEXT) replay_log$(EXEEXT) \
@ -427,12 +426,6 @@ uninstall-libLTLIBRARIES:
clean-libLTLIBRARIES: clean-libLTLIBRARIES:
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
test -z "$dir" && dir=.; \
echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \
done
libkadm5clnt.la: $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_DEPENDENCIES) libkadm5clnt.la: $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_DEPENDENCIES)
$(LINK) -rpath $(libdir) $(libkadm5clnt_la_LDFLAGS) $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_LIBADD) $(LIBS) $(LINK) -rpath $(libdir) $(libkadm5clnt_la_LDFLAGS) $(libkadm5clnt_la_OBJECTS) $(libkadm5clnt_la_LIBADD) $(LIBS)
libkadm5srv.la: $(libkadm5srv_la_OBJECTS) $(libkadm5srv_la_DEPENDENCIES) libkadm5srv.la: $(libkadm5srv_la_OBJECTS) $(libkadm5srv_la_DEPENDENCIES)
@ -446,7 +439,8 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(libexecPROGRAMS_INSTALL) $$p $(DESTDIR)$(libexecdir)/$$f; \
else :; fi; \ else :; fi; \
@ -455,17 +449,14 @@ install-libexecPROGRAMS: $(libexec_PROGRAMS)
uninstall-libexecPROGRAMS: uninstall-libexecPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ @list='$(libexec_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \ echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
rm -f $(DESTDIR)$(libexecdir)/$$f; \ rm -f $(DESTDIR)$(libexecdir)/$$f; \
done done
clean-libexecPROGRAMS: clean-libexecPROGRAMS:
@list='$(libexec_PROGRAMS)'; for p in $$list; do \ -test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
install-sbinPROGRAMS: $(sbin_PROGRAMS) install-sbinPROGRAMS: $(sbin_PROGRAMS)
@$(NORMAL_INSTALL) @$(NORMAL_INSTALL)
@ -475,7 +466,8 @@ install-sbinPROGRAMS: $(sbin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(sbindir)/$$f; \
else :; fi; \ else :; fi; \
@ -484,17 +476,14 @@ install-sbinPROGRAMS: $(sbin_PROGRAMS)
uninstall-sbinPROGRAMS: uninstall-sbinPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(sbin_PROGRAMS)'; for p in $$list; do \ @list='$(sbin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \ echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \
rm -f $(DESTDIR)$(sbindir)/$$f; \ rm -f $(DESTDIR)$(sbindir)/$$f; \
done done
clean-sbinPROGRAMS: clean-sbinPROGRAMS:
@list='$(sbin_PROGRAMS)'; for p in $$list; do \ -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
dump_log$(EXEEXT): $(dump_log_OBJECTS) $(dump_log_DEPENDENCIES) dump_log$(EXEEXT): $(dump_log_OBJECTS) $(dump_log_DEPENDENCIES)
@rm -f dump_log$(EXEEXT) @rm -f dump_log$(EXEEXT)
$(LINK) $(dump_log_LDFLAGS) $(dump_log_OBJECTS) $(dump_log_LDADD) $(LIBS) $(LINK) $(dump_log_LDFLAGS) $(dump_log_OBJECTS) $(dump_log_LDADD) $(LIBS)
@ -595,7 +584,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -646,7 +635,7 @@ clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -33,7 +33,7 @@
#include "iprop.h" #include "iprop.h"
RCSID("$Id: ipropd_slave.c,v 1.26 2002/08/26 13:29:37 assar Exp $"); RCSID("$Id: ipropd_slave.c,v 1.26.2.1 2002/10/21 16:06:25 joda Exp $");
static krb5_log_facility *log_facility; static krb5_log_facility *log_facility;
@ -229,9 +229,24 @@ receive_everything (krb5_context context, int fd,
int32_t opcode; int32_t opcode;
unsigned long tmp; unsigned long tmp;
ret = server_context->db->open(context, char *dbname;
server_context->db, HDB *mydb;
O_RDWR | O_CREAT | O_TRUNC, 0600);
asprintf(&dbname, "%s-NEW", server_context->db->name);
ret = hdb_create(context, &mydb, dbname);
if(ret)
krb5_err(context,1, ret, "hdb_create");
free(dbname);
ret = hdb_set_master_keyfile (context,
mydb, server_context->config.stash_file);
if(ret)
krb5_err(context,1, ret, "hdb_set_master_keyfile");
/* I really want to use O_EXCL here, but given that I can't easily clean
up on error, I won't */
ret = mydb->open(context, mydb, O_RDWR | O_CREAT | O_TRUNC, 0600);
if (ret) if (ret)
krb5_err (context, 1, ret, "db->open"); krb5_err (context, 1, ret, "db->open");
@ -255,9 +270,9 @@ receive_everything (krb5_context context, int fd,
ret = hdb_value2entry (context, &fake_data, &entry); ret = hdb_value2entry (context, &fake_data, &entry);
if (ret) if (ret)
krb5_err (context, 1, ret, "hdb_value2entry"); krb5_err (context, 1, ret, "hdb_value2entry");
ret = server_context->db->store(server_context->context, ret = mydb->store(server_context->context,
server_context->db, mydb,
0, &entry); 0, &entry);
if (ret) if (ret)
krb5_err (context, 1, ret, "hdb_store"); krb5_err (context, 1, ret, "hdb_store");
@ -286,9 +301,15 @@ receive_everything (krb5_context context, int fd,
krb5_data_free (&data); krb5_data_free (&data);
ret = server_context->db->close (context, server_context->db); ret = mydb->close (context, mydb);
if (ret) if (ret)
krb5_err (context, 1, ret, "db->close"); krb5_err (context, 1, ret, "db->close");
ret = mydb->rename (context, mydb, server_context->db->name);
if (ret)
krb5_err (context, 1, ret, "db->rename");
ret = mydb->destroy (context, mydb);
if (ret)
krb5_err (context, 1, ret, "db->destroy");
} }
static char *realm; static char *realm;

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -269,16 +268,16 @@ LTLIBRARIES = $(lib_LTLIBRARIES)
@KRB4_TRUE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la \ @KRB4_TRUE@@KRB5_TRUE@libkafs_la_DEPENDENCIES = ../krb5/libkrb5.la \
@KRB4_TRUE@@KRB5_TRUE@ ../roken/libroken.la @KRB4_TRUE@@KRB5_TRUE@ ../roken/libroken.la
@KRB4_TRUE@@KRB5_FALSE@libkafs_la_DEPENDENCIES = ../roken/libroken.la @KRB4_TRUE@@KRB5_FALSE@libkafs_la_DEPENDENCIES = ../roken/libroken.la
@KRB5_TRUE@am__objects_1 = afskrb5.lo @KRB5_TRUE@am__objects_11 = afskrb5.lo
@AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@KRB4_TRUE@am__objects_2 = afslib.lo @AIX_DYNAMIC_AFS_FALSE@@AIX_TRUE@@KRB4_TRUE@am__objects_12 = afslib.lo
@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@am__objects_2 = \ @AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@am__objects_12 = \
@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@ dlfcn.lo @AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_FALSE@@KRB4_TRUE@ dlfcn.lo
@AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@am__objects_2 = @AIX_DYNAMIC_AFS_TRUE@@AIX_TRUE@@HAVE_DLOPEN_TRUE@@KRB4_TRUE@am__objects_12 =
@AIX_FALSE@@KRB4_TRUE@am__objects_2 = @AIX_FALSE@@KRB4_TRUE@am__objects_12 =
@do_roken_rename_TRUE@am__objects_3 = resolve.lo strtok_r.lo strlcpy.lo \ @do_roken_rename_TRUE@am__objects_13 = resolve.lo strtok_r.lo strlcpy.lo \
@do_roken_rename_TRUE@ strsep.lo @do_roken_rename_TRUE@ strsep.lo
am_libkafs_la_OBJECTS = afssys.lo afskrb.lo $(am__objects_1) common.lo \ am_libkafs_la_OBJECTS = afssys.lo afskrb.lo $(am__objects_11) common.lo \
$(am__objects_2) $(am__objects_3) $(am__objects_12) $(am__objects_13)
libkafs_la_OBJECTS = $(am_libkafs_la_OBJECTS) libkafs_la_OBJECTS = $(am_libkafs_la_OBJECTS)
DEFS = @DEFS@ DEFS = @DEFS@
@ -336,12 +335,6 @@ uninstall-libLTLIBRARIES:
clean-libLTLIBRARIES: clean-libLTLIBRARIES:
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
test -z "$dir" && dir=.; \
echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \
done
libkafs.la: $(libkafs_la_OBJECTS) $(libkafs_la_DEPENDENCIES) libkafs.la: $(libkafs_la_OBJECTS) $(libkafs_la_DEPENDENCIES)
$(LINK) -rpath $(libdir) $(libkafs_la_LDFLAGS) $(libkafs_la_OBJECTS) $(libkafs_la_LIBADD) $(LIBS) $(LINK) -rpath $(libdir) $(libkafs_la_LDFLAGS) $(libkafs_la_OBJECTS) $(libkafs_la_LIBADD) $(LIBS)
@ -385,10 +378,6 @@ install-man3: $(man3_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
3*) ;; \
*) ext='3' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -490,7 +479,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -541,7 +530,7 @@ clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -1,4 +1,4 @@
KAFS(3) FreeBSD Library Functions Manual KAFS(3) KAFS(3) NetBSD Programmer's Manual KAFS(3)
NNAAMMEE NNAAMMEE
kk__hhaassaaffss, kk__ppiiooccttll, kk__uunnlloogg, kk__sseettppaagg, kk__aaffss__cceellll__ooff__ffiillee, kkrrbb__aaffsslloogg, kk__hhaassaaffss, kk__ppiiooccttll, kk__uunnlloogg, kk__sseettppaagg, kk__aaffss__cceellll__ooff__ffiillee, kkrrbb__aaffsslloogg,
@ -56,10 +56,10 @@ DDEESSCCRRIIPPTTIIOONN
RREETTUURRNN VVAALLUUEESS RREETTUURRNN VVAALLUUEESS
kk__hhaassaaffss() returns 1 if AFS is present in the kernel, 0 otherwise. kk__hhaassaaffss() returns 1 if AFS is present in the kernel, 0 otherwise.
kkrrbb__aaffsslloogg() and kkrrbb__aaffsslloogg__uuiidd() returns 0 on success, or a kerberos kkrrbb__aaffsslloogg() and kkrrbb__aaffsslloogg__uuiidd() returns 0 on success, or a kerberos er-
error number on failure. kk__aaffss__cceellll__ooff__ffiillee(), kk__ppiiooccttll(), kk__sseettppaagg(), ror number on failure. kk__aaffss__cceellll__ooff__ffiillee(), kk__ppiiooccttll(), kk__sseettppaagg(), and
and kk__uunnlloogg() all return the value of the underlaying system call, 0 on kk__uunnlloogg() all return the value of the underlaying system call, 0 on suc-
success. cess.
EENNVVIIRROONNMMEENNTT EENNVVIIRROONNMMEENNTT
The following environment variable affect the mode of operation of kkaaffss: The following environment variable affect the mode of operation of kkaaffss:
@ -94,4 +94,4 @@ SSEEEE AALLSSOO
BBUUGGSS BBUUGGSS
AFS_SYSCALL has no effect under AIX. AFS_SYSCALL has no effect under AIX.
KTH-KRB May 7, 1997 KTH-KRB KTH-KRB May 7, 1997 2

View File

@ -1,4 +1,4 @@
# $Id: Makefile.am,v 1.147 2002/09/03 14:45:13 joda Exp $ # $Id: Makefile.am,v 1.147.2.1 2002/10/21 15:03:14 joda Exp $
include $(top_srcdir)/Makefile.am.common include $(top_srcdir)/Makefile.am.common
@ -130,7 +130,7 @@ libkrb5_la_SOURCES = \
write_message.c \ write_message.c \
$(ERR_FILES) $(ERR_FILES)
libkrb5_la_LDFLAGS = -version-info 18:3:1 libkrb5_la_LDFLAGS = -version-info 18:4:1
$(libkrb5_la_OBJECTS): $(srcdir)/krb5-protos.h $(srcdir)/krb5-private.h $(libkrb5_la_OBJECTS): $(srcdir)/krb5-protos.h $(srcdir)/krb5-private.h

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.6.3 from Makefile.am. # Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@ -14,7 +14,7 @@
@SET_MAKE@ @SET_MAKE@
# $Id: Makefile.am,v 1.147 2002/09/03 14:45:13 joda Exp $ # $Id: Makefile.am,v 1.147.2.1 2002/10/21 15:03:14 joda Exp $
# $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $ # $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $
@ -55,7 +55,6 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@ -332,7 +331,7 @@ libkrb5_la_SOURCES = \
$(ERR_FILES) $(ERR_FILES)
libkrb5_la_LDFLAGS = -version-info 18:3:1 libkrb5_la_LDFLAGS = -version-info 18:4:1
#libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo #libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo
@ -378,7 +377,7 @@ LTLIBRARIES = $(lib_LTLIBRARIES)
libkrb5_la_DEPENDENCIES = ../com_err/error.lo ../com_err/com_err.lo \ libkrb5_la_DEPENDENCIES = ../com_err/error.lo ../com_err/com_err.lo \
$(top_builddir)/lib/asn1/libasn1.la $(top_builddir)/lib/asn1/libasn1.la
am__objects_1 = krb5_err.lo heim_err.lo k524_err.lo am__objects_14 = krb5_err.lo heim_err.lo k524_err.lo
am_libkrb5_la_OBJECTS = acl.lo add_et_list.lo addr_families.lo \ am_libkrb5_la_OBJECTS = acl.lo add_et_list.lo addr_families.lo \
aname_to_localname.lo appdefault.lo asn1_glue.lo \ aname_to_localname.lo appdefault.lo asn1_glue.lo \
auth_context.lo build_ap_req.lo build_auth.lo cache.lo \ auth_context.lo build_ap_req.lo build_auth.lo cache.lo \
@ -402,7 +401,7 @@ am_libkrb5_la_OBJECTS = acl.lo add_et_list.lo addr_families.lo \
sendauth.lo set_default_realm.lo sock_principal.lo store.lo \ sendauth.lo set_default_realm.lo sock_principal.lo store.lo \
store_emem.lo store_fd.lo store_mem.lo ticket.lo time.lo \ store_emem.lo store_fd.lo store_mem.lo ticket.lo time.lo \
transited.lo verify_init.lo verify_user.lo version.lo warn.lo \ transited.lo verify_init.lo verify_user.lo version.lo warn.lo \
write_message.lo $(am__objects_1) write_message.lo $(am__objects_14)
libkrb5_la_OBJECTS = $(am_libkrb5_la_OBJECTS) libkrb5_la_OBJECTS = $(am_libkrb5_la_OBJECTS)
bin_PROGRAMS = verify_krb5_conf$(EXEEXT) bin_PROGRAMS = verify_krb5_conf$(EXEEXT)
check_PROGRAMS = n-fold-test$(EXEEXT) string-to-key-test$(EXEEXT) \ check_PROGRAMS = n-fold-test$(EXEEXT) string-to-key-test$(EXEEXT) \
@ -528,12 +527,6 @@ uninstall-libLTLIBRARIES:
clean-libLTLIBRARIES: clean-libLTLIBRARIES:
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
test -z "$dir" && dir=.; \
echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \
done
libkrb5.la: $(libkrb5_la_OBJECTS) $(libkrb5_la_DEPENDENCIES) libkrb5.la: $(libkrb5_la_OBJECTS) $(libkrb5_la_DEPENDENCIES)
$(LINK) -rpath $(libdir) $(libkrb5_la_LDFLAGS) $(libkrb5_la_OBJECTS) $(libkrb5_la_LIBADD) $(LIBS) $(LINK) -rpath $(libdir) $(libkrb5_la_LDFLAGS) $(libkrb5_la_OBJECTS) $(libkrb5_la_LIBADD) $(LIBS)
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
@ -545,7 +538,8 @@ install-binPROGRAMS: $(bin_PROGRAMS)
if test -f $$p \ if test -f $$p \
|| test -f $$p1 \ || test -f $$p1 \
; then \ ; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \ else :; fi; \
@ -554,31 +548,20 @@ install-binPROGRAMS: $(bin_PROGRAMS)
uninstall-binPROGRAMS: uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \ @list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \ rm -f $(DESTDIR)$(bindir)/$$f; \
done done
clean-binPROGRAMS: clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
clean-checkPROGRAMS: clean-checkPROGRAMS:
@list='$(check_PROGRAMS)'; for p in $$list; do \ -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
clean-noinstPROGRAMS: clean-noinstPROGRAMS:
@list='$(noinst_PROGRAMS)'; for p in $$list; do \ -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
derived-key-test$(EXEEXT): $(derived_key_test_OBJECTS) $(derived_key_test_DEPENDENCIES) derived-key-test$(EXEEXT): $(derived_key_test_OBJECTS) $(derived_key_test_DEPENDENCIES)
@rm -f derived-key-test$(EXEEXT) @rm -f derived-key-test$(EXEEXT)
$(LINK) $(derived_key_test_LDFLAGS) $(derived_key_test_OBJECTS) $(derived_key_test_LDADD) $(LIBS) $(LINK) $(derived_key_test_LDFLAGS) $(derived_key_test_OBJECTS) $(derived_key_test_LDADD) $(LIBS)
@ -650,10 +633,6 @@ install-man3: $(man3_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
3*) ;; \
*) ext='3' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -693,10 +672,6 @@ install-man5: $(man5_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
5*) ;; \
*) ext='5' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -736,10 +711,6 @@ install-man8: $(man8_MANS) $(man_MANS)
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \ else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
8*) ;; \
*) ext='8' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@ -878,7 +849,7 @@ top_distdir = ../..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES) distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@ -932,7 +903,7 @@ clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"

View File

@ -33,7 +33,7 @@
#include <krb5_locl.h> #include <krb5_locl.h>
RCSID("$Id: changepw.c,v 1.38 2002/09/29 11:48:34 joda Exp $"); RCSID("$Id: changepw.c,v 1.37.2.1 2002/10/21 14:31:58 joda Exp $");
static krb5_error_code static krb5_error_code
send_request (krb5_context context, send_request (krb5_context context,

View File

@ -34,7 +34,7 @@
#include "krb5_locl.h" #include "krb5_locl.h"
#include <com_err.h> #include <com_err.h>
RCSID("$Id: context.c,v 1.81 2002/09/02 17:03:12 joda Exp $"); RCSID("$Id: context.c,v 1.81.2.1 2002/10/21 14:33:34 joda Exp $");
#define INIT_FIELD(C, T, E, D, F) \ #define INIT_FIELD(C, T, E, D, F) \
(C)->E = krb5_config_get_ ## T ## _default ((C), NULL, (D), \ (C)->E = krb5_config_get_ ## T ## _default ((C), NULL, (D), \
@ -259,7 +259,7 @@ krb5_set_config_files(krb5_context context, char **filenames)
/* with this enabled and if there are no config files, Kerberos is /* with this enabled and if there are no config files, Kerberos is
considererd disabled */ considererd disabled */
if(tmp == NULL) if(tmp == NULL)
return ENOENT; return ENXIO;
#endif #endif
krb5_config_file_free(context, context->cf); krb5_config_file_free(context, context->cf);
context->cf = tmp; context->cf = tmp;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2002 Kungliga Tekniska Högskolan * Copyright (c) 2001-2002 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden). * (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved. * All rights reserved.
* *
@ -33,7 +33,7 @@
#include "krb5_locl.h" #include "krb5_locl.h"
RCSID("$Id: keytab_any.c,v 1.6 2002/04/18 14:02:11 joda Exp $"); RCSID("$Id: keytab_any.c,v 1.6.4.1 2002/10/21 16:07:00 joda Exp $");
struct any_data { struct any_data {
krb5_keytab kt; krb5_keytab kt;
@ -42,13 +42,15 @@ struct any_data {
}; };
static void static void
free_list (struct any_data *a) free_list (krb5_context context, struct any_data *a)
{ {
struct any_data *next; struct any_data *next;
for (; a != NULL; a = next) { for (; a != NULL; a = next) {
next = a->next; next = a->next;
free (a->name); free (a->name);
if(a->kt)
krb5_kt_close(context, a->kt);
free (a); free (a);
} }
} }
@ -91,7 +93,7 @@ any_resolve(krb5_context context, const char *name, krb5_keytab id)
id->data = a0; id->data = a0;
return 0; return 0;
fail: fail:
free_list (a0); free_list (context, a0);
return ret; return ret;
} }
@ -112,7 +114,7 @@ any_close (krb5_context context,
{ {
struct any_data *a = id->data; struct any_data *a = id->data;
free_list (a); free_list (context, a);
return 0; return 0;
} }

View File

@ -33,7 +33,7 @@
#include "krb5_locl.h" #include "krb5_locl.h"
RCSID("$Id: keytab_file.c,v 1.11 2002/05/28 12:57:27 joda Exp $"); RCSID("$Id: keytab_file.c,v 1.11.4.1 2002/10/21 14:35:47 joda Exp $");
#define KRB5_KT_VNO_1 1 #define KRB5_KT_VNO_1 1
#define KRB5_KT_VNO_2 2 #define KRB5_KT_VNO_2 2
@ -303,7 +303,7 @@ fkt_start_seq_get_int(krb5_context context,
c->fd = open (d->filename, flags); c->fd = open (d->filename, flags);
if (c->fd < 0) { if (c->fd < 0) {
ret = errno; ret = errno;
krb5_set_error_string(context, "open(%s): %s", d->filename, krb5_set_error_string(context, "%s: %s", d->filename,
strerror(ret)); strerror(ret));
return ret; return ret;
} }
@ -441,7 +441,7 @@ fkt_add_entry(krb5_context context,
fd = open (d->filename, O_RDWR | O_BINARY); fd = open (d->filename, O_RDWR | O_BINARY);
if (fd < 0) { if (fd < 0) {
fd = open (d->filename, O_RDWR | O_CREAT | O_BINARY, 0600); fd = open (d->filename, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0600);
if (fd < 0) { if (fd < 0) {
ret = errno; ret = errno;
krb5_set_error_string(context, "open(%s): %s", d->filename, krb5_set_error_string(context, "open(%s): %s", d->filename,
@ -572,8 +572,11 @@ fkt_remove_entry(krb5_context context,
krb5_kt_cursor cursor; krb5_kt_cursor cursor;
off_t pos_start, pos_end; off_t pos_start, pos_end;
int found = 0; int found = 0;
krb5_error_code ret;
fkt_start_seq_get_int(context, id, O_RDWR | O_BINARY, &cursor); ret = fkt_start_seq_get_int(context, id, O_RDWR | O_BINARY, &cursor);
if(ret != 0)
goto out; /* return other error here? */
while(fkt_next_entry_int(context, id, &e, &cursor, while(fkt_next_entry_int(context, id, &e, &cursor,
&pos_start, &pos_end) == 0) { &pos_start, &pos_end) == 0) {
if(krb5_kt_compare(context, &e, entry->principal, if(krb5_kt_compare(context, &e, entry->principal,
@ -592,6 +595,7 @@ fkt_remove_entry(krb5_context context,
} }
} }
krb5_kt_end_seq_get(context, id, &cursor); krb5_kt_end_seq_get(context, id, &cursor);
out:
if (!found) { if (!found) {
krb5_clear_error_string (context); krb5_clear_error_string (context);
return KRB5_KT_NOTFOUND; return KRB5_KT_NOTFOUND;

View File

@ -33,7 +33,7 @@
#include "krb5_locl.h" #include "krb5_locl.h"
RCSID("$Id: keytab_keyfile.c,v 1.14 2002/09/09 14:22:26 nectar Exp $"); RCSID("$Id: keytab_keyfile.c,v 1.14.2.1 2002/10/21 16:07:26 joda Exp $");
/* afs keyfile operations --------------------------------------- */ /* afs keyfile operations --------------------------------------- */
@ -82,8 +82,7 @@ get_cell_and_realm (krb5_context context,
krb5_set_error_string (context, "no cell in %s", AFS_SERVERTHISCELL); krb5_set_error_string (context, "no cell in %s", AFS_SERVERTHISCELL);
return EINVAL; return EINVAL;
} }
if (buf[strlen(buf) - 1] == '\n') buf[strcspn(buf, "\n")] = '\0';
buf[strlen(buf) - 1] = '\0';
fclose(f); fclose(f);
d->cell = strdup (buf); d->cell = strdup (buf);
@ -100,8 +99,7 @@ get_cell_and_realm (krb5_context context,
AFS_SERVERMAGICKRBCONF); AFS_SERVERMAGICKRBCONF);
return EINVAL; return EINVAL;
} }
if (buf[strlen(buf)-1] == '\n') buf[strcspn(buf, "\n")] = '\0';
buf[strlen(buf)-1] = '\0';
fclose(f); fclose(f);
} }
/* uppercase */ /* uppercase */

View File

@ -1,5 +1,5 @@
.\" Copyright (c) 2000 Kungliga Tekniska Högskolan .\" Copyright (c) 2000 Kungliga Tekniska Högskolan
.\" $Id: krb5_appdefault.3,v 1.8 2002/09/13 14:49:31 joda Exp $ .\" $Id: krb5_appdefault.3,v 1.7 2002/08/28 15:30:46 joda Exp $
.Dd July 25, 2000 .Dd July 25, 2000
.Dt KRB5_APPDEFAULT 3 .Dt KRB5_APPDEFAULT 3
.Os HEIMDAL .Os HEIMDAL
@ -19,7 +19,7 @@ Kerberos 5 Library (libkrb5, -lkrb5)
.Ft void .Ft void
.Fn krb5_appdefault_time "krb5_context context" "const char *appname" "krb5_realm realm" "const char *option" "time_t def_val" "time_t *ret_val" .Fn krb5_appdefault_time "krb5_context context" "const char *appname" "krb5_realm realm" "const char *option" "time_t def_val" "time_t *ret_val"
.Sh DESCRIPTION .Sh DESCRIPTION
These functions get application defaults from the These functions get application application defaults from the
.Dv appdefaults .Dv appdefaults
section of the section of the
.Xr krb5.conf 5 .Xr krb5.conf 5

View File

@ -33,7 +33,7 @@
#include "krb5_locl.h" #include "krb5_locl.h"
RCSID("$Id: kuserok.c,v 1.6 2002/09/16 17:32:11 nectar Exp $"); RCSID("$Id: kuserok.c,v 1.5.12.1 2002/10/21 14:37:55 joda Exp $");
/* /*
* Return TRUE iff `principal' is allowed to login as `luser'. * Return TRUE iff `principal' is allowed to login as `luser'.

View File

@ -41,7 +41,7 @@
#include <fnmatch.h> #include <fnmatch.h>
#include "resolve.h" #include "resolve.h"
RCSID("$Id: principal.c,v 1.81 2002/08/26 13:31:40 assar Exp $"); RCSID("$Id: principal.c,v 1.81.2.1 2002/10/21 16:08:25 joda Exp $");
#define princ_num_comp(P) ((P)->name.name_string.len) #define princ_num_comp(P) ((P)->name.name_string.len)
#define princ_type(P) ((P)->name.name_type) #define princ_type(P) ((P)->name.name_type)
@ -140,6 +140,12 @@ krb5_parse_name(krb5_context context,
c = '\b'; c = '\b';
else if(c == '0') else if(c == '0')
c = '\0'; c = '\0';
else if(c == '\0') {
krb5_set_error_string (context,
"trailing \\ in principal name");
ret = KRB5_PARSE_MALFORMED;
goto exit;
}
}else if(c == '/' || c == '@'){ }else if(c == '/' || c == '@'){
if(got_realm){ if(got_realm){
krb5_set_error_string (context, krb5_set_error_string (context,

View File

@ -33,7 +33,7 @@
#include "krb5_locl.h" #include "krb5_locl.h"
RCSID("$Id: prompter_posix.c,v 1.7 2002/09/16 17:32:11 nectar Exp $"); RCSID("$Id: prompter_posix.c,v 1.6.6.1 2002/10/21 14:47:42 joda Exp $");
int int
krb5_prompter_posix (krb5_context context, krb5_prompter_posix (krb5_context context,

View File

@ -34,7 +34,7 @@
#include "krb5_locl.h" #include "krb5_locl.h"
#include "store-int.h" #include "store-int.h"
RCSID("$Id: store_emem.c,v 1.12 2002/04/18 14:00:34 joda Exp $"); RCSID("$Id: store_emem.c,v 1.12.4.1 2002/10/21 16:08:55 joda Exp $");
typedef struct emem_storage{ typedef struct emem_storage{
unsigned char *base; unsigned char *base;
@ -61,8 +61,10 @@ emem_store(krb5_storage *sp, const void *data, size_t size)
if(size > s->base + s->size - s->ptr){ if(size > s->base + s->size - s->ptr){
void *base; void *base;
size_t sz, off; size_t sz, off;
sz = 2 * (size + (s->ptr - s->base)); /* XXX */
off = s->ptr - s->base; off = s->ptr - s->base;
sz = off + size;
if (sz < 4096)
sz *= 2;
base = realloc(s->base, sz); base = realloc(s->base, sz);
if(base == NULL) if(base == NULL)
return 0; return 0;

Some files were not shown because too many files have changed in this diff Show More