summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* prof_parse.c (parse_std_line, parse_quoted_string, need_double_quotes,Theodore Tso1998-01-243-8/+122
| | | | | | | | | | output_quoted_string, dump_profile, dump_profile_to_file): Vastly improved the profile parsing; whitespace at the end of lines are now ignored. Added quoted string parsing, complete with backquote processing. Strings which need to be quoted are properly quoted on output. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10373 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LIBMINOR): Bump minor version due to internalTom Yu1998-01-222-1/+6
| | | | | | structure change. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10372 dc483132-0cff-0310-8789-dd5450dbe970
* * gssapiP_krb5.h: Add rcache member to the credsTom Yu1998-01-226-2/+46
| | | | | | | | | | | | | | | | | | | structure. [krb5-libs/370] * accept_sec_context.c (krb5_gss_accept_sec_context): Actually set an rcache in auth context from the one saved in the creds structure. [krb5-libs/370] * acquire_cred.c (acquire_accept_cred): Set up an rcache for use later. [krb5-libs/370] * delete_sec_context.c (krb5_gss_delete_sec_context): Don't delete the rcache when freeing the auth_context. [krb5-libs/370] * rel_cred.c (krb5_gss_release_cred): Properly close the rcache. [krb5-libs/370] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10371 dc483132-0cff-0310-8789-dd5450dbe970
* main returns int, not void. ANSI X3.159-1989Ezra Peisach1998-01-213-2/+7
| | | | | | 2.1.2.2.1 says so, and gcc now warns about it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10370 dc483132-0cff-0310-8789-dd5450dbe970
* main returns int, not void. ANSI X3.159-1989 2.1.2.2.1 says so, andEzra Peisach1998-01-212-1/+6
| | | | | | gcc now warns about it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10369 dc483132-0cff-0310-8789-dd5450dbe970
* main returns int, not void. ANSI X3.159-1989Ezra Peisach1998-01-216-3/+18
| | | | | | 2.1.2.2.1 says so, and gcc now warns about it. (eichin@cygnus.com) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10368 dc483132-0cff-0310-8789-dd5450dbe970
* * bindresvport.c: Include string.h for memset prototypeEzra Peisach1998-01-212-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10367 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc.conf.proto: Add kpasswd_port line so kadmind can start asEzra Peisach1998-01-212-0/+6
| | | | | | non-root for testing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10366 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Added kpasswd_port variable to kdc.conf creation.Ezra Peisach1998-01-212-0/+6
| | | | | | (proven@cygnus.com) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10365 dc483132-0cff-0310-8789-dd5450dbe970
* * btree/bt_open.c: Added O_BINARY for __CYGWIN32__.Ezra Peisach1998-01-2121-31/+67
| | | | | | | | | | | | | | | | | | | | | | | | | * clib/mkstemp.c: Added O_BINARY for __CYGWIN32__. * db/db.c: Added O_BINARY for __CYGWIN32__. * hash/dbm.c: Added O_BINARY for __CYGWIN32__. * hash/hash.c: Added O_BINARY for __CYGWIN32__. * hash/hsearch.c: Added O_BINARY for __CYGWIN32__. * include/db-int.h: Added O_BINARY for __CYGWIN32__. * recno/rec_open.c: Added O_BINARY for __CYGWIN32__. * test/dbtest.c: Added O_BINARY for __CYGWIN32__. * test/SEQ_TEST/t.c: Added O_BINARY for __CYGWIN32__. * test/btree.tests/main.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/driver2.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tcreat3.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tdel.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/thash4.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tread2.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tseq.c: Added O_BINARY for __CYGWIN32__. * test/hash1.tests/tverify.c: Added O_BINARY for __CYGWIN32__. * test/hash2.tests/bigtest.c: Added O_BINARY for __CYGWIN32__. * test/hash2.tests/passtest.c: Added O_BINARY for __CYGWIN32__. Changes originally by Jeremy Allison (jra@cygnus.com) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10364 dc483132-0cff-0310-8789-dd5450dbe970
* * schpw.c: New file. Support for Cygnus chpw.Tom Yu1998-01-211-0/+372
| | | | | | [oops forgot this earlier] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10359 dc483132-0cff-0310-8789-dd5450dbe970
* * schpw.c: New file. Support for Cygnus chpwTom Yu1998-01-213-3/+173
| | | | | | | | * ovsec_kadmd.c: Add support for Cygnus chpw. * Makefile.in (OBJS): Add schpw.o. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10358 dc483132-0cff-0310-8789-dd5450dbe970
* * alt_prof.c (kadm5_get_config_params): Add support for Cygnus chpwTom Yu1998-01-213-1/+26
| | | | | | * admin.h: Add support for Cygnus chpw. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10357 dc483132-0cff-0310-8789-dd5450dbe970
* * osconf.h: Add DEFAULT_KPASSWD_PORT to support Cygnus chpwTom Yu1998-01-212-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10356 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c (protocol): Declare pibuf and fibuf as being BUFSIZTom Yu1998-01-212-1/+6
| | | | | | bytes long, rather than 1024. Fixes an Irix bug. [krb5-appl/527] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10354 dc483132-0cff-0310-8789-dd5450dbe970
* * do_tgs_req.c: Add some explicit settings of errcode so that theTom Yu1998-01-162-0/+9
| | | | | | | cleanup code doesn't try to construct a bogus error reply, which was causing coredumps in the lookaside code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10352 dc483132-0cff-0310-8789-dd5450dbe970
* * 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