summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * svr_principal.c (kadm5_randkey_principal_3): Fix typo inEzra Peisach1998-12-072-2/+7
| | | | | | | | | arguments to krb5_dbe_crk(). Prototypes are your friends. Essentially, the number of tuples was passed as tuples and visa-versa. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11090 dc483132-0cff-0310-8789-dd5450dbe970
* * krb54proto.h: Fix decomp_tkt_krb5 to use KRB4_32, instead of aTom Yu1998-12-072-2/+7
| | | | | | nonexistent type. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11089 dc483132-0cff-0310-8789-dd5450dbe970
* krb.h: Add prototypes for krb_set_key() and decomp_ticket()Theodore Tso1998-12-052-0/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11088 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-0556-1/+199
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11087 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-052-0/+7
| | | | | | | | to buildtop and thisconfigdir, respectively.) configure.in: Use K5_AC_OUTPUT isntead of K5_OUTPUT_FILES git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11086 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-053-2/+10
| | | | | | | | to buildtop and thisconfigdir, respectively.) configure.in: Use K5_AC_OUTPUT instead of K5_OUTPUT_FILES. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11085 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-056-0/+21
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11084 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-0524-0/+85
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11083 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-0528-0/+98
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11082 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-0514-0/+49
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11081 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in, ccdefops.c: Temporarily back out the ccapi ccache underTheodore Tso1998-12-053-9/+23
| | | | | | | | | Windows so we can make sure the rest of the krb5 tree builds correctly under Windows. (Note: I didn't revert lib/krb5/os/ccdefname.c, so setting KRB5_CC_NAME to FILE:C:\tmp\tkt is required to make things work.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11080 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Updated windows configuration rules to work with the newTheodore Tso1998-12-052-6/+28
| | | | | | | crypto library. (Including bundling the correct directories into kerbsrc-nt.zip) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11079 dc483132-0cff-0310-8789-dd5450dbe970
* Added missing krb4__krb5_context variable declarationTheodore Tso1998-12-051-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11078 dc483132-0cff-0310-8789-dd5450dbe970
* localaddr.c: Added missing KRB5_DLLIMP and KRB5_CALLCONF macros fromTheodore Tso1998-12-052-1/+6
| | | | | | the function definition. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11077 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_32.def: Fixed exports file to reflect new crypto library andTheodore Tso1998-12-052-1/+19
| | | | | | related changes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11076 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.hin: Add KRB5_DLLIMP and KRB5_CALLCONV to the prototypes ofTheodore Tso1998-12-052-4/+12
| | | | | | | | valid_enctype, valid_cksumtype, is_coll_proof_cksum, and is_keyed_cksum, which had previously been #defines, but since they are now functions, they needed to be exported by the DLL interface. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11075 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-054-4/+11
| | | | | | | | | to buildtop and thisconfigdir, respectively.) configure.in, kpropd.c: Removed useless test for KRB5_POSIX, and removed unneeded #include of sgtty.h if POSIX_TERMIOS is not defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11074 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-052-0/+7
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11073 dc483132-0cff-0310-8789-dd5450dbe970
* Use K5_AC_OUTPUT instead of K5_OUTPUT_FILESTheodore Tso1998-12-051-2/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11072 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Added missing "cd .." necessary for making this compileTheodore Tso1998-12-052-2/+11
| | | | | | under Windows. Also added missing *.lst files to OBJFILELIST. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11071 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed busted Makefile so that it compiles under WindowsTheodore Tso1998-12-052-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11070 dc483132-0cff-0310-8789-dd5450dbe970
* Added KRB5_DLLIMP and KRB5_CALLCONV so that these files buildTheodore Tso1998-12-0511-27/+46
| | | | | | under Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11069 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-053-156/+29
| | | | | | | | | | to buildtop and thisconfigdir, respectively.) fcc_maybe.c (fcc_lock_file): Removed all of the filesystem-dependent mess for file locking, which has been now properly moved to krb5_lock_file(), where it belongs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11068 dc483132-0cff-0310-8789-dd5450dbe970
* rd_svc_key.c (krb54_get_service_keyblock): New function which searchesTheodore Tso1998-12-0510-81/+165
| | | | | | | | | | | | | | | | | | | | | | the appropaite krb5 keytab file for the key to be used by the krb4 library. rd_req.c (krb_rd_req): If the appropriate key cannot be found in the krb4 srvtab file, try calling krb54_get_service_keyblock. decomp_tkt.c (dcmp_tkt_int): g_in_tkt.c (krb_mk_in_tkt_preauth): g_ad_tkt.c (get_ad_tkt): pkt_clen.c (pkt_clen): rd_err.c (krb_rd_err): rd_priv.c (krb_rd_priv): rd_req.c (krb_rd_req): rd_safe.c (krb_rd_safe): Use krb4_swab32 and krb4_swab16 instead of swap_u_long and swap_u_short. The new byte swapping routines are faster and cleaner. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11067 dc483132-0cff-0310-8789-dd5450dbe970
* Forgot to check this in earlierTheodore Tso1998-12-051-0/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11066 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.hin: Move krb4 function prototypes to krb54proto.hTheodore Tso1998-12-053-28/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11065 dc483132-0cff-0310-8789-dd5450dbe970
* * admin.h: Add prototypes for create_principal_3,Tom Yu1998-12-052-0/+24
| | | | | | chpass_principal_3, and randkey_principal_3. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11064 dc483132-0cff-0310-8789-dd5450dbe970
* * svr_principal.c (kadm5_create_principal): Modify to callTom Yu1998-12-052-8/+57
| | | | | | | | | | | | | | create_principal_3. (kadm5_create_principal_3): New function including flag to keep old keys and optional explicit keysalt_tuples. (kadm5_chpass_principal): Modify to call chpass_principal_3. (kadm5_chpass_principal_3): New function including flag to keep old keys and optional explicit keysalt_tuples. (kadm5_randkey_principal): Modify to call randkey_principal_3. (kadm5_randkey_principal_3): New function including flag to keep old keys and optional explicit keysalt_tuples. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11063 dc483132-0cff-0310-8789-dd5450dbe970
* prof_get.c: Add new public profile_iterator functions for iteratingTheodore Tso1998-12-045-5/+62
| | | | | | over values found in the profile file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11062 dc483132-0cff-0310-8789-dd5450dbe970
* realm_iter.c: New function which iterators over the realms in theTheodore Tso1998-12-044-0/+125
| | | | | | krb5.conf file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11061 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.hin: Add function prototypes for the new realm iteratorTheodore Tso1998-12-042-0/+49
| | | | | | | functions. Also add some krb4 function prototypes to make catching prototype errors easier. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11060 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_decode_test.c (main): Add variant test cases onTom Yu1998-12-042-1/+18
| | | | | | | | enc_tkt_part to test bit string values that aren't exactly 32 bits, including 38, 40, 29, and 24 bits to test boundary conditions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11059 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_k_decode.c (asn1_decode_krb5_flags): Fix previous toTom Yu1998-12-042-1/+8
| | | | | | properly left-justify bit strings less than 32 bits. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11057 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_k_decode.c (asn1_decode_krb5_flags): Modify to deal withTom Yu1998-12-042-7/+22
| | | | | | | | BIT STRING values that are not exactly 32 bits. Throw away bits beyond number 31 in a bit string for now. Deal with masking out unused bits. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11055 dc483132-0cff-0310-8789-dd5450dbe970
* Use $() instead of ${}, which doesn't work for MakefilesTheodore Tso1998-12-021-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11053 dc483132-0cff-0310-8789-dd5450dbe970
* com_err.h, error_table.h: Use "#if defined(MSDOS) || ..." instead ofTheodore Tso1998-12-014-12/+7
| | | | | | "#if !defined(unix)", since not all Unix compilers define "unix". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11051 dc483132-0cff-0310-8789-dd5450dbe970
* error_message.c: Use "#if defined(MSDOS) || ..." instead of "#ifTheodore Tso1998-12-012-1/+7
| | | | | | !defined(unix)", since not all Unix compilers define "unix". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11050 dc483132-0cff-0310-8789-dd5450dbe970
* Update the Changelog with a better documentation of the whole SUBDIRS,Theodore Tso1998-12-011-1/+22
| | | | | | LOCAL_SUBDIRS, and MY_SUBDIRS mess. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11049 dc483132-0cff-0310-8789-dd5450dbe970
* Checked in wrong version of post.in previously. Make sure we checkTheodore Tso1998-12-011-1/+1
| | | | | | | Since if MY_SUBDIRS is defined, it overrides SUBDIRS, we should check do_subdirs after it has been properly assigned. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11048 dc483132-0cff-0310-8789-dd5450dbe970
* More Windows compatibility fixesScott McGuire1998-11-253-28/+76
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11047 dc483132-0cff-0310-8789-dd5450dbe970
* * svr_principal.c (kadm5_create_principal):Tom Yu1998-11-172-3/+12
| | | | | | | | (kadm5_chpass_principal): (kadm5_randkey_principal): Fix up for new calling conventions of dbe_crk and dbe_cpw. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11046 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_cpw.c (krb5_dbe_crk):Tom Yu1998-11-172-8/+38
| | | | | | | (krb5_dbe_cpw): Add "keepold" boolean argument to indicate whether to retain old keys. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11045 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb.h: Update dbe_crk and dbe_cpw to take a boolean to indicateTom Yu1998-11-172-0/+5
| | | | | | whether old keys should be retained. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11044 dc483132-0cff-0310-8789-dd5450dbe970
* prof_get.c (profile_get_values): If there are no relations found,Theodore Tso1998-11-172-0/+10
| | | | | | return PROF_NO_RELATION, instead of an empty list. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11043 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (autoconf.stamp): Fix up to deal with config.statusTom Yu1998-11-172-2/+7
| | | | | | not being in the current directory anymore. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11042 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Add check for <sys/utsname.h>Theodore Tso1998-11-163-1/+35
| | | | | | | utility.c (putf): Add support for %s, %m, %r, %v using information from the uname() system call. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11041 dc483132-0cff-0310-8789-dd5450dbe970
* aclocal.m4: Add support for FreeBSD systems using ELF (and not justTheodore Tso1998-11-162-21/+21
| | | | | | | | a.out systems). Also remove the definition for the KRB5_POSIX_LOCKS test, since it is no longer needed. (See ChangeLog for lib/krb5/os/lock_file.c for more details.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11040 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c (login_get_kconf): Also test whether *kconf_val is nullGeoffrey King1998-11-162-1/+8
| | | | | | | | rather than just kconf_val before passing *kconf_val to conf_affirmative (where strcasecmp will choke on it if it is in fact null). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11039 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-1413-242/+480
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to buildtop and thisconfigdir, respectively.) configure.in: Build the test script prtest for doing regression test suites of the profile library. prof_err.et (PROF_MAGIC_ITERATOR): Add a new error code for the magic number for the iterator structure. prof_file.c (profile_update_file): Increment the update serial number when the profile file is re-read. prof_tree.c (profile_make_node_final, profile_is_node_final): Add a new attribute for a node, which is whether or not the node is "final". This controls whether or not the next profile file should be searched when looking up a key which matches the section named by the node. (profile_node_iterator_create, profile_node_iterator_free, profile_node_iterator): New functions which take a profile_t and returns all of the names or values for a particular search key. This iterator follows the rules of doing multiple profile file lookups using the "final node" marker to stop searching subsequent profile files. prof_parse.c (parse_std_line): Add support for marking top level sections, subsections, and individual nodes as final, using the '*' character. (dump_profile_to_file): Print finalized sections with the '*' character. prof_get.c: Update routines to use the iterators provided by prof_tree.c. prof_int.c: Add upd_serial member to the prf_file_t structure. Define the symbolic flags used by the profile node iterator. Add function declarations for profile_make_node_final, profile_is_node_final, profile_node_iterator_create, profile_node_iterator_free, profile_node_iterator, and profile_get_value. test_profile.c: Add the query1 command which tests profile_get_value. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11038 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-143-2/+113
| | | | | | | | | | | to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS definition to control the directories which are recursively descended by the Makefile. configure.in: Folded tests from krb5 and kerberosIV directories into this configure.in file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11037 dc483132-0cff-0310-8789-dd5450dbe970