summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * krb524d.c (lookup_service_key): Copy key block and free up keytab entry dataKen Raeburn2002-03-072-1/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14237 dc483132-0cff-0310-8789-dd5450dbe970
* restore krb5_const definition, with a warning it's deprecatedKen Raeburn2002-03-072-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14236 dc483132-0cff-0310-8789-dd5450dbe970
* more verbose reporting of unexpected errorsKen Raeburn2002-03-073-4/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14235 dc483132-0cff-0310-8789-dd5450dbe970
* changes from 1.2.4 branchKen Raeburn2002-03-073-8/+22
| | | | | | | | | | | * loginpaths.h [_PATH_DEFPATH]: Undefine LPATH and RPATH unconditionally before redefining them. * login.c (main): If the supplied name is longer than the utmp buffer, don't bother trying it as a username. (dolastlog): Don't assume lastlog.ll_time is a time_t. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14234 dc483132-0cff-0310-8789-dd5450dbe970
* shlib version number updates from 1.2.x branchKen Raeburn2002-03-078-5/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14233 dc483132-0cff-0310-8789-dd5450dbe970
* define "unix" on BSDKen Raeburn2002-03-074-9/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14232 dc483132-0cff-0310-8789-dd5450dbe970
* * foreachaddr.c (SLOP): New macro.Ken Raeburn2002-03-062-4/+27
| | | | | | | | | | (foreach_localaddr): Use it as the amount of extra space we look for past the ifreq structures actually filled in. Add SLOP to the size of the buffer allocated to hold the ifreq structures. Place an upper bound on the buffer size. Don't crash if the returned ifc_len is larger than the supplied buffer size. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14226 dc483132-0cff-0310-8789-dd5450dbe970
* make a log entry more readableKen Raeburn2002-03-061-4/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14225 dc483132-0cff-0310-8789-dd5450dbe970
* Commit patch to accept both encrypted and unencrypted credentials for ↵Sam Hartman2002-03-032-14/+48
| | | | | | Heimdal interop git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14215 dc483132-0cff-0310-8789-dd5450dbe970
* 2002-03-02 Sam Hartman <hartmans@mit.edu>Sam Hartman2002-03-032-25/+31
| | | | | | | | | | * server_acl.c (acl_find_entry): Patch from sxw@sxw.org.uk: patch to correct handling of ACL targets. Previous patch from Matt Crawford seems to only work for * targets where it ignores the restrictions. This patch seems to work for all the semantics described in MATt's original message, at least as far as I tested. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14214 dc483132-0cff-0310-8789-dd5450dbe970
* Set umask to 077 to avoid public srvtabsSam Hartman2002-03-032-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14213 dc483132-0cff-0310-8789-dd5450dbe970
* fieldbits.h: DeletedKen Raeburn2002-02-272-180/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14169 dc483132-0cff-0310-8789-dd5450dbe970
* Fix indentation I brokeSam Hartman2002-02-271-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14167 dc483132-0cff-0310-8789-dd5450dbe970
* Disable address checking in krb_rd_cred. No objections raised onSam Hartman2002-02-272-82/+16
| | | | | | krbdev; helps NAT and Heimdal interoperability. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14166 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin, k5-int.h: Use const instead of krb5_const.Ken Raeburn2002-02-233-178/+181
| | | | | | * krb5.hin (krb5_const): Deleted definition. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14163 dc483132-0cff-0310-8789-dd5450dbe970
* Use const instead of krb5_const.Ken Raeburn2002-02-2313-57/+32
| | | | | | Use stdarg always, never varargs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14162 dc483132-0cff-0310-8789-dd5450dbe970
* Use const instead of krb5_constKen Raeburn2002-02-238-37/+51
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14161 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (start_kerberos_daemons): In starting the kadminEzra Peisach2002-02-212-1/+18
| | | | | | | | | daemon, the last line in the log file might read "Seeding random number" for a second. If that is the case, wait three seconds and refetch the last line of the log file to look for the "starting kadmind message" git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14158 dc483132-0cff-0310-8789-dd5450dbe970
* * network.c: Include foreachaddr.c.Ken Raeburn2002-02-203-313/+8
| | | | | | | (printaddr, printifaddr, addr_eq, foreach_localaddr): Deleted. * Makefile.in ($(OUTPRE)network.$(OBJEXT)): Updated dependencies. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14157 dc483132-0cff-0310-8789-dd5450dbe970
* * localaddr.c: Include foreachaddr.c.Ken Raeburn2002-02-203-693/+11
| | | | | | | | (printaddr, printifaddr, addr_eq, grow_or_free, get_ifconf, get_lifconf, get_linux_ipv6_addrs, foreach_localaddr): Deleted. * Makefile.in (localaddr.o): Update dependencies. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14156 dc483132-0cff-0310-8789-dd5450dbe970
* * foreachaddr.c: New file, contents taken from code shared betweenKen Raeburn2002-02-202-0/+791
| | | | | | | | kdc/network.c and lib/krb5/os/localaddr.c. Split out multiple branches within foreach_localaddr into separate functions. Fixed a couple minor compiler warnings on Linux. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14155 dc483132-0cff-0310-8789-dd5450dbe970
* * run.test: Use "/bin/." instead of "/bin" in find commands in case /bin itselfKen Raeburn2002-02-203-12/+31
| | | | | | | | | | | is a symlink. (test8): Check exit status of dbtest program. * dbtest.c (compare): Exit with error indication if comparison of contents indicates a difference. (get): Exit with error indication after printing message if key not found. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14154 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LIBMINOR): BumpKen Raeburn2002-02-202-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14153 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LIBMINOR): BumpKen Raeburn2002-02-202-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14152 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (start_kerberos_daemons): When standalone, delete KDC replayKen Raeburn2002-02-192-0/+6
| | | | | | cache before starting it up. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14148 dc483132-0cff-0310-8789-dd5450dbe970
* * fake-addrinfo.c (_XOPEN_SOURCE_EXTENDED): Define if not defined, and if notKen Raeburn2002-02-192-2/+18
| | | | | | | | Mac or Windows, for duration of inclusion of netdb.h. This gets us the h_errno declaration on HP-UX. (getnameinfo): Cast gethostbyaddr pointer arg to char *, not sockaddr *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14147 dc483132-0cff-0310-8789-dd5450dbe970
* update copyrightKen Raeburn2002-02-191-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14146 dc483132-0cff-0310-8789-dd5450dbe970
* update hst_realm dependenciesKen Raeburn2002-02-141-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14145 dc483132-0cff-0310-8789-dd5450dbe970
* update copyright datesKen Raeburn2002-02-141-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14144 dc483132-0cff-0310-8789-dd5450dbe970
* Change krb5 kcmd to use getaddrinfo, and add some hooks for future ipv6Ken Raeburn2002-02-114-71/+173
| | | | | | | | | | | | | | | | | support. * defines.h: Include fake-addrinfo.h. (FAI_PREFIX): Define. (getport): Update. * kcmd.c: Include fake-addrinfo.c. (kcmd): Use getaddrinfo instead of gethostbyname, but only get AF_INET addresses for now. (k4cmd): Update argument list to getport. (getport): Accept new argument, pointer to address family to use. If zero, try inet6 and then inet. * krshd.c (doit): Update argument list to getport. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14140 dc483132-0cff-0310-8789-dd5450dbe970
* * fake-addrinfo.h: Always check for FAI_PREFIX, not just when fake getaddrinfoKen Raeburn2002-02-103-2/+63
| | | | | | | | | support is needed. (fixup_addrinfo): Declare. * fake-addrinfo.c (fixup_addrinfo): New function, fixes up breakage in AIX and GNU implementations (so far) of getaddrinfo. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14139 dc483132-0cff-0310-8789-dd5450dbe970
* get local ipv6 addresses on linuxKen Raeburn2002-02-102-1/+99
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14138 dc483132-0cff-0310-8789-dd5450dbe970
* prof_init.c, prof_tree.c: Fixed calls to ↵Alexandra Ellwood2002-01-233-3/+17
| | | | | | profile_update_file/profile_open_file to handle the possibility that we have lost permission to read one of the configuration files in the file list (say it's in AFS). We should only fail catastrophically if we can't read all of the files in the profile git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14116 dc483132-0cff-0310-8789-dd5450dbe970
* Reflect correct values for current codeSam Hartman2002-01-153-5/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14112 dc483132-0cff-0310-8789-dd5450dbe970
* Don't right shift by 32Sam Hartman2002-01-142-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14108 dc483132-0cff-0310-8789-dd5450dbe970
* * hst_realm.c (EAFNOSUPPORT): On Windows, translate to WSAEAFNOSUPPORTKen Raeburn2002-01-092-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14104 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (t_localaddr): Link against $(LIBS)Ken Raeburn2002-01-092-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14102 dc483132-0cff-0310-8789-dd5450dbe970
* log msg for getaddrinfo error codesKen Raeburn2002-01-091-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14101 dc483132-0cff-0310-8789-dd5450dbe970
* Split out code for getting canonical name of local host, change it to useKen Raeburn2002-01-094-34/+92
| | | | | | | getaddrinfo, and make both sites call the new function. Added new error codes to report getaddrinfo failures that don't translate to standard errno codes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14100 dc483132-0cff-0310-8789-dd5450dbe970
* update commentKen Raeburn2002-01-091-2/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14099 dc483132-0cff-0310-8789-dd5450dbe970
* * socket-utils.h (ss2sin6) [__GNUC__]: Define inline function only if IPv6 ↵Ken Raeburn2002-01-092-0/+7
| | | | | | support is turned on git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14098 dc483132-0cff-0310-8789-dd5450dbe970
* do database expansion from tcl driver codeKen Raeburn2002-01-093-1/+109
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14097 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf: Fix hpux to deal with building shared libs with gcc.Tom Yu2002-01-092-3/+17
| | | | | | Patch from Doug Engert; fixes krb5-build/1021. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14096 dc483132-0cff-0310-8789-dd5450dbe970
* * crc.pl: New file; perl script to do generate some test vectorsTom Yu2002-01-0911-405/+730
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and CRC tables. * CRC.pm: New file; perl module to implement CRCs in terms of polynomial arithmetic (verrrry slooow). * Poly.pm: New file; perl module to do polynomial arithmetic in the field of integers mod 2. * t_crc.c: New file; do some sanity checks (and timing checks, more useful when building shift-4 as well). * Makefile.in (check-unix): Add rules for building, running t_crc. * crc32.c (mit_crc32_shift4): Add new function, usually not compiled, for shift-4 implementation of CRC32. * crc-32.h: Add (conditionalized) prototype for the shift-4 function; remove checksum_entry (it's no longer used). * crctest.c: Removed. * crc-test: Removed. * crc.c: Removed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14095 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf: For Linux, always add "-lc" at the end of the link commandKen Raeburn2002-01-082-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14094 dc483132-0cff-0310-8789-dd5450dbe970
* * libobj.in (config.status): Depend on shlib.confKen Raeburn2002-01-082-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14093 dc483132-0cff-0310-8789-dd5450dbe970
* fix bug with inconsistent result codes when homedir isn't accessible but / isKen Raeburn2002-01-082-6/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14092 dc483132-0cff-0310-8789-dd5450dbe970
* KDC support for new PRNGSam Hartman2002-01-083-9/+34
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14090 dc483132-0cff-0310-8789-dd5450dbe970
* Get strong random bits at kadmind startupSam Hartman2002-01-082-1/+15
| | | | | | provide better error message for current round of keytab not found git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14089 dc483132-0cff-0310-8789-dd5450dbe970
* Assign entropy source identifierSam Hartman2002-01-082-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14088 dc483132-0cff-0310-8789-dd5450dbe970