summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* network.c (setup_network):Theodore Tso1995-10-069-375/+145
| | | | | | | | | | | | | | | | | | | | | main.c (initialize_realms): Massive revamp of how the network ports are setup. The default port list for a realm is read from [kdcdefaults]/kdc_ports from the kdc.conf file. For each realm, a list of ports can be specified in [realms]/<realm>/kdc_ports. extern.h (kdc_realm_t): Remove realm_pport and realm_sport, and added realm_ports. do_tgs_req.c (process_tgs_req): do_as_req.c (process_as_req): dispatch.c (dispatch): Pass the portnumber of the incoming request down to process_as_req and process_tgs_req, instead of the boolean "is_secondary". kerberos_v4.c (kerb_get_principal, kerberos_v4): Fix gcc -Wall flames, by fixing signed vs. unsigned types. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6937 dc483132-0cff-0310-8789-dd5450dbe970
* Remove the profile relation, since it's really a bad idea. RemovedTheodore Tso1995-10-062-33/+13
| | | | | | | the "port" and "secondary_port" relations, and replaced them with the "kdc_port" relation, which takes a list of ports. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6936 dc483132-0cff-0310-8789-dd5450dbe970
* Remove pport and sport from the krb5_realm_params file, and replace itTheodore Tso1995-10-062-4/+7
| | | | | | | with ports, which is a char * list of all of the ports which should be listed to for this realm. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6935 dc483132-0cff-0310-8789-dd5450dbe970
* Change types of krb5_max_enctype and krb5_max_cksumtype to beTheodore Tso1995-10-062-4/+10
| | | | | | krb5_enctype and krb5_cksumtype, to fix some gcc -Wall flames. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6934 dc483132-0cff-0310-8789-dd5450dbe970
* Added DEFAULT_KDC_PORTLISTTheodore Tso1995-10-062-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6933 dc483132-0cff-0310-8789-dd5450dbe970
* Change the name of the kdc configuration file to be kdc.conf, to matchTheodore Tso1995-10-062-1/+6
| | | | | | the man page. :-) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6932 dc483132-0cff-0310-8789-dd5450dbe970
* Fix logic if #ifdefs for HAVE_STRERROR and HAVE_SYS_ERRLIST.Theodore Tso1995-10-052-4/+13
| | | | | | strerror() is used in preference to sys_errlist(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6931 dc483132-0cff-0310-8789-dd5450dbe970
* If the log file can't be opened, print an intelligent error messageTheodore Tso1995-10-052-10/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6930 dc483132-0cff-0310-8789-dd5450dbe970
* * alt_prof.c (krb5_read_realm_params): If secure flag is set inEzra Peisach1995-10-052-0/+9
| | | | | | | | | | | | context, do not allow for environment variables to specify configuration files. Note: It is still possible to bypass the secure flag by directly calling krb5_aprof_init which only krb5kdc does. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6929 dc483132-0cff-0310-8789-dd5450dbe970
* * init_os_ctx.c (krb5_secure_config_files): New function thatEzra Peisach1995-10-052-19/+60
| | | | | | | | | | | will set flag and path to prevent user from overriding configuration files with environment variables. This is intended for those pesky suid root programs so that they cannot break security as easily... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6928 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h: Add profile_secure to contextEzra Peisach1995-10-053-0/+10
| | | | | | * krb5.hin: Add krb5_secure_config_profile prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6927 dc483132-0cff-0310-8789-dd5450dbe970
* Move declaration of std_ks_tuple from kdb5_edit.h to cpw.c (extern part)Ezra Peisach1995-10-053-3/+9
| | | | | | as not all sources include adm.h for the necessary structures. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6926 dc483132-0cff-0310-8789-dd5450dbe970
* Use the kdc.conf file to determine the default list of keysalt tuplesTheodore Tso1995-10-044-18/+29
| | | | | | | to be used. This is stored in std_ks_tuple, and is used by cpw.c for random keys and when a list of keysalts is not specified. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6925 dc483132-0cff-0310-8789-dd5450dbe970
* Put back in the KRB5_CONFIG getenv that was accidentally removedEzra Peisach1995-10-022-0/+6
| | | | | | in the DEFAULT_PROFILE_PATH change. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6924 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_init.c (profile_init_path): Add const declarationsEzra Peisach1995-10-022-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6923 dc483132-0cff-0310-8789-dd5450dbe970
* fix typoMark Eichin1995-10-021-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6922 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: set timeout to 100 since the default of 10 isMark Eichin1995-10-022-0/+7
| | | | | | ludicrous with NFS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6921 dc483132-0cff-0310-8789-dd5450dbe970
* * adm_conn.c (kadm_get_creds): zero out creds->server afterMark Eichin1995-10-022-1/+8
| | | | | | freeing it to protect later attempts. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6920 dc483132-0cff-0310-8789-dd5450dbe970
* * kinit.c (KRB5_DEFAULT_LIFE): default life should be 10 hours,Mark Eichin1995-10-022-1/+5
| | | | | | not eight, for practical/social reasons. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6919 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin5.c (kadmin_startup): initialize action before strcat'ingMark Eichin1995-10-022-0/+6
| | | | | | on to it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6918 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_encode.c (krb5_cleanup): If asn1buf_destroy fails, don'tMark Eichin1995-10-022-1/+5
| | | | | | call it again. (Not that it can ever fail anyhow.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6917 dc483132-0cff-0310-8789-dd5450dbe970
* * osconf.h (DEFAULT_PROFILE_PATH): look in $(prefix)/lib/krb5.confMark Eichin1995-10-022-1/+6
| | | | | | if /etc/krb5.conf isn't found. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6916 dc483132-0cff-0310-8789-dd5450dbe970
* * init_os_ctx.c (krb5_os_init_context): use profile_init_path forMark Eichin1995-10-022-4/+11
| | | | | | unix, and DEFAULT_PROFILE_PATH. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6915 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_init.c (profile_init_path): takes a single string entryMark Eichin1995-10-023-0/+77
| | | | | | | | | | | that has pathnames seperated by colons, and splits it into file names for profile_init. No provision for quoting colons in pathnames, but shells don't solve that either. * prof_init.c (profile_init): handle multiple input files by grabbing the first one that doesn't return ENOENT. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6914 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to work under OSF/1 - changes of longs to KRB4_32.Ezra Peisach1995-10-022-25/+10
| | | | | | | | | Remove unused structure declaration. I doubt anyone is using this code anymore, but I forgot to check it in months ago. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6913 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (check-unix): Changed building of library from check to check-unixEzra Peisach1995-10-022-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6912 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (V5_MAKE_SHARED_LIB): Change rule to installEzra Peisach1995-10-023-19/+17
| | | | | | | | | version 0.1 of the library. Pass the libcrypto and libcom_err version number to Makefile * Makefile.in (CRYPTO_VER): Get the proper libcrypto version number git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6911 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (V5_MAKE_SHARED_LIB): Change rule to installEzra Peisach1995-10-023-17/+13
| | | | | | | | | version 0.1 of the library. Pass the libcrypto version number to Makefile * Makefile.in (CRYPTO_VER): Get the proper libcrypto version number git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6910 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in (V5_MAKE_SHARED_LIB): Change rule to installEzra Peisach1995-10-023-17/+13
| | | | | | | | | version 0.1 of the library. Pass the libcrypto version number to Makefile Makefile.in (CRYPTO_VER): Get the proper libcrypto version number git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6909 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (V5_MAKE_SHARED_LIB): Change for version 0.1 ofEzra Peisach1995-10-022-17/+6
| | | | | | shared library. Remove install lines which are in aclocal.m4 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6908 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (V5_MAKE_SHARED_LIB): Add version number 0.1 for libraryEzra Peisach1995-10-023-16/+9
| | | | | | | | creation. * Makefile.in (clean-unix): Remove DONE git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6907 dc483132-0cff-0310-8789-dd5450dbe970
* * makeshlib.sh: For solaris, if you are not using gcc, add the -hEzra Peisach1995-10-022-2/+13
| | | | | | | argument to specify the name of the shared library to load. (i.e. libfoo.so.0.1). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6906 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (DO_SUBDIRS): Add make Makefiles for broken versionsEzra Peisach1995-10-023-14/+80
| | | | | | | | | | | | of make. (V5_MAKE_SHARED_LIB): Changes to support version numbering and library installation. * configure.in: change shlib extentsion for netbsd and dirhead rules to allow for shared library path to be included in executable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6905 dc483132-0cff-0310-8789-dd5450dbe970
* #ifdef the entire file so it's not built under WindowsTheodore Tso1995-09-292-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6903 dc483132-0cff-0310-8789-dd5450dbe970
* If krb5/autoconf.h doesn't exist, cd to krb5 and make itTheodore Tso1995-09-292-11/+24
| | | | | | | | | | Don't make krb5-pro.h; this confuses things under Windows, since Windows attempts to build krb5-pro.h and then rebuildes krb5.h, when it shouldn't do that. Fold in the krb5-pro.h rules as part of the rules for krb5.h. This way, they don't get executed under DOS, since krb5.h already exists under DOS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6902 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use krb5_lname_file; instead, use DEFAULT_LNAME_FILENAMETheodore Tso1995-09-292-2/+5
| | | | | | directly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6901 dc483132-0cff-0310-8789-dd5450dbe970
* Remove krb5_lname_file; it's not used any moreTheodore Tso1995-09-292-3/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6900 dc483132-0cff-0310-8789-dd5450dbe970
* Remove autoconf.h on make cleanTheodore Tso1995-09-292-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6899 dc483132-0cff-0310-8789-dd5450dbe970
* Remove trval on a make cleanTheodore Tso1995-09-292-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6898 dc483132-0cff-0310-8789-dd5450dbe970
* Remove the dejagnu temporary filesTheodore Tso1995-09-292-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6897 dc483132-0cff-0310-8789-dd5450dbe970
* Use the SubdirLibraryRule defined in aclocal.m4 to create the DONETheodore Tso1995-09-293-4/+7
| | | | | | file (and to properly clean it up). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6896 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up make clean procedures. The files to be removed are definedTheodore Tso1995-09-292-9/+12
| | | | | | in CLEANLIBS, for both the Unix and Mac platforms. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6895 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (clean-unix): Remove krb5-pro.hEzra Peisach1995-09-292-1/+10
| | | | | | | | (krb5-pro.h): Add HAVE_SYS_TYPES_H file so that sys/types.h may be included definition of size_t for krb5.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6894 dc483132-0cff-0310-8789-dd5450dbe970
* For MS-DOS, use the brute force method of defining the size ofTheodore Tso1995-09-292-9/+17
| | | | | | variables; we should really get an autoconf file for MS-DOS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6893 dc483132-0cff-0310-8789-dd5450dbe970
* gss-client.c (main): Set display_file to be stdoutTheodore Tso1995-09-294-24/+37
| | | | | | | | | | | gss-server.c (main): Set display_file to 0 if using inetd; otherwise, set it to be stdout. gss-misc.c (send_token, recv_token, display_status): If display_file is null, don't set it to stderr; just don't print the log message instead. Needed for inetd operation. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6892 dc483132-0cff-0310-8789-dd5450dbe970
* #include "osconf.h" all the time, at the beginning of the fileTheodore Tso1995-09-292-3/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6891 dc483132-0cff-0310-8789-dd5450dbe970
* Don't include autoconf.h under Windows, since it doesn't existTheodore Tso1995-09-292-3/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6890 dc483132-0cff-0310-8789-dd5450dbe970
* Copy stock/osconf.h to osconf.h in include/krb5, and clean it up whenTheodore Tso1995-09-292-31/+49
| | | | | | | | | | | | we're done building the distribution. Add config/windows.in to the beginning of the Makefile.in when we're building the Makefile. New scheme for building DOS and Macintosh distribution files; much more forgiving of random cruft in the source tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6889 dc483132-0cff-0310-8789-dd5450dbe970
* #include autoconf.h instead of osconf.h, because that's the file weTheodore Tso1995-09-292-1/+6
| | | | | | really care about. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6888 dc483132-0cff-0310-8789-dd5450dbe970
* More Mac project file cleanupKeith Vetter1995-09-293-1424/+1377
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6886 dc483132-0cff-0310-8789-dd5450dbe970