summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* (unparse_err): add new finer-grained conf file error codesBarry Jaspan1996-11-072-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9332 dc483132-0cff-0310-8789-dd5450dbe970
* * api.2/init-v2.exp: update tests for new init error codes andBarry Jaspan1996-11-072-2/+24
| | | | | | get_config_params behavior when KDC_PROFILE does not exist git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9329 dc483132-0cff-0310-8789-dd5450dbe970
* lib.t moved to lib/lib.tBarry Jaspan1996-11-071-367/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9328 dc483132-0cff-0310-8789-dd5450dbe970
* Make the KRB5_CONFIG_CANTOPEN andTheodore Tso1996-11-072-2/+8
| | | | | | | KRB5_CONFIG_BADFORMAT error messages more clear that the problem is with the _Kerberos_ configuration file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9327 dc483132-0cff-0310-8789-dd5450dbe970
* * tcl_kadm5.c: don't assume tl_data_contents is null-terminated,Barry Jaspan1996-11-072-2/+10
| | | | | | and zero allocated princ before parsing it git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9326 dc483132-0cff-0310-8789-dd5450dbe970
* * api.2/mod-principal-v2.exp: provide finer-grained test numbersBarry Jaspan1996-11-072-15/+25
| | | | | | in case of failure git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9325 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed mangled copyright noticeTheodore Tso1996-11-073-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9324 dc483132-0cff-0310-8789-dd5450dbe970
* kdc_preauth.c (check_padata): Fixed error handling; in order forTheodore Tso1996-11-073-9/+34
| | | | | | | | | | | | | | check_preauth to return successfully, there must be at least one preauth which succeeded, and no REQUIRED preauth system which failed. If a preauth is marked SUFFICIENT, then the rest of the preauth list aren't checked. Fixed bug where when none of the preauth types were recognized, an error message corresponding to stack garbage was printed. main.c (argv): Check the error return from krb5_init_context(), and print an error message if necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9323 dc483132-0cff-0310-8789-dd5450dbe970
* New error codes for KADM5_MISSING_CONF_PARAMS andTheodore Tso1996-11-072-0/+7
| | | | | | KADM5_BAD_SERVER_NAME. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9322 dc483132-0cff-0310-8789-dd5450dbe970
* client_init.c (_kadm5_init_any): Use a more fined grained error code,Theodore Tso1996-11-072-2/+10
| | | | | | | | | KADM5_MISSING_CONF_PARAMS, instead of KRB5_CONFIG_BADFORMAT (_kadm5_init_any): Use a more fined grained error code, KADM5_BAD_SERVER_NAME, instead of KRB5_CONFIG_BADFORMAT. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9321 dc483132-0cff-0310-8789-dd5450dbe970
* server_init.c (kadm5_init): Use a more fined grained error code,Theodore Tso1996-11-072-1/+7
| | | | | | KADM5_MISSING_CONF_PARAMS, instead of KRB5_CONFIG_BADFORMAT git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9320 dc483132-0cff-0310-8789-dd5450dbe970
* alt_prof.c (krb5_aprof_init): If the user specifies the config fileTheodore Tso1996-11-072-9/+24
| | | | | | | | | | using a configuration file, it must exist. Otherwise, krb5_aprof_init will return an error. (kadm5_get_config_params): If aprof_init returns an error, it should return an error as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9319 dc483132-0cff-0310-8789-dd5450dbe970
* Eliminate extra files not needed for Macintosh and Windows. (ThisTheodore Tso1996-11-072-11/+23
| | | | | | directory is only used for Windows and Macintosh at this point.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9318 dc483132-0cff-0310-8789-dd5450dbe970
* login.c (destroy_tickets): Just use global kcontext insteadTheodore Tso1996-11-077-21/+55
| | | | | | | | | | | | | of creating a new krb5 context for no good reason. krshd.c (main): krsh.c (main): krlogind.c (main): krlogin.c (main): krcp.c(main): Check the error return from krb5_init_context(), and print an error message if necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9317 dc483132-0cff-0310-8789-dd5450dbe970
* Check the error return from krb5_init_context(), and print an errorTheodore Tso1996-11-072-2/+12
| | | | | | message if necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9316 dc483132-0cff-0310-8789-dd5450dbe970
* Check the error return from krb5_init_context(), and print an errorTheodore Tso1996-11-072-2/+11
| | | | | | message if neceesary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9315 dc483132-0cff-0310-8789-dd5450dbe970
* Check the return code from krb5_init_context, and print an errorTheodore Tso1996-11-072-2/+11
| | | | | | | message if appropriate. No longer call krb5_init_ets(), as it's no longer necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9314 dc483132-0cff-0310-8789-dd5450dbe970
* (initialize_realms): Remove rather pointless use of krb5.conf to findTheodore Tso1996-11-072-344/+323
| | | | | | | | | | the kdc.conf used to get the default port list. It's not useful for anything else, and will just confuse people. (init_realm): Reformat function to be readable. Add error checking to call of krb5_read_realm_params. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9313 dc483132-0cff-0310-8789-dd5450dbe970
* * client_principal.c (kadm5_get_principal,Ezra Peisach1996-11-072-2/+19
| | | | | | | kadm5_modify_principal): For a V1 request, copy only the memory that is allocated for the incomming principal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9312 dc483132-0cff-0310-8789-dd5450dbe970
* * tcl_kadm5.c (parse_keysalts, parse_tl_data): Do not free memoryEzra Peisach1996-11-073-3/+12
| | | | | | | | twice. * Makefile.in: Use $(LD) instead of $(CC) for linking. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9311 dc483132-0cff-0310-8789-dd5450dbe970
* * gssftp.exp: Check for "foo: No such file or directory" inTom Yu1996-11-072-1/+9
| | | | | | addition to "foo not found". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9310 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_rpc_xdr.c (xdr_krb5_principal): handle a NULL principalBarry Jaspan1996-11-062-8/+20
| | | | | | | | pointer (this can happen when get_principal is passed a mask without KADM5_PRINCIPAL in it, and will cause a beta 7 kadmind to coredump) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9309 dc483132-0cff-0310-8789-dd5450dbe970
* * lib/lib.t: global $test everywhere it is usedBarry Jaspan1996-11-063-18/+24
| | | | | | | | * api.2/mod-principal-v2.exp: init to kadmin/admin, not kadmin/changepw; specify real principal, not null (obviously I never ran these tests via the client library before) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9308 dc483132-0cff-0310-8789-dd5450dbe970
* Don't ignore errors found from parsing the config file. Currently, weTheodore Tso1996-11-062-4/+27
| | | | | | | | return an error if the profile isn't found. In the future we can maybe do something better with intelligent defaulting if krb5.conf doesn't exist, but we don't have this today. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9307 dc483132-0cff-0310-8789-dd5450dbe970
* * svr_principal.c (kadm5_modify_principal): don't free theBarry Jaspan1996-11-062-2/+12
| | | | | | caller's tl_data (oops) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9306 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Add dependencies on $(srcdir)/foo.c so that someTom Yu1996-11-062-0/+7
| | | | | | makes can deal with VPATH properly (e.g. NetBSD pmake) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9305 dc483132-0cff-0310-8789-dd5450dbe970
* Initialize the error tables, so applications don't need to callTheodore Tso1996-11-062-0/+8
| | | | | | krb5_init_ets(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9304 dc483132-0cff-0310-8789-dd5450dbe970
* We don't need the special case for linux anymore, since we'reTheodore Tso1996-11-062-11/+6
| | | | | | including the output from rpcgen in the source tree now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9303 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (HDRS): Changes so that $(OBJS) will not getTom Yu1996-11-063-8/+10
| | | | | | | | recompiled gratuitously if someone touches the include directory. * configure.in: Revert previous change re: CopySrcHeader. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9302 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Revert removal of CopySrcHeader, etc., for nowTom Yu1996-11-053-33/+25
| | | | | | | | * Makefile.in (OBJS): Remove dependency of $(OBJS) on shared, also remove dependency of $(HDRS) on $(HDRDIR). Both of these to avoid unecessary copying. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9301 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (install-recurse): Add dependency of install-recurseTom Yu1996-11-052-1/+6
| | | | | | on install-mkdirs to force directories to be made first. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9300 dc483132-0cff-0310-8789-dd5450dbe970
* * admin_server.c: use params.admin_keytab instead of a hard-codedBarry Jaspan1996-11-052-7/+10
| | | | | | value [krb5-admin/30] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9299 dc483132-0cff-0310-8789-dd5450dbe970
* minor fix to verification of specified load version (autodetect codeBarry Jaspan1996-11-052-8/+9
| | | | | | already worked properly) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9298 dc483132-0cff-0310-8789-dd5450dbe970
* * serialize.c (krb5_register_serializer): Do not free a NULL pointerEzra Peisach1996-11-052-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9296 dc483132-0cff-0310-8789-dd5450dbe970
* kadmin/testing/tcl/util.t is in the source tree and not the build tree.Ezra Peisach1996-11-052-1/+5
| | | | | | (This was initially missed by me as I had a symlink in my tree) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9295 dc483132-0cff-0310-8789-dd5450dbe970
* Accept either ';' or '#' on the first line of a string as a commentTheodore Tso1996-11-052-1/+6
| | | | | | character. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9294 dc483132-0cff-0310-8789-dd5450dbe970
* recurse into unit-testBarry Jaspan1996-11-041-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9291 dc483132-0cff-0310-8789-dd5450dbe970
* Removed unusued prototype for krb5_verify_padata();Theodore Tso1996-11-042-6/+5
| | | | | | this is old code that has since been removed. [PR#21] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9290 dc483132-0cff-0310-8789-dd5450dbe970
* * mkrel: Run make in doc so that .info and .ps files get created.Tom Yu1996-11-042-5/+18
| | | | | | [krb5-misc/143] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9289 dc483132-0cff-0310-8789-dd5450dbe970
* Start by breaking my own rule about not changing this code;Sam Hartman1996-11-022-17/+20
| | | | | | | the Makefile produced by mkdist is too limited for krb5, so we need our own. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9288 dc483132-0cff-0310-8789-dd5450dbe970
* Initial revisionSam Hartman1996-11-029-0/+1447
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9284 dc483132-0cff-0310-8789-dd5450dbe970
* * Fix broken comment ; it's setuid() that must suceed not the setleuidSam Hartman1996-11-022-3/+14
| | | | | | | | | | | equivelent under AIX. * You want to destroy v4 tickets if you are converting them just as if you are getting them directly. * Attempt to be more reasonable about printing out errors in in_tkt. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9283 dc483132-0cff-0310-8789-dd5450dbe970
* * Remove rhosts support [138]Sam Hartman1996-11-026-244/+25
| | | | | | | * Remove tab3 from initial terminal settings. We don't really care about horizontal tab delays, do we? This was breaking on NetBSD. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9282 dc483132-0cff-0310-8789-dd5450dbe970
* * Add forward command. [45]Sam Hartman1996-11-024-6/+138
| | | | | | * Add TOS support. [57] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9281 dc483132-0cff-0310-8789-dd5450dbe970
* * Add TOS support on other than Cray [57]Sam Hartman1996-11-026-33/+67
| | | | | | | | | | | | | | | | * Externalize forward options from kerberos5.c to reduce cut/paste inheritance between kerberos5.c and main.c in telnet. * Fix up source of error messages (telnet|telnetd) in kerberos5.c [77] CVS: ---------------------------------------------------------------------- automatically CVS: CVS: Committing in libtelnet CVS: CVS: Modified Files: CVS: ChangeLog Makefile.in auth.h configure.in kerberos5.c CVS: parsetos.c CVS: ---------------------------------------------------------------------- git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9280 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (AC_KRB5_TCL): Check for -ldl when checking for -ltclTom Yu1996-11-022-5/+10
| | | | | | or -ltcl7.5 in case the TCL library needs it. [krb5-admin/141] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9279 dc483132-0cff-0310-8789-dd5450dbe970
* * tcl_kadm5.c (unparse_err): update for new tl_data semanticsBarry Jaspan1996-11-012-0/+8
| | | | | | [krb5-admin/140] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9274 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_err.et: update for new tl_data semantics [krb5-admin/140]Barry Jaspan1996-11-012-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9273 dc483132-0cff-0310-8789-dd5450dbe970
* * svr_principal.c (kadm5_modify_principal): update for new tl_dataBarry Jaspan1996-11-012-20/+22
| | | | | | semantics [krb5-admin/140] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9272 dc483132-0cff-0310-8789-dd5450dbe970
* * api.2/get-principal-v2.exp, api.2/mod-principal-v2.exp: updateBarry Jaspan1996-11-013-12/+40
| | | | | | for new tl_data semantics [krb5-admin/140] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9271 dc483132-0cff-0310-8789-dd5450dbe970