summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* We shouldn't try to use the CCache API on Unix systems. (The maze ofTheodore Tso1998-09-262-2/+7
| | | | | | #ifdef's was confusing.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10939 dc483132-0cff-0310-8789-dd5450dbe970
* * mkrel: Add fixes to deal with "tails" on release directories,Tom Yu1998-09-252-0/+15
| | | | | | e.g. for beta releases. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10936 dc483132-0cff-0310-8789-dd5450dbe970
* resurrectingTom Yu1998-09-215-0/+1005
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10933 dc483132-0cff-0310-8789-dd5450dbe970
* oopTom Yu1998-09-211-0/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10932 dc483132-0cff-0310-8789-dd5450dbe970
* restoring deleted filesTom Yu1998-09-211-0/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10931 dc483132-0cff-0310-8789-dd5450dbe970
* fix incorrect versionTom Yu1998-09-211-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10930 dc483132-0cff-0310-8789-dd5450dbe970
* resurrect accidentally deleted filesTom Yu1998-09-211-0/+28
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10929 dc483132-0cff-0310-8789-dd5450dbe970
* restore accidentally deleted filesTom Yu1998-09-219-0/+1031
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10928 dc483132-0cff-0310-8789-dd5450dbe970
* merge of tlyu-3des-k4Tom Yu1998-09-1915-2064/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10922 dc483132-0cff-0310-8789-dd5450dbe970
* Added check for CFMMiro Jurisic1998-09-082-0/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10913 dc483132-0cff-0310-8789-dd5450dbe970
* ccdefname.c (krb5_cc_default_name): Changed the PC version to use theTheodore Tso1998-09-012-19/+15
| | | | | | | 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
* Both Macintoshes and Windows use the ccapi as the default credentialsTheodore Tso1998-09-011-3/+3
| | | | | | cache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10903 dc483132-0cff-0310-8789-dd5450dbe970
* Add #ifdef's so that correct header file (cacheapi.h vs. Ccache.h) is usedTheodore Tso1998-09-012-1/+15
| | | | | | when building under Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10901 dc483132-0cff-0310-8789-dd5450dbe970
* Of course, the following sentence actually refers to the login function,Geoffrey King1998-08-291-4/+3
| | | | | | | | | | | 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
* * ftpd.c (login): New function. Essentially, the old passGeoffrey King1998-08-292-21/+74
| | | | | | | | | | | | | | | | | | | 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