Theodore Tso [Mon, 16 Nov 1998 17:58:42 +0000 (17:58 +0000)]
aclocal.m4: Add support for FreeBSD systems using ELF (and not just
a.out systems). Also remove the definition for the KRB5_POSIX_LOCKS
test, since it is no longer needed. (See ChangeLog for
lib/krb5/os/lock_file.c for more details.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11040
dc483132-0cff-0310-8789-
dd5450dbe970
Geoffrey King [Mon, 16 Nov 1998 12:59:22 +0000 (12:59 +0000)]
* login.c (login_get_kconf): Also test whether *kconf_val is null
rather than just kconf_val before passing *kconf_val to
conf_affirmative (where strcasecmp will choke on it
if it is in fact null).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11039
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 14 Nov 1998 03:45:05 +0000 (03:45 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
configure.in: Build the test script prtest for doing regression test
suites of the profile library.
prof_err.et (PROF_MAGIC_ITERATOR): Add a new error code for the magic
number for the iterator structure.
prof_file.c (profile_update_file): Increment the update serial number
when the profile file is re-read.
prof_tree.c (profile_make_node_final, profile_is_node_final): Add a
new attribute for a node, which is whether or not the node is "final".
This controls whether or not the next profile file should be searched
when looking up a key which matches the section named by the node.
(profile_node_iterator_create, profile_node_iterator_free,
profile_node_iterator): New functions which take a profile_t and
returns all of the names or values for a particular search key. This
iterator follows the rules of doing multiple profile file lookups
using the "final node" marker to stop searching subsequent profile
files.
prof_parse.c (parse_std_line): Add support for marking top level
sections, subsections, and individual nodes as final, using the '*'
character.
(dump_profile_to_file): Print finalized sections with the '*'
character.
prof_get.c: Update routines to use the iterators provided by
prof_tree.c.
prof_int.c: Add upd_serial member to the prf_file_t structure. Define
the symbolic flags used by the profile node iterator. Add function
declarations for profile_make_node_final, profile_is_node_final,
profile_node_iterator_create, profile_node_iterator_free,
profile_node_iterator, and profile_get_value.
test_profile.c: Add the query1 command which tests profile_get_value.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11038
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 14 Nov 1998 02:45:20 +0000 (02:45 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS
definition to control the directories which are recursively descended
by the Makefile.
configure.in: Folded tests from krb5 and kerberosIV directories into
this configure.in file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11037
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 14 Nov 1998 02:44:40 +0000 (02:44 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS macro
set to '.' to indicate that there are no subdirectories to be
processed by the Makefile.
configure.in: Removed and tests moved to parent directory.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11036
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 14 Nov 1998 02:44:30 +0000 (02:44 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS macro
set to '.' to indicate that there are no subdirectories to be
processed by the Makefile.
configure.in: Removed and tests moved to parent directory.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11035
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 21:34:21 +0000 (21:34 +0000)]
Fix broken thisconfdir and mydir lines in Makefile.in's. Forgot to
adjust them after consildating the configure.in scripts.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11034
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 21:11:00 +0000 (21:11 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11033
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 21:10:39 +0000 (21:10 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS
definition to control the directories which are recursively descended
by the Makefile.
configure.in: Fold the autoconf tests from the sample, simple,
gss-sample, and user_user directories into this higher-level
configure.in file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11032
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 21:09:42 +0000 (21:09 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS macro
set to '.' to indicate that there are no subdirectories to be
processed by the Makefile.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11031
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 21:08:45 +0000 (21:08 +0000)]
configure.in: Removed and tests moved up to appl/configure.in
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS macro
set to '.' to indicate that there are no subdirectories to be
processed by the Makefile.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11030
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 21:05:20 +0000 (21:05 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11029
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 20:49:01 +0000 (20:49 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
configure.in: Add test for the fcntl.h header file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11028
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 20:47:18 +0000 (20:47 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
Also added a note to the ChangeLog indicating that we changed
lock_file.c to check for HAVE_FCNTL_H and defined(F_SETLKW) and
defined(F_RDLCK) instead of POSIX_FILE_LOCKS (so we can get rid of a
non-standard autoconf symbol.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11027
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 20:44:06 +0000 (20:44 +0000)]
Makefile.in: Set the myfulldir and mydir variables (which are relative
to buildtop and thisconfigdir, respectively.)
configure.in: Remove KRB5_POSIX_LOCKS test.
win_store.c (krb__get_srvtabname):
g_cnffile.c: Use krb5__krb4_context instead of init'ing and free'ing a
krb5_context each time we need to read data from the configuration
file. We also define krb5__krb4_context in g_cnnfile.c, since it's a
likely that any use of the krb4 library will pull in that file.
tf_util.c (tf_init): Use krb5_lock_file instead of trying to roll our
own flock emulation.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11026
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 20:35:51 +0000 (20:35 +0000)]
Add a declaration for the global variable krb5__krb4_context, which is
used by the krb4 routines that need to call krb5 library routines.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11025
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 20:33:59 +0000 (20:33 +0000)]
Fix bug where if the fcntl-style lock succeeded, we should return
immediately instead of trying to do flock-style locking.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11024
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 13 Nov 1998 19:36:33 +0000 (19:36 +0000)]
If $(MY_SUBDIRS) is non-NULL use it instead of $(SUBDIRS) to control
which directories are iterated over. (This is needed so we can fold a
directory's configure.in scripts into the parent's configure.in
without having to move all of its siblings as well into the parent
directory's configure.in.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11023
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 12 Nov 1998 22:21:20 +0000 (22:21 +0000)]
* Makefile.in (STLIBOBJS, OBJS, SRCS): Restore des.c
* des.c: Restore des_ecb_encrypt and make it use the cbc
interface.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11022
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 6 Nov 1998 15:32:53 +0000 (15:32 +0000)]
Fixes to build out of source tree
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11020
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 6 Nov 1998 15:06:01 +0000 (15:06 +0000)]
* gssftp.exp: Changes to deal with new text messages in ftp/ftpd
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11019
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 6 Nov 1998 15:04:02 +0000 (15:04 +0000)]
* k5unseal.c (kg2_unwrap_integ): Handle case of malloc(0)
returning NULL.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11018
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 5 Nov 1998 21:51:29 +0000 (21:51 +0000)]
Fixed filename uniqueness problems by renaming all of the *.c files
to be hash_*.c files.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11017
dc483132-0cff-0310-8789-
dd5450dbe970
Scott McGuire [Thu, 5 Nov 1998 19:35:54 +0000 (19:35 +0000)]
Fixed places where code didn't follow CCache API. Integrated some stuff from Windows
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11016
dc483132-0cff-0310-8789-
dd5450dbe970
Geoffrey King [Thu, 5 Nov 1998 08:06:53 +0000 (08:06 +0000)]
* prof_init.c (profile_init): Fix a problem whereby if the last
pathname in a list of pathnames was nonexistent, an
error would be returned that they were all nonexistent.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11015
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 5 Nov 1998 04:36:48 +0000 (04:36 +0000)]
Make sure filenames are unique across all of the krb5 directories. Renamed
all of the */encrypt.c and */decrypt.c files to {dk,raw,old}_{en,de}crypt.c.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11014
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 3 Nov 1998 23:02:29 +0000 (23:02 +0000)]
Ignore kerbsrc.tar, kerbsrc.zip, etc. files which are created in the
source tree as a result of building the snapshots for Windows and Macintosh
development.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11013
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 3 Nov 1998 22:57:00 +0000 (22:57 +0000)]
aclocal.m4 (AC_PROG_LEX): Autoconf "fixed" AC_PROG_LEX long ago. Our
own local version is no longer necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11012
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 3 Nov 1998 22:49:25 +0000 (22:49 +0000)]
Makefile.in: Added prof_get.c to the list of files to be compiled
profile.hin: Added declarations for profile_free_list(),
profile_get_relation_names(), and profile_get_subsection_names().
(These are new public interfaces to the profile library.)
prof_int.h: Removed the profile_section_t structure, which was used
only by the now-defunct prof_section.c file. Added the internal
interfaces for the new public interfaces. Removed unused declarations
which were never implemented(profile_get, profile_update).
prof_init.c: Moved all of the profile querying functions
(profile_get_values(), profile_get_value(), etc.) to prof_get.c. In
the process, removed the really bletcherous (and badly implemented)
profile_get_first_values(), which did nothing like what the named
implied. Also added to prof_get.c new functions
profile_get_subsection_names() and profile_get_relation_names().
(profile_ser_internalize): Rewrote error handling to be clearer, and
removed a bug where memory was not freed correctly in an error case.
(profile_init): If a list of pathnames is passed in, profile_init will
now try to open all of them, now that we've defined query fallback
semantics in prof_get.c
prof_parse.c: Fix lint warning.
prof_tree.c (profile_find_node_relation,
profile_find_node_subsection): Allow the returned value or subsection
field to be NULL (in case the caller isn't interested in getting the
returned value or subsection, and only cares about getting the name).
(profile_delete_node_relation, profile_delete_interior_node_relation):
Removed these functions and replaced it with profile_remove_node(),
which takes a boolean argument section_flag.
(profile_find_node_name): Removed this function. (This was a
Cygnus/Fusion special used by the now removed
profile_find_first_values() function.)
test_profile.c: Added commands to test the new
profile_get_subsection_names() and profile_get_relation_names()
interfaces.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11011
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 3 Nov 1998 21:28:40 +0000 (21:28 +0000)]
* dump.c: Fix up to work with new crypto API
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11010
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 3 Nov 1998 21:27:35 +0000 (21:27 +0000)]
lock_file.c (krb5_lock_file): Move the flock() fallback code from
fcc_maybe.c into krb5_lock_file(). This works around the bug that
certain lossy operating systems (mainly from our good friends at
SunSoft) do not support POSIX_FILE_LOCKS on all filesystems (namely
tmpfs) but do support flock on those filesystems.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11009
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 3 Nov 1998 00:01:02 +0000 (00:01 +0000)]
* str_conv.c: Remove krb5_cksumtype_to_string after merge
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11008
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 2 Nov 1998 21:23:11 +0000 (21:23 +0000)]
resurrect
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11007
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 2 Nov 1998 20:40:55 +0000 (20:40 +0000)]
ressurect files missed by merge
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11006
dc483132-0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Fri, 30 Oct 1998 03:24:38 +0000 (03:24 +0000)]
add back mistakenly deleted files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11004
dc483132-0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Fri, 30 Oct 1998 03:18:00 +0000 (03:18 +0000)]
add back mistakenly deleted files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11003
dc483132-0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Fri, 30 Oct 1998 03:12:12 +0000 (03:12 +0000)]
add back mistakenly deleted files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11002
dc483132-0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Fri, 30 Oct 1998 02:56:35 +0000 (02:56 +0000)]
pull up 3des implementation from the marc-3des branch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 27 Oct 1998 21:52:56 +0000 (21:52 +0000)]
Merged lxs' changes (removed 3des code from export list)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10997
dc483132-0cff-0310-8789-
dd5450dbe970
Dan Winship [Mon, 26 Oct 1998 19:00:46 +0000 (19:00 +0000)]
Add -A (require authentication but not necessarily authorization) and
-C (user wants local credentials) flags to ftpd.
If -C is set, write out forwarded credentials to disk and use krb524 to
get krb4 tickets as well. If user doesn't forward credentials, require
a password even if auth was successful and use that to get credentials.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10993
dc483132-0cff-0310-8789-
dd5450dbe970
Geoffrey King [Mon, 26 Oct 1998 11:46:30 +0000 (11:46 +0000)]
* ftp.M: Add documentation for new ccc and cprotect commands.
Also, add previously omitted command line options -u and -t and
"passive" command to the man page.
* main.c (main): Print out a usage message instead of just
"unknown option."
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10992
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 24 Oct 1998 00:25:41 +0000 (00:25 +0000)]
ftpd.c (pass): Wait 5 seconds before returning "password
incorrect", and only allow three bad passwords. Then
return an 421 reply code before closing the connection and
going away.
ftpcmd.y (cmd): Don't allow the PORT command to accept a port
number lower than 1024; this prevents some nasty ftp
"bounce attacks" to SMTP ports, etc.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10990
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 23 Oct 1998 23:18:56 +0000 (23:18 +0000)]
Merged in smcguire's fixes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10989
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 23 Oct 1998 23:12:40 +0000 (23:12 +0000)]
Updated deslib binaries
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10988
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 23 Oct 1998 05:05:22 +0000 (05:05 +0000)]
Added Mac DES shared library
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10987
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Wed, 21 Oct 1998 21:59:34 +0000 (21:59 +0000)]
Fixed build instructions and upped version to 1.1a4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10978
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Wed, 21 Oct 1998 21:51:20 +0000 (21:51 +0000)]
Added CodeWarrior Pro4 projects and docs, updated the Mac makefile to automagically build CW projects, updated CCache lib files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10976
dc483132-0cff-0310-8789-
dd5450dbe970
Dan Winship [Tue, 20 Oct 1998 20:35:54 +0000 (20:35 +0000)]
update ftpd man page to fully match reality (-a, -c, -u, CCC)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10973
dc483132-0cff-0310-8789-
dd5450dbe970
Geoffrey King [Sat, 10 Oct 1998 10:32:34 +0000 (10:32 +0000)]
* telnet.c (telnet): Cosmetic change: Put a newline after "Waiting
for encryption to be negotiated..." so that the response
"[ Kerberos V5 accepts you as ``gjking@ATHENA.MIT.EDU'' ]" doesn't
run off the end of the line.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10972
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 8 Oct 1998 05:51:33 +0000 (05:51 +0000)]
krshd.c (doit): Apply ghudson's patch so that rshd passes the port
numbers for the local and foreign addresses so that the V4 encrypted
RCP will work correctly. [krb5-appl/638]
v4rcp.c (answer_auth): Apply ghudson's patch so that if KRB5LOCALPORT
and KRB5REMOTEPORT are set, use them to set the foreign and
local ports so that encrypted rcp for the same machine.
[krb5-appl/638]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10971
dc483132-0cff-0310-8789-
dd5450dbe970
Geoffrey King [Thu, 8 Oct 1998 05:21:56 +0000 (05:21 +0000)]
* ftpd.c: Add support for restricted users, as requested in
[krb5-appl/481]. Users that appear in /etc/ftpusers, followed
by the keyword "restrict" will be granted access, but a chroot()
will be done to their home directory.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10970
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 2 Oct 1998 20:23:31 +0000 (20:23 +0000)]
cmdtab.c: Update help message for passive mode so that it
indicates that the "passive" command toggles passive mode.
main.c (main): Make passive mode off by default.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10956
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 30 Sep 1998 04:03:35 +0000 (04:03 +0000)]
Add support for changing the master key for a database as part of
creating a dump of the database.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10952
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 29 Sep 1998 23:26:45 +0000 (23:26 +0000)]
Don't use h_errno, it's not fully portable, and it's not worth it
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10949
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 29 Sep 1998 23:26:19 +0000 (23:26 +0000)]
Don't use h_errno at all; it doesn't work on all platforms (for
example HPUX), and it's just not worth the effort to disambiguate
between the different reasons why gethostbyname() might have failed.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10948
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 26 Sep 1998 02:34:56 +0000 (02:34 +0000)]
We shouldn't try to use the CCache API on Unix systems. (The maze of
#ifdef's was confusing.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10939
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 25 Sep 1998 00:05:59 +0000 (00:05 +0000)]
* mkrel: Add fixes to deal with "tails" on release directories,
e.g. for beta releases.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10936
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 21 Sep 1998 22:30:28 +0000 (22:30 +0000)]
resurrecting
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10933
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 21 Sep 1998 22:06:56 +0000 (22:06 +0000)]
oop
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10932
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 21 Sep 1998 22:06:07 +0000 (22:06 +0000)]
restoring deleted files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10931
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 21 Sep 1998 21:40:25 +0000 (21:40 +0000)]
fix incorrect version
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10930
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 21 Sep 1998 21:37:40 +0000 (21:37 +0000)]
resurrect accidentally deleted files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10929
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 21 Sep 1998 21:33:13 +0000 (21:33 +0000)]
restore accidentally deleted files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10928
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 19 Sep 1998 02:32:21 +0000 (02:32 +0000)]
merge of tlyu-3des-k4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10922
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 8 Sep 1998 19:56:55 +0000 (19:56 +0000)]
Added check for CFM
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10913
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 1 Sep 1998 19:45:26 +0000 (19:45 +0000)]
ccdefname.c (krb5_cc_default_name): Changed the PC version to use the
CCache API by default. Removed the old Macintosh code that had been
commented out. (If we need to ressurect it, we'll get it from CVS.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10904
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 1 Sep 1998 19:39:26 +0000 (19:39 +0000)]
Both Macintoshes and Windows use the ccapi as the default credentials
cache.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10903
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Tue, 1 Sep 1998 19:37:33 +0000 (19:37 +0000)]
Add #ifdef's so that correct header file (cacheapi.h vs. Ccache.h) is used
when building under Windows.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10901
dc483132-0cff-0310-8789-
dd5450dbe970
Geoffrey King [Sat, 29 Aug 1998 00:10:24 +0000 (00:10 +0000)]
Of course, the following sentence actually refers to the login function,
not the pass function:
Don't reply 230 "User logged in" if the user didn't send a PASS
command; this causes the client to get a bit confused.
ChangeLog:
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10900
dc483132-0cff-0310-8789-
dd5450dbe970
Geoffrey King [Sat, 29 Aug 1998 00:03:22 +0000 (00:03 +0000)]
* ftpd.c (login): New function. Essentially, the old pass
function has been split into its two logical components, pass and
login.
(pass): If auth_ok is true, reply with code 202 to tell the
user that a PASS command is not necessary. Also, don't reply
230 "User logged in" if the user didn't send a PASS command;
this causes the client to get a bit confused.
(auth_ok): New function that returns true if either gss_ok or
kerb_ok is true (all the #ifdefs were beginning to clutter things,
and it's a good abstraction in case other auth types are ever
added in the future).
(user): If GSSAPI or Kerberos v4 authentication succeeds, call
login immediately, instead of waiting for the client to send "PASS
dummy." Also, use #ifdef PARANOID instead of "some paranoid sites
may wish to uncomment this"
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10899
dc483132-0cff-0310-8789-
dd5450dbe970
Geoffrey King [Fri, 28 Aug 1998 22:56:36 +0000 (22:56 +0000)]
* cmds.c (user): Replace "oldlevel" with the more descriptive
"oldclevel". Also, replace all occurrences of "dlevel" in this
function with "clevel".
* ftp.c (login): Test whether or not the server actually requires
"PASS dummy" by first sending "PWD" and checking the return value.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10898
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 28 Aug 1998 20:58:38 +0000 (20:58 +0000)]
Added timeout to CW AppleEvents
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10897
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 28 Aug 1998 20:43:25 +0000 (20:43 +0000)]
Unlock makefile when building snapshot
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10896
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 28 Aug 1998 20:33:44 +0000 (20:33 +0000)]
Fixed the snapshot target
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10895
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 28 Aug 1998 20:25:07 +0000 (20:25 +0000)]
Fixed the makefile target
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10894
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 28 Aug 1998 20:22:33 +0000 (20:22 +0000)]
Added perl and AppleScript stuff to automagically build CW projects
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10893
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 28 Aug 1998 17:12:55 +0000 (17:12 +0000)]
Added release notes to the snapshot
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10892
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 28 Aug 1998 17:06:46 +0000 (17:06 +0000)]
Added release notes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10891
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 28 Aug 1998 17:05:37 +0000 (17:05 +0000)]
Added MPW fragment aliasing script
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10890
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 28 Aug 1998 16:50:31 +0000 (16:50 +0000)]
Fixed typo in makefile
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10889
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 28 Aug 1998 16:48:46 +0000 (16:48 +0000)]
Fixed dependencies in metaproject
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10888
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 28 Aug 1998 16:36:26 +0000 (16:36 +0000)]
Added CodeWarrior metaproject
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10887
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 28 Aug 1998 16:10:18 +0000 (16:10 +0000)]
Fixed typo in snapshot target
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10886
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 28 Aug 1998 16:03:14 +0000 (16:03 +0000)]
Fixed typo in snapshot target
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10885
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 28 Aug 1998 16:01:44 +0000 (16:01 +0000)]
Fixed typo in snapshot target
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10884
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 28 Aug 1998 15:57:00 +0000 (15:57 +0000)]
Removed all mentions from static libraries and kconfig from readmes and makefile; added debugging targets to makefile; upped versio nto 1.1a3
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10883
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 28 Aug 1998 15:50:58 +0000 (15:50 +0000)]
Added debugging versions od CCache API libs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10882
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 24 Aug 1998 22:01:12 +0000 (22:01 +0000)]
Add support to build the lib/krb5/ccache api directory and include it
in the Windows kerbsrc-nt.zip file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10879
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 24 Aug 1998 21:59:14 +0000 (21:59 +0000)]
Add windows build instructions to build CCache API Cache
implementation.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10878
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 21 Aug 1998 21:38:05 +0000 (21:38 +0000)]
Changed Mac specific stuff to use CCache API
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10861
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 21 Aug 1998 21:25:41 +0000 (21:25 +0000)]
Added the CCache API libraries to the snapshot target
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10860
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 21 Aug 1998 21:03:08 +0000 (21:03 +0000)]
Added the CCache API libraries to the makefile
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10859
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 21 Aug 1998 21:00:56 +0000 (21:00 +0000)]
Added the CCAPI library files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10858
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Thu, 20 Aug 1998 22:31:26 +0000 (22:31 +0000)]
Added Frank's CCache API implementation and made it default on the Mac
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10857
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Wed, 19 Aug 1998 22:57:25 +0000 (22:57 +0000)]
Changed library version to 1.1a1, package version to 1.5a1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10853
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 19 Aug 1998 21:28:22 +0000 (21:28 +0000)]
* conv_princ.c: Add some additional entries to sconv_list that
were forgotten.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10851
dc483132-0cff-0310-8789-
dd5450dbe970
Geoffrey King [Wed, 19 Aug 1998 11:06:25 +0000 (11:06 +0000)]
Add optional support for the CCC (Clear Command Channel) command.
This command is dangerous, since it allows commands to be transmitted
without integrity checking, so the default behavior without the -c
option is still for the server to refuse to accept unprotected
commands.
* ftpd.c: Add a new command line option, -c, which tells the
server to accept the CCC command.
* ftpcmd.y: If the -c option was given, check to make sure the CCC
command itself was integrity protected, and then set ccc_ok to
allow future commands to be transmitted as cleartext.
(getline): Now that CCC is potentially allowed, we must check to
see if we are parsing an unprotected command even if a security
context is established (i.e. auth_type is set).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10846
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 18 Aug 1998 18:40:49 +0000 (18:40 +0000)]
Added info about ignorable warniongs to the readme
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10843
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 18 Aug 1998 18:24:53 +0000 (18:24 +0000)]
Removed 68K glue. We are back to static linking
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10842
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Mon, 17 Aug 1998 20:46:20 +0000 (20:46 +0000)]
Changed MPW crash information
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10839
dc483132-0cff-0310-8789-
dd5450dbe970