summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/os/osconfig.c
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of osconfig.cGreg Hudson2013-03-221-41/+0
| | | | | These variables were marked as internal in 1996. Two are unused and the other is easily replaced with the macro it is initialized from.
* Support changing the built-in ccache/keytab namesGreg Hudson2012-07-241-2/+0
| | | | | | | | | | | | | | * Add DEFCCNAME, DEFKTNAME, and DEFCKTNAME configure variables to change the built-in ccache and keytab names. * Add krb5-config options to display the built-in ccache and keytab names. * In the default build, use krb5-config to discover the system's built-in ccache and keytab names and use them (if not overridden). This can be controlled with the --with-krb5-config=PATH or --without-krb5-config configure options. * Make the built-in ccache name subject to parameter expansion. ticket: 7221 (new)
* Removed unused macrosZhanna Tsitkov2011-10-141-3/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25328 dc483132-0cff-0310-8789-dd5450dbe970
* Adjust most C source files to match the new standards for copyrightGreg Hudson2011-03-091-4/+4
| | | | | | and license comments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24695 dc483132-0cff-0310-8789-dd5450dbe970
* make mark-cstyleTom Yu2009-10-311-3/+3
| | | | | | make reindent git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23100 dc483132-0cff-0310-8789-dd5450dbe970
* make prompt string vars point to constKen Raeburn2009-05-221-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22362 dc483132-0cff-0310-8789-dd5450dbe970
* * changepw.c: Cast length argument to recvfrom/sendto to intEzra Peisach2000-10-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * os-proto.h: Moved extern definition of krb5_max_dgram_size, krb5_max_skdc_timeout, krb5_skdc_timeout_shift, krb5_skdc_timeout_1 here. * accessor.c: Definition for krb5_max_dgram_size, krb5_max_skdc_timeout, krb5_skdc_timeout_shift, krb5_skdc_timeout_1 moved to os-proto.h * osconfig.c: Changed definition for krb5_max_dgram_size, krb5_max_skdc_timeout, krb5_skdc_timeout_shift, krb5_skdc_timeout_1 to unsigned int. * get_krbhst.c, init_os_context.c, locate_kdc.c, prompter.c: Unsigned/signed int cleanup. * read_pwd.c (krb5_read_password): Change size_return to unsigned int *. * sendto_kdc.c: Remove definition for krb5_max_dgram_size, krb5_max_skdc_timeout, krb5_skdc_timeout_shift, krb5_skdc_timeout_1. (moved to os-proto.h). Cast arguments to int for send() and recv(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12783 dc483132-0cff-0310-8789-dd5450dbe970
* copyright notice updates from 1.1 branchKen Raeburn1999-09-241-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11853 dc483132-0cff-0310-8789-dd5450dbe970
* * osconfig.c: Add warning re: global variablesTom Yu1996-11-141-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9410 dc483132-0cff-0310-8789-dd5450dbe970
* revert kt_default_name changes; see ChangeLogs for detailsTom Yu1996-11-131-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9407 dc483132-0cff-0310-8789-dd5450dbe970
* * osconfig.c: Remove krb5_defkeyname to catch other things thatTom Yu1996-11-131-2/+0
| | | | | | may break. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9399 dc483132-0cff-0310-8789-dd5450dbe970
* Remove krb5_lname_file; it's not used any moreTheodore Tso1995-09-291-3/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6900 dc483132-0cff-0310-8789-dd5450dbe970
* def_realm.c (krb5_get_default_realm), get_krbhst.cTheodore Tso1995-06-071-47/+0
| | | | | | | | | | | | | | | (krb5_get_krbhst), hst_realm.c (krb5_get_host_realm), init_os_ctx.c (krb5_os_init_context), osconfig.c, realm_dom.c (krb5_get_realm_domain): Remove old ifdef'ed code which read in krb.conf and krb.realms. read_pwd.c (krb5_read_password): Remove old #ifdef notdef code. Significantly simplified and cleaned up function. Removed BSD 4.3 compatibility code. (If we ever need to make this work on a non-POSIX system, we'll supply POSIX termios emulation functions in src/lib/krb5/posix.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5964 dc483132-0cff-0310-8789-dd5450dbe970
* Global variables krb5_config_file and krb5_trans_file definitionsEzra Peisach1995-04-301-0/+2
| | | | | | conditionalized on OLD_CONFIG_FILES. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5663 dc483132-0cff-0310-8789-dd5450dbe970
* Added PC support for the new profile config fileKeith Vetter1995-04-271-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5554 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in, configure.in, t_std_conf.c: Add test program toTheodore Tso1995-04-221-9/+0
| | | | | | | | | | | | | | | | test the standard configuration krb5 routines. osconfig.c: Don't define krb5_kdc_udp_portname and krb5_kdc_sec_portname any more. There's no real point... hst_realm.c (krb5_get_krbhst): Strip off the trailing dot from the hostname if present. locate_kdc.c (krb5_locate_kdc): Use the profile code to get the list of Kerberos servers (plus port numbers) for a particular realm from [realms]/<realm>/kdc git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5442 dc483132-0cff-0310-8789-dd5450dbe970
* Added functionality for windows to read default file locations fromKeith Vetter1995-03-291-0/+39
| | | | | | windows ini files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5307 dc483132-0cff-0310-8789-dd5450dbe970
* Avoid <krb5/...> includesJohn Gilmore1995-02-281-4/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5014 dc483132-0cff-0310-8789-dd5450dbe970
* stamp out rcs keywordsMark Eichin1994-08-181-6/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4191 dc483132-0cff-0310-8789-dd5450dbe970
* Change export warning notice from "is assumed to require an export license"Theodore Tso1993-09-011-2/+2
| | | | | | to "may require..." git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2638 dc483132-0cff-0310-8789-dd5450dbe970
* Added support for secondary KDC portTheodore Tso1992-09-291-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2428 dc483132-0cff-0310-8789-dd5450dbe970
* Update copyright noticeJohn Kohl1991-06-061-2/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2156 dc483132-0cff-0310-8789-dd5450dbe970
* fix copyrightsJohn Kohl1991-03-051-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1857 dc483132-0cff-0310-8789-dd5450dbe970
* add krb5_defkeynameJohn Kohl1990-05-171-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@865 dc483132-0cff-0310-8789-dd5450dbe970
* add krb5_default_pwd_prompt1, krb5_default_pwd_prompt2John Kohl1990-04-301-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@633 dc483132-0cff-0310-8789-dd5450dbe970
* add krb5_lname_file, krb5_max_dgram_size, krb5_max_skdc_timeout,John Kohl1990-04-201-0/+8
| | | | | | krb5_skdc_timeout_shift, krb5_skdc_timeout_1 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@543 dc483132-0cff-0310-8789-dd5450dbe970
* add krb5_trans_fileJohn Kohl1990-04-191-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@532 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_kdc_udp_portname needs to be inside KRB5_USE_INETJohn Kohl1990-04-191-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@521 dc483132-0cff-0310-8789-dd5450dbe970
* add krb5_kdc_udp_portnameJohn Kohl1990-04-191-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@519 dc483132-0cff-0310-8789-dd5450dbe970
* add rcsidJohn Kohl1990-04-191-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@513 dc483132-0cff-0310-8789-dd5450dbe970
* use manifest constant for file nameJohn Kohl1990-04-191-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@510 dc483132-0cff-0310-8789-dd5450dbe970
* Initial revisionBill Sommerfeld1990-02-031-0/+13
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@243 dc483132-0cff-0310-8789-dd5450dbe970