summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * hash/hash_bigkey.c (collect_key, collect_data): Cast mallocEzra Peisach1998-01-154-6/+36
| | | | | | | | | | | | | | | return value to correct types. (raeburn@cygnus.com) * obj/Makefile.in (check): Set srcdir in environment. (raeburn@cygnus.com) * configure.in (AC_COMPILE_TYPE): replacment for AC_CHECK_TYPE that uses AC_TRY_COMPILE instead of AC_EGREP_CPP. For now, only use it for the int32 types (where AC_CHECK_TYPE gets the wrong result on __CYGWIN32__) and plan that AC_CHECK_TYPE itself gets repaired. (Fix by eichin@cygnus.com) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10351 dc483132-0cff-0310-8789-dd5450dbe970
* Changed all PBGetCatInfo to PBGetCatInfoSync for new UH'sMarshall Vale1998-01-132-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10350 dc483132-0cff-0310-8789-dd5450dbe970
* * in_tkt.c: Conditionalize use of macro do_seteuid, rather thanTom Yu1998-01-062-9/+21
| | | | | | redefining setreuid. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10349 dc483132-0cff-0310-8789-dd5450dbe970
* * seteuid.c (krb5_seteuid): Don't check for _POSIX_SAVED_IDS, asTom Yu1998-01-062-9/+12
| | | | | | | 4.4BSD derivatives don't define it but do have a reasonable seteuid anyway. [krb5-libs/503] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10348 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (krb5_locate_kdc): Check return ofTom Yu1998-01-033-0/+16
| | | | | | | | | malloc. [krb5-libs/518] * changepw.c (krb5_change_password): Check return of malloc. [krb5-libs/518] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10347 dc483132-0cff-0310-8789-dd5450dbe970
* * preauth.c (handle_sam_labels):Tom Yu1998-01-033-0/+24
| | | | | | | | | (obtain_sam_padata): Check return of malloc. [krb5-libs/518] * chpw.c (krb5_mk_chpw_req): Check return of malloc. (krb5_rd_chpw_rep): Check return of malloc. [krb5-libs/518] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10346 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1buf.c (asn12krb5_buf): Check return value ofTom Yu1998-01-032-0/+9
| | | | | | malloc. [krb5-libs/518] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10345 dc483132-0cff-0310-8789-dd5450dbe970
* * init_rkey.c (mit_des_init_random_key): Punt the struct; useTom Yu1997-12-292-7/+20
| | | | | | | | explicit variables instead because we're no longer doing a memcpy. In addition, fill p_state->sequence.data a byte at a time. [krb5-libs/492] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10344 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (OBJS): Changed val_cred.$(OBJECT) toEzra Peisach1997-12-292-1/+6
| | | | | | val_cred.$(OBJEXT) for windows building. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10343 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/dbm.c: Rename the errno member of HTABTom Yu1997-12-214-9/+19
| | | | | | | | | | * hash/hash.h: Rename the errno member of HTAB to local_errno to avoid a collision with a glibc macro. * hash/hash.c: Rename the errno member of HTAB to local_errno to avoid a collision with a glibc macro. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10342 dc483132-0cff-0310-8789-dd5450dbe970
* * logwtmp.c (ftp_logwtmp): Rename logwtmp to ftp_logwtmp to avoidTom Yu1997-12-213-4/+13
| | | | | | | | | | collision with native logwtmp. Also, return void rather than int. * ftpd.c: Rename logwtmp to ftp_logwtmp to avoid collision with native logwtmp. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10341 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c (try_afscall): try_afscall doesn't work / isn't neededDan Winship1997-12-192-3/+13
| | | | | | on systems without SIGSYS git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10340 dc483132-0cff-0310-8789-dd5450dbe970
* * svc_auth_gssapi.c (_svcauth_gssapi): When looping over services,Ezra Peisach1997-12-162-0/+14
| | | | | | free previous output_tokens. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10339 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (krb5_locate_kdc): Free hostlist array elementsEzra Peisach1997-12-162-0/+9
| | | | | | when finished with them. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10338 dc483132-0cff-0310-8789-dd5450dbe970
* * sclient.c (main): Free client principal and krb5_ap_rep_enc_partEzra Peisach1997-12-162-0/+12
| | | | | | | returned from krb5_sendauth when done using. Close the credential cache, and free the context. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10337 dc483132-0cff-0310-8789-dd5450dbe970
* * mk_req_ext.c (krb5_mk_req_extended): Check enctype of sessionTom Yu1997-12-162-1/+6
| | | | | | key, not that of the ticket, which we really shouldn't care about. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10336 dc483132-0cff-0310-8789-dd5450dbe970
* * cnv_tkt_skey.c:Tom Yu1997-12-129-10/+13
| | | | | | | | | | | | | | * conv_creds.c: * conv_princ.c: * encode.c: * k524init.c: * krb524d.c: * misc.c: * test.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@10335 dc483132-0cff-0310-8789-dd5450dbe970
* * 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