summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-143-116/+13
| | | | | | | | | | 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
* Fix broken thisconfdir and mydir lines in Makefile.in's. Forgot toTheodore Tso1998-11-138-16/+16
| | | | | | adjust them after consildating the configure.in scripts. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11034 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-132-0/+7
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11033 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-133-2/+39
| | | | | | | | | | | | 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
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-138-0/+42
| | | | | | | | 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
* configure.in: Removed and tests moved up to appl/configure.inTheodore Tso1998-11-1312-38/+48
| | | | | | | | | 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
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-1314-0/+49
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11029 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-133-1/+10
| | | | | | | | 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
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-132-1/+9
| | | | | | | | | | | 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
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-135-58/+45
| | | | | | | | | | | | | | | | | 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
* Add a declaration for the global variable krb5__krb4_context, which isTheodore Tso1998-11-132-0/+8
| | | | | | 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
* Fix bug where if the fcntl-style lock succeeded, we should returnTheodore Tso1998-11-132-2/+13
| | | | | | immediately instead of trying to do flock-style locking. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11024 dc483132-0cff-0310-8789-dd5450dbe970
* If $(MY_SUBDIRS) is non-NULL use it instead of $(SUBDIRS) to controlTheodore Tso1998-11-132-1/+15
| | | | | | | | | 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
* * Makefile.in (STLIBOBJS, OBJS, SRCS): Restore des.cTom Yu1998-11-123-6/+15
| | | | | | | * 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
* Fixes to build out of source treeEzra Peisach1998-11-064-5/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11020 dc483132-0cff-0310-8789-dd5450dbe970
* * gssftp.exp: Changes to deal with new text messages in ftp/ftpdEzra Peisach1998-11-062-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11019 dc483132-0cff-0310-8789-dd5450dbe970
* * k5unseal.c (kg2_unwrap_integ): Handle case of malloc(0)Ezra Peisach1998-11-062-13/+20
| | | | | | returning NULL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11018 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed filename uniqueness problems by renaming all of the *.c filesTheodore Tso1998-11-055-3/+5
| | | | | | to be hash_*.c files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11017 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed places where code didn't follow CCache API. Integrated some stuff ↵Scott McGuire1998-11-053-60/+79
| | | | | | from Windows git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11016 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_init.c (profile_init): Fix a problem whereby if the lastGeoffrey King1998-11-052-3/+12
| | | | | | | 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
* Make sure filenames are unique across all of the krb5 directories. RenamedTheodore Tso1998-11-059-12/+13
| | | | | | 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
* Ignore kerbsrc.tar, kerbsrc.zip, etc. files which are created in theTheodore Tso1998-11-031-0/+3
| | | | | | | 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
* aclocal.m4 (AC_PROG_LEX): Autoconf "fixed" AC_PROG_LEX long ago. OurTheodore Tso1998-11-032-16/+5
| | | | | | own local version is no longer necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11012 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Added prof_get.c to the list of files to be compiledTheodore Tso1998-11-0312-608/+710
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * dump.c: Fix up to work with new crypto APITom Yu1998-11-032-26/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11010 dc483132-0cff-0310-8789-dd5450dbe970
* lock_file.c (krb5_lock_file): Move the flock() fallback code fromTheodore Tso1998-11-032-23/+49
| | | | | | | | | 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
* * str_conv.c: Remove krb5_cksumtype_to_string after mergeTom Yu1998-11-032-27/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11008 dc483132-0cff-0310-8789-dd5450dbe970
* resurrectTom Yu1998-11-021-0/+203
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11007 dc483132-0cff-0310-8789-dd5450dbe970
* ressurect files missed by mergeTom Yu1998-11-0240-0/+3499
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11006 dc483132-0cff-0310-8789-dd5450dbe970
* add back mistakenly deleted filesMarc Horowitz1998-10-3044-0/+2404
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11004 dc483132-0cff-0310-8789-dd5450dbe970
* add back mistakenly deleted filesMarc Horowitz1998-10-305-0/+881
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11003 dc483132-0cff-0310-8789-dd5450dbe970
* add back mistakenly deleted filesMarc Horowitz1998-10-308-0/+972
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11002 dc483132-0cff-0310-8789-dd5450dbe970
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-30340-15571/+11806
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
* Merged lxs' changes (removed 3des code from export list)Miro Jurisic1998-10-276-43/+65
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10997 dc483132-0cff-0310-8789-dd5450dbe970
* Add -A (require authentication but not necessarily authorization) andDan Winship1998-10-265-160/+381
| | | | | | | | | | -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
* * ftp.M: Add documentation for new ccc and cprotect commands.Geoffrey King1998-10-263-23/+77
| | | | | | | | | | 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
* ftpd.c (pass): Wait 5 seconds before returning "passwordTheodore Tso1998-10-243-10/+36
| | | | | | | | | | | | 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
* Merged in smcguire's fixesMiro Jurisic1998-10-232-35/+116
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10989 dc483132-0cff-0310-8789-dd5450dbe970
* Updated deslib binariesMiro Jurisic1998-10-234-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10988 dc483132-0cff-0310-8789-dd5450dbe970
* Added Mac DES shared libraryMiro Jurisic1998-10-2312-0/+1501
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10987 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed build instructions and upped version to 1.1a4Miro Jurisic1998-10-213-6/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10978 dc483132-0cff-0310-8789-dd5450dbe970
* Added CodeWarrior Pro4 projects and docs, updated the Mac makefile to ↵Miro Jurisic1998-10-2125-18/+213
| | | | | | automagically build CW projects, updated CCache lib files git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10976 dc483132-0cff-0310-8789-dd5450dbe970
* update ftpd man page to fully match reality (-a, -c, -u, CCC)Dan Winship1998-10-202-6/+24
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10973 dc483132-0cff-0310-8789-dd5450dbe970
* * telnet.c (telnet): Cosmetic change: Put a newline after "WaitingGeoffrey King1998-10-102-1/+8
| | | | | | | | 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
* krshd.c (doit): Apply ghudson's patch so that rshd passes the portTheodore Tso1998-10-083-4/+30
| | | | | | | | | | | | 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
* * ftpd.c: Add support for restricted users, as requested inGeoffrey King1998-10-082-16/+59
| | | | | | | | [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
* cmdtab.c: Update help message for passive mode so that itTheodore Tso1998-10-023-2/+9
| | | | | | | | 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
* Add support for changing the master key for a database as part ofTheodore Tso1998-09-302-26/+167
| | | | | | creating a dump of the database. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10952 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use h_errno, it's not fully portable, and it's not worth itTheodore Tso1998-09-292-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10949 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use h_errno at all; it doesn't work on all platforms (forTheodore Tso1998-09-292-6/+8
| | | | | | | 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