summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * kerberos_v4.c: Don't include sys/socket.h or netdb.h, as krb.hTom Yu1997-12-122-2/+6
| | | | | | | already gets those and Ultrix doesn't protect them against multiple inclusion. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10334 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c: Don't include netdb.h or sys/socket.h if krb.h isTom Yu1997-12-122-0/+12
| | | | | | | included; this works around an Ultrix bug where those headers aren't protected against multiple inclusion. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10333 dc483132-0cff-0310-8789-dd5450dbe970
* * ftp.c:Tom Yu1997-12-123-0/+19
| | | | | | | | * main.c: Don't include netdb.h or sys/socket.h if krb.h is included; this works around an Ultrix bug where those headers aren't protected against multiple inclusion. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10332 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c:Tom Yu1997-12-125-4/+30
| | | | | | | | | | * krshd.c: * login.c: * v4rcp.c: Don't include netdb.h or sys/socket.h if krb.h is included; this works around an Ultrix bug where those headers aren't protected against multiple inclusion. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10331 dc483132-0cff-0310-8789-dd5450dbe970
* * val_cred.c (krb5_gss_validate_cred): Free principal extractedEzra Peisach1997-12-072-0/+6
| | | | | | from credential cache when finished. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10330 dc483132-0cff-0310-8789-dd5450dbe970
* * gic_pwd.c (krb5_get_init_creds_password): Change fourth argumentEzra Peisach1997-12-072-1/+6
| | | | | | in call to prompter (which is an int) from NULL to 0. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10329 dc483132-0cff-0310-8789-dd5450dbe970
* * getpty.c (pty_getpty): Fix goof in previous, which introducedTom Yu1997-12-072-3/+8
| | | | | | another fencepost error. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10327 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (krb5_locate_kdc): Get rid of extra krb5_xfreeEzra Peisach1997-12-072-1/+5
| | | | | | which caused freeing of memory twice. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10326 dc483132-0cff-0310-8789-dd5450dbe970
* Include <string.h>Ezra Peisach1997-12-072-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10325 dc483132-0cff-0310-8789-dd5450dbe970
* Include <string.h> for memset prototypeEzra Peisach1997-12-072-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10324 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Add changepw.c, prompter.cTom Yu1997-12-067-41/+668
| | | | | | | | | | | | | | * changepw.c: New file; Cygnus password changing protocol. * locate_kdc.c: Add parameter to indicate master KDC. * os-proto.h: Reflect changes to locate_kdc. * prompter.c: New file; Cygnus initial creds. * sendto_kdc.c: Add parameter to indicate master KDC. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10322 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Add files chpw.c, gic_*, preauth2.c, vfy_increds.c,Tom Yu1997-12-0612-35/+2067
| | | | | | | | | | | | | | | | | | | | | | | | | | | vic_opt.c. * chpw.c: New file; implement Cygnus chpw. * get_in_tkt.c: Implement support for Cygnus initial credentials API. * gic_keytab.c: New file; Cygnus initial creds. * gic_opt.c: New file; Cygnus initial creds. * gic_pwd.c: New file; Cygnus initial creds. * preauth.c: Add more SAM support (from Cygnus). * preauth2.c: New file; additional SAM support from Cygnus. * send_tgs.c: Account for additional parameter to sendto_kdc. * vfy_increds.c: New file; Cygnus initial creds. * vic_opt.c: New file; Cygnus initial creds. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10321 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_err.et: Add codes for Cygnus chpwTom Yu1997-12-062-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10320 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Add cccopy.cTom Yu1997-12-063-0/+65
| | | | | | * cccopy.c: New file; krb5_cc_copy_creds from Cygnus. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10319 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin: Add constants and prototypes for the Cygnus passwordTom Yu1997-12-063-2/+273
| | | | | | | | | | | | changing API. Add krb5_cc_copy_creds. Add support for Cygnus initial credentials API. * k5-int.h: Add additional preauth types. Add additional parameter to krb5_sendto_kdc for designating whether to use the master. Add functions to support Cygnus initial credentials API. Add prototypes for sam functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10318 dc483132-0cff-0310-8789-dd5450dbe970
* * getpty.c (pty_getpty): Fix checks on string lengths to accountTom Yu1997-12-052-32/+31
| | | | | | for terminating nul character. Some whitespace fixups. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10313 dc483132-0cff-0310-8789-dd5450dbe970
* * telnetd.c (doit): Fix up slave buffer lengthTom Yu1997-12-052-4/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10312 dc483132-0cff-0310-8789-dd5450dbe970
* * pty_err.et: Add PTY_OPEN_SLAVE_TOOSHORT error codeTom Yu1997-12-033-1/+11
| | | | | | | * open_slave.c (pty_open_slave): Check to ensure that the slave name is not NULL or zero-length. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10310 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add AC_PROG_LN_S to deal with symlinking inTom Yu1997-11-292-0/+7
| | | | | | | memmove.c. This is a kludge, as we really should have a more sane way to deal with missing posix functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10309 dc483132-0cff-0310-8789-dd5450dbe970
* do_tgs_req.c (process_tgs_req): Add check to make sure cname and snameTheodore Tso1997-11-253-1/+15
| | | | | | | | | | are non-NULL when syslogging an error because the principals don't match. kdc_util.c (limit_string): Check to make sure the input string is non-NULL before operating on it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10307 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (types.h): Add rules to generate file by runningEzra Peisach1997-11-212-0/+19
| | | | | | config.status. Remove on make clean. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10306 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (clean-unix): krb_err.h resides in the kerberosIVEzra Peisach1997-11-212-1/+6
| | | | | | subdir for make clean. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10305 dc483132-0cff-0310-8789-dd5450dbe970
* * forward.c (rd_and_store_for_creds): Fix up to no longer do theTom Yu1997-11-203-11/+10
| | | | | | | | | chown [krb5-appl/502] * kerberos5.c (kerberos5_is): Fix up call to rd_and_store_for_creds. [krb5-appl/502] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10302 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c (recvauth): Fix args in call toTom Yu1997-11-202-1/+6
| | | | | | rd_and_store_for_creds. [krb5-appl/502] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10301 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (clean): Remove server-setkey-testEzra Peisach1997-11-192-0/+6
| | | | | | client-setkey-test setkey-test.o git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10300 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (kdb_check): Remove temporary file generated during testEzra Peisach1997-11-192-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10299 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (clean-unix): Remove db lib symlinksEzra Peisach1997-11-192-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10298 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (clean-unix): Do not remove libraries here as theEzra Peisach1997-11-192-1/+6
| | | | | | Makefile that created the symlink now removes it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10297 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h: Clean up prototypes so they're sane and look a littleTom Yu1997-11-192-7/+21
| | | | | | | | nicer. The ivec parameter to pcbc_encrypt is now a C_Block FAR *, while the paremeters to quad_cksum have been re-ordered to match reality. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10296 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_safe.c (krb_rd_safe): Fix up call to quad_cksumTom Yu1997-11-196-5/+20
| | | | | | | | | | | | * mk_priv.c (krb_mk_priv): Fix up call to pcbc_encrypt. * mk_safe.c (krb_mk_safe): Fix up call to quad_cksum. * mk_req.c (krb_mk_req): Fix up call to pcbc_encrypt. * rd_req.c (krb_rd_req): Fix up call to pcbc_encrypt. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10295 dc483132-0cff-0310-8789-dd5450dbe970
* * quad_cksum.c (des_quad_cksum): Reorder parameters to match theTom Yu1997-11-193-3/+9
| | | | | | | | | prototype in include/kerberosIV/des.h. * pcbc_encrypt.c: Fix up parameters to use a des_cblock* as the ivec to match the prototype in include/kerberosIV/des.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10294 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use new library build rulesTom Yu1997-11-193-29/+17
| | | | | | * Makefile.in: Use new library build rules. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10293 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in: Clean up up .ct.c ruleTom Yu1997-11-192-5/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10292 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Update to new library build systemTom Yu1997-11-193-42/+22
| | | | | | * Makefile.in: Update to new library build system. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10291 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in (clean-libs): Remove lib$(LIB)$(SHLIBSEXT) as wellTom Yu1997-11-192-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10290 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Garbage collect some old library build systemTom Yu1997-11-183-16/+5
| | | | | | stuff. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10289 dc483132-0cff-0310-8789-dd5450dbe970
* * krshd.c: Don't set checksum_ignored to 1 if checksum_required isTom Yu1997-11-182-4/+7
| | | | | | | 0; also, if a krb5 client passes in a checksum, check it regardless of whether checksum_required is true. [krb5-appl/500] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10286 dc483132-0cff-0310-8789-dd5450dbe970
* * accept_sec_context.c (krb5_gss_accept_sec_context),Theodore Tso1997-11-167-12/+99
| | | | | | | | | | | | | | | | init_sec_context.c (krb5_gss_init_sec_context), inq_cred.c (krb5_gss_inquire_cred): Call krb5_gss_validate_cred to make sure the credential handle is still valid. * val_cred.c (krb5_gss_validate_cred): New file which validates the credential to make sure it is valid, including checking to make sure the credentials cache still points at the same krb5 principal as it did before. * accept_sec_context.c (krb5_gss_accept_sec_context): Return GSS_S_FAILURE if a non-NULL context handle is passed to it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10285 dc483132-0cff-0310-8789-dd5450dbe970
* (Wrong version of Changelog committed previously)Theodore Tso1997-11-161-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10284 dc483132-0cff-0310-8789-dd5450dbe970
* Return GSS_S_FAILURE if a non-NULL context handle is passed to itTheodore Tso1997-11-162-3/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10283 dc483132-0cff-0310-8789-dd5450dbe970
* do_tgs_req.c (process_tgs_req): Only try to return a TGT for aTheodore Tso1997-11-142-1/+7
| | | | | | | "closer" realm if the request was for a TGT in the first place. [krb5-kdc/459] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10280 dc483132-0cff-0310-8789-dd5450dbe970
* libupdate.sh: Add semicolons to prevent Bash 2.0 from complaining.Theodore Tso1997-11-142-2/+7
| | | | | | [krb5-build/486] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10279 dc483132-0cff-0310-8789-dd5450dbe970
* * forward.c (rd_and_store_for_creds): Don't do the chown. AvoidsTom Yu1997-11-133-20/+25
| | | | | | | | | a security hole. [krb5-appl/494] * krshd.c (recvauth): chown the ccache explicitly, as rd_and_store_for_creds no longer does so. [krb5-appl/494] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10277 dc483132-0cff-0310-8789-dd5450dbe970
* * do_as_req.c (process_as_req): Reset master key after closing andEzra Peisach1997-11-122-0/+8
| | | | | | | reopening DB when KDC_UPDATES_KDB compiled in. [krb5-kdc/495 by Tony Mione] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10276 dc483132-0cff-0310-8789-dd5450dbe970
* scc_maybe.c: Added kludge for the Macintosh, since fopen() doesn't setTheodore Tso1997-11-112-2/+47
| | | | | | errno, although open() does. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10272 dc483132-0cff-0310-8789-dd5450dbe970
* send_tgs.c (krb5_send_tgs): Don't send a zero endtime; if theTheodore Tso1997-11-112-1/+7
| | | | | | requested endtime is zero, set it equal to the TGT endtime. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10271 dc483132-0cff-0310-8789-dd5450dbe970
* kdc_util.c (kdc_process_tgs_req): If not using the reply cache,Theodore Tso1997-11-112-1/+9
| | | | | | properly handle a failure return from krb5_rd_req_decode_anyflag(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10270 dc483132-0cff-0310-8789-dd5450dbe970
* * gssftp.exp: Replace "else if" with "elseif" as expect 5.25Ezra Peisach1997-11-092-1/+6
| | | | | | requires it. [krb5-misc/487] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10269 dc483132-0cff-0310-8789-dd5450dbe970
* Use error_message(errno) instead of using sys_errlist[errno]. ThisTheodore Tso1997-11-072-55/+60
| | | | | | | | avoids the hair of deciding whether or not we need to declare sys_errlist or use strerror(), etc., since com_err has all of that complexity anyway. Also fixed lots of -Wall nits. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10268 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c (doit): Fix up potential buffer overrun.Tom Yu1997-11-054-4/+19
| | | | | | | | | | [krb5-appl/488] * krlogin.c (main): Fix up potential buffer overrun. * krcp.c (hosteq): Fix up potential buffer overrun. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10267 dc483132-0cff-0310-8789-dd5450dbe970