summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Now compiles on the Mac against CC API v2Miro Jurisic1999-02-201-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11191 dc483132-0cff-0310-8789-dd5450dbe970
* Removed testtrack codeMiro Jurisic1999-02-201-5/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11190 dc483132-0cff-0310-8789-dd5450dbe970
* test_parse.c (main): Add a call to profile_verify_node so we can testTheodore Tso1999-02-193-4/+24
| | | | | | | | | | the internal rep invariants. prof_tree.c (profile_verify_node): Fix bug in profile_verify_node in the group_level test. Also make profile_verify_node check the return code when it is recursively testing the child nodes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11189 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add check for setluid()Tom Yu1999-02-192-0/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11187 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (ksu): Add $(KSU_LIBS) in case we need -lsecurityTom Yu1999-02-193-1/+21
| | | | | | * main.c (main): Add call to setluid() on systems that have it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11186 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add check for setluidTom Yu1999-02-182-0/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11183 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (login): Add call to setluid() if necessaryTom Yu1999-02-182-0/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11182 dc483132-0cff-0310-8789-dd5450dbe970
* Added debugging hooks to stdcc.cTheodore Tso1999-02-182-77/+222
| | | | | | | | | | | | Added broadcast event notification of the krb5 cache changing, for backwards compatibility with krb5.exe. Added support for the V2 Ccache API. In stdcc_util.c, replace the old matching algorithm with one that's closer to the original stdcc and file algorithm, and so is provably correct. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11181 dc483132-0cff-0310-8789-dd5450dbe970
* Commit the Windows version of the ccache dll and its interface headerTheodore Tso1999-02-182-0/+437
| | | | | | file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11180 dc483132-0cff-0310-8789-dd5450dbe970
* * sane_hostname.c (pty_make_sane_hostname): Remove unusedTom Yu1999-02-182-1/+5
| | | | | | "char *scratch". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11178 dc483132-0cff-0310-8789-dd5450dbe970
* * klogind.M: Document things a little better, including newTom Yu1999-02-174-32/+90
| | | | | | | | | | | | | options controlling hostname manipulation. * krlogind.c: Make use of pty_make_sane_hostname() for purposes of manipulating hostname to pass to login. Also unconditionally syslog IP address and full hostname of remote host. Add command line options to control such behavior. * configure.in: Add arpa/nameser.h to CHECK_HEADERS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11176 dc483132-0cff-0310-8789-dd5450dbe970
* * do_as_req.c (process_as_req): Fix to assign kvno toTom Yu1999-02-172-1/+7
| | | | | | | reply.enc_part after encryption, since krb5_c_encrypt() now explicitly initializes all fields of a krb5_enc_data. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11175 dc483132-0cff-0310-8789-dd5450dbe970
* * sane_hostname.c: Re-order so that pty-int.h precedes libpty.h toTom Yu1999-02-172-2/+7
| | | | | | prevent conflicting definitions of struct sockaddr_in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11174 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c: strcat -> strncatTom Yu1999-02-132-5/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11172 dc483132-0cff-0310-8789-dd5450dbe970
* * sane_hostname.c: Force maxlen to be 16 if it's less than 16,Tom Yu1999-02-122-1/+5
| | | | | | since otherwise a numeric IP address won't fit. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11169 dc483132-0cff-0310-8789-dd5450dbe970
* bump minor versionTom Yu1999-02-122-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11168 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Add sane_hostname.{o,c}Tom Yu1999-02-124-2/+112
| | | | | | | | | * libpty.h: Add prototype for make_sane_hostname. * sane_hostname.c: New file; add function to "sanitize" hostname for logging purposes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11165 dc483132-0cff-0310-8789-dd5450dbe970
* Updated to include the domain_realm lines needed for ECATTheodore Tso1999-02-111-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11164 dc483132-0cff-0310-8789-dd5450dbe970
* enc_des.c (fb64_session): Call des_init_random_number_generatorTheodore Tso1999-02-092-1/+7
| | | | | | | instead of des_set_random_generator_seed, since the compatibility library no longer supports the latter call. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11163 dc483132-0cff-0310-8789-dd5450dbe970
* winexclude.sed: Add .dll and .lib files to the list of functions whichTheodore Tso1999-02-092-0/+11
| | | | | | | | | shouldn't get included in the non-binary list of files to be added to kerbsrc.zip for the Windows build. (If .dll or .lib files need to be included in the zip file, they must be added to the WINBINARYFILES macro in the top-level Makefile.in) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11162 dc483132-0cff-0310-8789-dd5450dbe970
* klist.c: Under Windows, #include winsock.h instead of sys/socket.h andTheodore Tso1999-02-093-1/+14
| | | | | | | | | netdb.h Makefile.in: Under Windows, link against wsock32.lib to get gethostbyaddr(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11161 dc483132-0cff-0310-8789-dd5450dbe970
* kinit.c: If unistd.h is not available, use manual definitions forTheodore Tso1999-02-092-0/+11
| | | | | | getopt, optarg, and optind. (For Windows). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11160 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Link in the ccapi import library under windowsTheodore Tso1999-02-094-3/+38
| | | | | | | krb5_16.def, krb5_32.def: Added a number of miscellaneous functions to the DLL exports list so that things build under Windows again. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11159 dc483132-0cff-0310-8789-dd5450dbe970
* rd_req.c (krb_rd_req): Add appropriate #ifdef so that this codeTheodore Tso1999-02-091-0/+2
| | | | | | compiles cleanly when KRB4_USE_KEYTAB is not defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11158 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bad comment terminator in stdcc_util.c which was stopping it from compilingTheodore Tso1999-02-091-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11157 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Enable the ccapi directory for windows buildsTheodore Tso1999-02-093-31/+35
| | | | | | ccdefops.c: Make the ccapi the default ccache type for Windows machines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11156 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.hin (krb5_get_realm_domain): Add appropriate modifiers so thatTheodore Tso1999-02-092-1/+6
| | | | | | this function can get exported in a Windows DLL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11155 dc483132-0cff-0310-8789-dd5450dbe970
* ccdefname.c (get_from_os): On the Windows platform, automaticallyTheodore Tso1999-02-093-4/+21
| | | | | | | | | | generate the correct default cache name based on what krb5_cc_dfl_ops is set to. realm_dom.c (krb5_get_realm_domain): Add modifiers so that this function can get exported in a Windows DLL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11154 dc483132-0cff-0310-8789-dd5450dbe970
* (Forgot to check in ChangeLog earlier...)Theodore Tso1999-02-091-0/+11
| | | | | | | | | | | | prof_tree.c (profile_node_iterator): Added comments indicating that profile_node_iterator, not being an exported interface, returns pointers into the parse tree, and that values should be strdup()'ed before returning them to a calling application. prof_get.c (profile_iterator): Strdup the name and value strings before returning them to the calling application. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11153 dc483132-0cff-0310-8789-dd5450dbe970
* information in it. (It's still not perfect!)Theodore Tso1999-02-092-10/+14
| | | | | | readme: Update readme file so that it doesn't have obviously incorrect git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11152 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Change Windows kerbsrc.zip target so this now does whatTheodore Tso1999-02-092-25/+28
| | | | | | | | kerbsrc-nt.zip used to do. We no longer support building krb5 on systems with 8.3 limitations. Also allow binary files in windows/lib to be included into kerbsrc.zip file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11151 dc483132-0cff-0310-8789-dd5450dbe970
* Initial rototilling of these functions to make them more krb5 libraryTheodore Tso1999-02-053-250/+318
| | | | | | API compliant. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11149 dc483132-0cff-0310-8789-dd5450dbe970
* Initial commit of massively modified stdcc functions to make them somewhatTheodore Tso1999-02-042-269/+394
| | | | | | closer to correct. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11148 dc483132-0cff-0310-8789-dd5450dbe970
* auth.c (auth_send): Increase size of buf so we can handle mongo-gramTheodore Tso1999-02-042-1/+6
| | | | | | sized tickets from Microsoft. [telnet/686] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11144 dc483132-0cff-0310-8789-dd5450dbe970
* state.c: Increase size of subbufer so that we don't truncateTheodore Tso1999-02-042-1/+6
| | | | | | mongo-gram tickets from Microsoft. [telnet/688] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11143 dc483132-0cff-0310-8789-dd5450dbe970
* kerberos5.c: Increase size of str_data so that we can acceptTheodore Tso1999-02-042-1/+6
| | | | | | mongo-gram tickets from Microsoft. [telnet/686] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11142 dc483132-0cff-0310-8789-dd5450dbe970
* * read_pwd.c: Remove reference to CPP symbol "unix"Tom Yu1999-02-022-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11141 dc483132-0cff-0310-8789-dd5450dbe970
* ccdefname.c: Add a new function krb5_cc_set_default_name(), which isTheodore Tso1999-02-023-119/+166
| | | | | | | | | | | | | | | used set the default ccname stored in the krb5_context. All of the OS-specific functions to determine the default ccname is moved to this function. The krb5_cc_default_name() function now just reads the default ccname from the os_context, and will call krb5_cc_set_default_name() to set the default ccname if necessary. t_std_conf: Added functions to test krb5_cc_default_name and krb5_cc_set_default_name(). Fixed the call to krb5_locate_kdc to support the new variables added by the Cygnus initial ticket API merge. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11140 dc483132-0cff-0310-8789-dd5450dbe970
* k5-int.h: Add an entry to the os_context to store the default ccacheTheodore Tso1999-02-023-0/+11
| | | | | | | | | name. krb5.hin (krb5_cc_set_default_name): Add function prototype which sets the defulat ccache name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11139 dc483132-0cff-0310-8789-dd5450dbe970
* * et_c.awk: Fix to not depend on CPP symbol "unix"Tom Yu1999-02-023-2/+8
| | | | | | * et_h.awk: Fix to not depend on CPP symbol "unix". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11137 dc483132-0cff-0310-8789-dd5450dbe970
* trval.c: Now understands krb5 structure elementsTheodore Tso1999-01-295-1730/+1118
| | | | | | | krb5_encode_test.c: Pass trval type hints to trval2() so that datastructures get properly decoded. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11136 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Fix typo so that lib/crypto actually getsTom Yu1999-01-272-1/+6
| | | | | | configured. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11135 dc483132-0cff-0310-8789-dd5450dbe970
* Added missing #include of termios.hTheodore Tso1999-01-271-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11134 dc483132-0cff-0310-8789-dd5450dbe970
* listen.c (print_prompt): Replace BSD-style ioctl with termios interfaceTheodore Tso1999-01-273-12/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11133 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in, configure.in: Move the responsibility for generatingTheodore Tso1999-01-2721-66/+122
| | | | | | | Makefile files for the following subdirectories to the top-level: util, util/send-pr, util/dyn, lib, config-files, and gen-manpages. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11132 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove test CHECK_WAIT_TYPE since nothing is using theTheodore Tso1999-01-273-1/+7
| | | | | | results of that test (WAIT_USES_INT). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11131 dc483132-0cff-0310-8789-dd5450dbe970
* kdc_preauth.c (check_padata): If preauth fails because the preauthTheodore Tso1999-01-272-0/+14
| | | | | | | | data from the client was of an unknown type, and the principal does not require preauth, then the preauth should be disregarded. [krb5-kdc/652] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11130 dc483132-0cff-0310-8789-dd5450dbe970
* localaddr.c: On the macintosh, check to see if getmyipaddr returnsTheodore Tso1999-01-272-0/+13
| | | | | | NULL, and return an error in that case. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11129 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Add ccapi to the include path so we can find stdcc.hTheodore Tso1999-01-272-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11128 dc483132-0cff-0310-8789-dd5450dbe970
* wconfig.c: Updated to be more featureful. It will now save theTheodore Tso1999-01-272-20/+89
| | | | | | | | | | | | arguments passed to it and emit it as a makefile variable WCONFIG_FLAGS. This allows the makefile to be able to preserve wconfig options in the future when updating makefile. Also added the --win32 and --win16 options to force win16 or win32 makefiles. An option of the form --enable-foo will cause lines that begin ##FOO## to be uncommented in the Makefile. The program has also been cleaned up so it can be run (for debugging purposes) under Unix. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11127 dc483132-0cff-0310-8789-dd5450dbe970