summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Cygnus implementation of GSSAPI-based ftp client and server.Mark Eichin1996-01-1437-0/+14111
| | | | | | | | See README.gssftp for history and details. Bugs, comments to <eichin@cygnus.com>. Be sure to forward any changes made at MIT as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7312 dc483132-0cff-0310-8789-dd5450dbe970
* Work around apparent Solaris kernel bug. If you open the pty and close it, ↵Sam Hartman1996-01-132-30/+27
| | | | | | you get a sigHUP on the master git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7311 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: (check-unix): ultrix "test" does not support -xEzra Peisach1996-01-112-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7310 dc483132-0cff-0310-8789-dd5450dbe970
* * krsh.c, krlogin.c: (main): Ultrix cc does not support automaticEzra Peisach1996-01-113-3/+10
| | | | | | aggregate initiailzation of structures. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7309 dc483132-0cff-0310-8789-dd5450dbe970
* * krcp.c (error): Convert to use varargsEzra Peisach1996-01-113-7/+37
| | | | | | * configure.in: Check for stdarg.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7308 dc483132-0cff-0310-8789-dd5450dbe970
* * profile.hin: Add profile_init_path prototypeEzra Peisach1996-01-112-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7307 dc483132-0cff-0310-8789-dd5450dbe970
* Set the enctype to ENCTYPE_UNKNOWN when the enctype should be determined fromRichard Basch1996-01-113-6/+14
| | | | | | the stash file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7306 dc483132-0cff-0310-8789-dd5450dbe970
* Add an #ifdef for enabling lower case realm (for use with DCE)Theodore Tso1996-01-112-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7305 dc483132-0cff-0310-8789-dd5450dbe970
* When obtaining tickets, we make them forwardable by default. XXX ThisTheodore Tso1996-01-112-5/+17
| | | | | | should really a configurable option in the UI. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7304 dc483132-0cff-0310-8789-dd5450dbe970
* Added documentation for the DCE compat options, plus the capathsTheodore Tso1996-01-112-0/+132
| | | | | | section. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7303 dc483132-0cff-0310-8789-dd5450dbe970
* scc.h (KRB5_SCC_DEFAULT_VNO): Remove KRB5_SCC_DEFAULT_VNO; now set inTheodore Tso1996-01-115-13/+21
| | | | | | | | | | | | | | init_ctx.c. scc_maybe.c (krb5_scc_open_file): scc_gennew.c (krb5_scc_generate_new): Use context->scc_default_format to determine the credentials ccache type. scc_read.c (krb5_scc_read_keyblock): If reading in a version 3 credentials cache, ignore the second enctype stored in the ccache; just read it into a dummy variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7302 dc483132-0cff-0310-8789-dd5450dbe970
* fcc.h (KRB5_FCC_DEFAULT_VNO): Remove KRB5_FCC_DEFAULT_VNO; now set inTheodore Tso1996-01-114-11/+15
| | | | | | | | | | init_ctx.c. fcc_maybe.c (krb5_fcc_open_file): fcc_gennew.c (krb5_fcc_generate_new): Use context->fcc_default_format to determine the credentials cache type. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7301 dc483132-0cff-0310-8789-dd5450dbe970
* Added checking of profile for DCE compatability options (ccache type,Theodore Tso1996-01-112-4/+25
| | | | | | and checksum type). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7300 dc483132-0cff-0310-8789-dd5450dbe970
* Add fields for fcc_default_format and scc_default_format inTheodore Tso1996-01-112-0/+7
| | | | | | krb5_context structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7299 dc483132-0cff-0310-8789-dd5450dbe970
* Added ##DOS statements after gssapi_err_generic.$(OBJECT) to get itTheodore Tso1996-01-112-0/+9
| | | | | | added to library on Windows. (Patch from Doug Engbert). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7298 dc483132-0cff-0310-8789-dd5450dbe970
* Fix return type for mit_des3_string_to_key()Theodore Tso1996-01-112-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7297 dc483132-0cff-0310-8789-dd5450dbe970
* Added hack by Doug Engbert to get util/pty to work under Solaris. WeTheodore Tso1996-01-112-0/+10
| | | | | | should double check to make sure this is a correct fix. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7296 dc483132-0cff-0310-8789-dd5450dbe970
* kcmd.c (getport): Clear the sin structure to be zero. (From Doug Engbert.)Theodore Tso1996-01-115-7/+50
| | | | | | | | | | | | | | | krsh.c (main): Added code to default port to 544 if service not found. (From Doug Engbert.) krlogin.c (main): Added code to default port to 543 or 2105 if service not found. (From Doug Engbert.) login.c (main): Save KRB5CCNAME environment variable, which may have been set by forward.c. Add code for SGI to set environment for its /etc/TIMEZONE (untested). Don't print MOTD twice on Suns, added #ifdef NO_MOTD. (Patches from Doug Engbert). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7295 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize addrs to 0 so that we don't try to free stack garbage on anTheodore Tso1996-01-112-2/+5
| | | | | | error. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7294 dc483132-0cff-0310-8789-dd5450dbe970
* Remove #if statement that used sizeof(xxx), since that won't work forTheodore Tso1996-01-112-6/+7
| | | | | | most C compilers/C preprocessors! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7293 dc483132-0cff-0310-8789-dd5450dbe970
* Removed extern global of krb5_kdc_req_sumtype, which wasn't being usedTheodore Tso1996-01-112-1/+5
| | | | | | anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7292 dc483132-0cff-0310-8789-dd5450dbe970
* krbconfig.c, Makefile.in: Removed krbconfig.c; it contained globalTheodore Tso1996-01-117-17/+22
| | | | | | | | | | | | | | | | | | | variables which are no longer used. recvauth.c: Removed the global extern of krb5_kdc_default_options, which wasn't being used anyway. mk_req.c (krb5_mk_req): Replace use of krb5_kdc_default_options with context->kdc_default_options. gc_frm_kdc.c: Remove the global extern of krb5_kdc_req_sumtype, which wasn't being used anymore anyway. send_tgs.c (krb5_send_tgs_basic): Remove use of the global variable krb5_kdc_req_sumtype, and use the kdc_req_sumtype in the context structure instead. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7291 dc483132-0cff-0310-8789-dd5450dbe970
* If reading in a version 3 credentials cache, ignore the second enctypeTheodore Tso1996-01-112-1/+7
| | | | | | stored in the ccache; just read it into a dummy variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7290 dc483132-0cff-0310-8789-dd5450dbe970
* Applied patch submitted by Doug Engbert, so that the configurableTheodore Tso1996-01-112-0/+9
| | | | | | | authentication patch takes into account the null entry at the end of the list. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7289 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (krb5_locate_kdc): Add parrentheses for assignmentEzra Peisach1996-01-114-7/+18
| | | | | | | | | | | in conditional. (gcc -Wall) * init_os_ctx.c (krb5_os_init_context): Remove unused variables * an_to_ln.c (aname_do_match): Initialize local variable before referenced. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7288 dc483132-0cff-0310-8789-dd5450dbe970
* Take care of a gcc warnign about shufting two farEzra Peisach1996-01-112-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7287 dc483132-0cff-0310-8789-dd5450dbe970
* Added defintion for KRB5_GSS_FOR_CREDS_OPTIONTheodore Tso1996-01-101-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7286 dc483132-0cff-0310-8789-dd5450dbe970
* forward.c (get_for_creds): Removed no longer used functionTheodore Tso1996-01-103-165/+55
| | | | | | | | kerberos5.c (kerberos5_forward): Convert from using get_for_creds() from forward.c to using the official library routine, krb5_fwd_tgt_creds(). Misc. lint cleanups. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7285 dc483132-0cff-0310-8789-dd5450dbe970
* forward.c (get_for_creds): Removed no longer used functionTheodore Tso1996-01-103-158/+10
| | | | | | | kcmd.c (kcmd): Convert from using get_for_creds() from forward.c to using the official library routine, krb5_fwd_tgt_creds(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7284 dc483132-0cff-0310-8789-dd5450dbe970
* Added error table code KRB5_FWD_BAD_PRINCIPALTheodore Tso1996-01-102-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7283 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.hin (krb5_fwd_tgt_creds, krb5_os_hostaddr): Added new functionTheodore Tso1996-01-102-0/+18
| | | | | | prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7282 dc483132-0cff-0310-8789-dd5450dbe970
* gssapiP_krb5.h (KRB5_GSS_FOR_CREDS_OPTION): New constant added forTheodore Tso1996-01-103-77/+252
| | | | | | | | | | | | delegation (forwarding) of credentials. init_sec_context.c (make_ap_req): Add support for sending delegated credentials. Misc lint cleanups. accept_sec_context.c (krb5_gss_accept_sec_context): Add support for accepting delegated credentials. Misc lint cleanups. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7281 dc483132-0cff-0310-8789-dd5450dbe970
* fwd_tgt.c (krb5_fwd_tgt_creds): New function which handles all of theTheodore Tso1996-01-106-68/+227
| | | | | | | | | | | | | | | dirty work of forwarding TGT's. rd_cred.c (krb5_rd_cred_basic): Clean up memory allocation discpline to remove memory leaks. mk_cred.c (krb5_mk_ncred_basic, krb5_mk_ncred, krb5_mk_1cred): Clean up memory allocation discpline to remove memory leaks. init_ctx.c (krb5_get_tgs_ktypes): Clean up parsing of the etype list. Don't overrun the string containing the etype list. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7280 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.hin: Added support for KRB5_INT16_MAX, which tells us theTheodore Tso1996-01-052-0/+10
| | | | | | limitations of using 16 bit ints. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7278 dc483132-0cff-0310-8789-dd5450dbe970
* hostaddr.c (krb5_os_hostaddr): New function which takes a hostname andTheodore Tso1996-01-053-0/+90
| | | | | | | returns a list of krb5 addresses. (This is basically a glue routine that converts the result of gethostbyname() to krb5 addresses.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7277 dc483132-0cff-0310-8789-dd5450dbe970
* gssapiP_generic.h (TWRITE_INT16, TREAD_INT16): Added new macrosTheodore Tso1996-01-052-0/+13
| | | | | | to read and write two byte integers from the wire. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7276 dc483132-0cff-0310-8789-dd5450dbe970
* gssapiP_generic.h: Don't include <sys/types.h> since it's alreadyTheodore Tso1996-01-053-3/+9
| | | | | | | | included by gssapi.h. gssapi.h: Add a #ifndef _MACINTOSH around include of <sys/types.h> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7275 dc483132-0cff-0310-8789-dd5450dbe970
* Removed check for sys/fcntl.h; the source now always includes <fcntl.h>Richard Basch1996-01-041-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7273 dc483132-0cff-0310-8789-dd5450dbe970
* Removed #undef NEED_SYS_FCNTL_H since we now always use <fcntl.h>Richard Basch1996-01-041-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7272 dc483132-0cff-0310-8789-dd5450dbe970
* Always include <fcntl.h> instead of checking for <sys/fcntl.h>Richard Basch1996-01-042-8/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7271 dc483132-0cff-0310-8789-dd5450dbe970
* Removed checking for <sys/fcntl.h>; always use <fcntl.h>Richard Basch1996-01-041-21/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7270 dc483132-0cff-0310-8789-dd5450dbe970
* Always include <fcntl.h> instead of checking for <sys/fcntl.h>Richard Basch1996-01-048-22/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7269 dc483132-0cff-0310-8789-dd5450dbe970
* Removed sys/fcntl.h checking (always use fcntl.h instead)Richard Basch1996-01-048-21/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7268 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4, acconfig.hRichard Basch1996-01-041-1/+2
| | | | | | | | | Removed sys/fcntl.h checking (always use fcntl.h instead) * TODO Documented that sys/fcntl.h checks have been removed. Added a KDC bug that needs to be investigated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7267 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for presense of setenv(), unsetenv(), andTheodore Tso1996-01-044-1/+190
| | | | | | | | | getenv() from the C library. * Makefile.in: New file: setenv.c --- provides routines for setting the environment. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7266 dc483132-0cff-0310-8789-dd5450dbe970
* * gss-client.c (main, client_establish_context): If the -d flag isTheodore Tso1996-01-043-6/+25
| | | | | | | given to the client, then try to delegate credentials when establishing the context. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7265 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_cred.c (krb5_rd_cred_basic): When the keyblock is NULL, assumeTheodore Tso1996-01-043-25/+67
| | | | | | | | | | | | | | | | we're being called from the gssapi code, which doesn't have access to the sender or receive address information, don't check the sender address, since it won't be available. * rd_cred.c (decrypt_credencdata): When calling krb5_rd_credd(), if the keyblock is null, just copy the encoded structure from the "ciphertext" part of the structure and decode it. * mk_cred.c (encrypt_credencpart): When calling krb5_mk_cred(), if the keyblock is NULL, don't encrypt it; just encode it and leave it in the ciphertext area of the structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7264 dc483132-0cff-0310-8789-dd5450dbe970
* ktutil.c (ktutil_write_v4): Call ktutil_write_srvtab not ktutil_write_keytabEzra Peisach1995-12-253-1/+11
| | | | | | ktutil_funcs.c (ktutil_write_srvtab): Clear malloced memory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7250 dc483132-0cff-0310-8789-dd5450dbe970
* If HAVE_SHADOW is defined, and no shadow password entry is availble,Theodore Tso1995-12-222-2/+7
| | | | | | try using the password entry in the password file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7249 dc483132-0cff-0310-8789-dd5450dbe970
* Use KRB5_CC_FORMAT as an error code instead of KRB5_CCACHE_BADVNO,Theodore Tso1995-12-214-8/+14
| | | | | | when it's really a format error in the credentials cache file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7248 dc483132-0cff-0310-8789-dd5450dbe970