summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix really stupid typoTheodore Tso1997-04-011-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10040 dc483132-0cff-0310-8789-dd5450dbe970
* import_name.c (krb5_gss_import_name): Add support for importing theTheodore Tso1997-03-283-6/+64
| | | | | | | | | exported name call export_name.c (gss_export_name): Fix export_name emit the token exactly as specified by RFC 2078. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10038 dc483132-0cff-0310-8789-dd5450dbe970
* Added definition for the generic gsspi OID type "gss_nt_exported_name"Theodore Tso1997-03-283-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10036 dc483132-0cff-0310-8789-dd5450dbe970
* Added the V2 calls gss_canonicalize_name(), gss_export_name(),Theodore Tso1997-03-283-4/+13
| | | | | | gss_duplicate_name() to the list of calls exported by the DLL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10034 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Add canon_name.c, duplicate_name.c, export_name.c to theTheodore Tso1997-03-286-0/+213
| | | | | | | | | | | | | | | GSSAPI library. gssapiP_krb5.h (KG_IMPLFLAGS): Add support for GSS_C_PROT_READY_FLAG and GSS_C_TRANS_FLAG canon_name.c (gss_canonicalize_name): New GSSAPI V2 function duplicate_name.c (gss_duplicate_name): New GSSAPI V2 function export_name.c (gss_export_name): New GSSAPI V2 function git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10031 dc483132-0cff-0310-8789-dd5450dbe970
* Add the GSS_C_PROT_READY_FLAG and GSS_C_TRANS_FLAGTheodore Tso1997-03-282-0/+30
| | | | | | | Add prototypes for the V2 functions gss_export_name(), gss_duplicate_name(), and gss_canonicalize_name(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10030 dc483132-0cff-0310-8789-dd5450dbe970
* rcache owner should be checked against the effective uid, not the realTheodore Tso1997-03-252-1/+6
| | | | | | uid. [krb5-libs/366] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10027 dc483132-0cff-0310-8789-dd5450dbe970
* A zero-length token should be treated like a GSS_C_NO_BUFFER duringTheodore Tso1997-03-252-2/+8
| | | | | | the initial context establishment. [krb5-libs/352] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10026 dc483132-0cff-0310-8789-dd5450dbe970
* Fix handling of the sam-timestamp and sam-usec fields, which shouldTheodore Tso1997-03-252-10/+15
| | | | | | | always be set if the nonce is not available, not just SAM_USE_SAD_AS_KEY is being used. [krb5-libs/325] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10025 dc483132-0cff-0310-8789-dd5450dbe970
* t_ser.c: Clean up error reporting for krb5_init_context(). AlsoTheodore Tso1997-03-242-31/+80
| | | | | | report errors for each subtest, so we know which subtest failed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10023 dc483132-0cff-0310-8789-dd5450dbe970
* t_kdb.c (do_testing): Clean up error handling for krb5_init_contextTheodore Tso1997-03-243-8/+13
| | | | | | | Makefile.in (check): Define and use KRB5_CONFIG_SETUP which sets up the environment variables appropriately. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10022 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo (remove '#' from '#extern "C"')Theodore Tso1997-03-241-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10021 dc483132-0cff-0310-8789-dd5450dbe970
* Fix up name of the SAP Kerberos glue library to be platform dependentTheodore Tso1997-03-193-75/+14
| | | | | | | (sapkrb16.dll, sapkrb32.dll). Fix makefile rules to work correctly after NT port. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10010 dc483132-0cff-0310-8789-dd5450dbe970
* Add 'extern "C"' for C++ compatibility; also check for __cplusplusTheodore Tso1997-03-182-1/+15
| | | | | | since some C++ compilers don't set __STDC__ git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10008 dc483132-0cff-0310-8789-dd5450dbe970
* Fix header file so that winmac.h is #included when commpiling on theTheodore Tso1997-03-172-1/+6
| | | | | | Macintosh. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10005 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c: Don't assume dbm_db_get_mkey() and dbe_find_enctypeTom Yu1997-03-172-14/+29
| | | | | | | won't error out. Also, some gcc -Wall warning cleanups. [krb5-kdc/361] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10004 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (unit-test-server-body): depend on test-randkey, notBarry Jaspan1997-03-122-1/+6
| | | | | | randkey-test, so the test gets run git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10002 dc483132-0cff-0310-8789-dd5450dbe970
* * svr_principal.c (add_to_history): Don't call realloc() on a NULLTom Yu1997-03-092-3/+13
| | | | | | pointer, lest non-ANSI compliant systems like SunOS fail. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9998 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (MAC_SUBDIRS): Change KRB5 to krb5 for Mac subdirsEzra Peisach1997-03-032-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9995 dc483132-0cff-0310-8789-dd5450dbe970
* If RegKRB5CCNAME is set in kerberos.ini, use that value to determine theRichard Basch1997-02-281-6/+49
| | | | | | | | registry key that contains the credential cache name to use. This indirection provides a means of interoperating with Gradent's PC-DCE product. [deengert@anl.gov] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9990 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Link krb5_32.lib (win32) with advapi32.lib to resolve theRichard Basch1997-02-281-2/+3
| | | | | | registry functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9989 dc483132-0cff-0310-8789-dd5450dbe970
* Build krb5.rc with -D_MSDOS -DRES_ONLY under win16Richard Basch1997-02-251-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9980 dc483132-0cff-0310-8789-dd5450dbe970
* read_pwd.c: Improperly applied Doug Engert's windows dialog patch last time.Richard Basch1997-02-254-83/+6
| | | | | | | | win-pwd.h: contents have been subsumed into win-mac.h win-pwd.rc: Moved to lib/krb5.rc Makefile.in: Reverted back to pre win-pwd version. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9976 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.rc: Replaced Windows password dialog resource file (krb5/os/win-pwd.rc)Richard Basch1997-02-252-3/+48
| | | | | | Makefile.in: Link in krb5.rc (win16/win32) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9975 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed bad variable referenceRichard Basch1997-02-251-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9974 dc483132-0cff-0310-8789-dd5450dbe970
* Export krb5_read_passwordRichard Basch1997-02-252-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9973 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed bad variable referenceRichard Basch1997-02-253-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9972 dc483132-0cff-0310-8789-dd5450dbe970
* win-pwd.rc: Windows dialog information for password promptingRichard Basch1997-02-255-9/+296
| | | | | | | | win-pwd.h: supporting definitions for Windows dialog read_pwd.c: Support Windows dialog & console-mode input for krb5_read_password Makefile.in: Link in win-pwd.obj (win32) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9971 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_32.lib now also depends on gdi32.libRichard Basch1997-02-252-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9970 dc483132-0cff-0310-8789-dd5450dbe970
* Moved some of the library list file build logic from the individual MakefilesRichard Basch1997-02-2342-256/+191
| | | | | | to config/win-post.in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9964 dc483132-0cff-0310-8789-dd5450dbe970
* be more careful about removing crypto_glue.cSam Hartman1997-02-221-2/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9956 dc483132-0cff-0310-8789-dd5450dbe970
* * Make shared libs work on AIXSam Hartman1997-02-2212-25/+52
| | | | | | * Fix dependencies for library git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9952 dc483132-0cff-0310-8789-dd5450dbe970
* * Make shared libs work on AIXSam Hartman1997-02-223-234/+5
| | | | | | * move krb5/krb/crypto_glue.c to crypto/krb5_glue.c git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9951 dc483132-0cff-0310-8789-dd5450dbe970
* * Make shared libs work on AIXSam Hartman1997-02-223-3/+12
| | | | | | | * DO not use #ifdef unix * Fix dependencies for library git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9950 dc483132-0cff-0310-8789-dd5450dbe970
* * Make shared libs work on AIXSam Hartman1997-02-223-1/+243
| | | | | | | | | | | | | | * DO not use #ifdef unix * move krb5/krb/crypto_glue.c to crypto/krb5_glue.c crypto_glue.c contained a bunch of functions that used to be macros. They do belong in libkrb5, but if they go there, they create a circular dependency because libcrypto uses them. The obvious long-term right answer is to get libcrypto to stop using interfaces with names like krb5_*. I didn't feel like tackling that in the middle of getting things working on AIX so I just moved the functions to be declared in the same library as use. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9949 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typoSam Hartman1997-02-221-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9946 dc483132-0cff-0310-8789-dd5450dbe970
* Bump minor library version so I canSam Hartman1997-02-224-2/+10
| | | | | | | have programs on the same system both before and after the Windows checkins. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9945 dc483132-0cff-0310-8789-dd5450dbe970
* Removed un-user extern declaration of krb5_config_file -Ezra Peisach1997-02-222-3/+4
| | | | | | which does not exist anymore. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9942 dc483132-0cff-0310-8789-dd5450dbe970
* Use malloc/realloc/free instead of the "near" counterparts. TheRichard Basch1997-02-212-21/+13
| | | | | | | | functions _nmalloc, _nrealloc, and _nfree don't seem to exist under win32 and the pointer manipulation is more complex than if we simply just use the "normal" counterparts with a large-memory model build. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9940 dc483132-0cff-0310-8789-dd5450dbe970
* Link the krb4 dll under Windows; we already built all the objects..Richard Basch1997-02-212-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9939 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unneeded calls to krb5_init_etsRichard Basch1997-02-202-2/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9931 dc483132-0cff-0310-8789-dd5450dbe970
* init_ctx.c: krb5_free_context calls krb5_free_ets (currently a no-op)Richard Basch1997-02-203-2/+1
| | | | | | t_kerb.c t_walk_rtree.c: Remove unneeded call to krb5_init_ets git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9930 dc483132-0cff-0310-8789-dd5450dbe970
* f_data.c: Fixed commentRichard Basch1997-02-204-4/+49
| | | | | | | | | f_unparse.c: Implements krb5_free_unparsed_name krb5_free_unparsed_name(krb5_context, char FAR *) frees the string allocated by krb5_unparse_name Makefile.in: Compile f_unparse.c git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9929 dc483132-0cff-0310-8789-dd5450dbe970
* Do not DLL export krb5_init_ets/krb5_free_etsRichard Basch1997-02-201-13/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9928 dc483132-0cff-0310-8789-dd5450dbe970
* Removed unneeded call to krb5_init_etsRichard Basch1997-02-207-8/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9927 dc483132-0cff-0310-8789-dd5450dbe970
* Removed unneeded call to krb5_init_etsRichard Basch1997-02-201-3/+7
| | | | | | Check return value of krb5_init_context git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9926 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_16.def krb5_32.def: Do not export krb5_init_ets/krb5_finish_etsRichard Basch1997-02-203-80/+77
| | | | | | | | win_glue.c: Re-arranged code to avoid duplication. Initialize kadm and prof error tables for krb5. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9925 dc483132-0cff-0310-8789-dd5450dbe970
* Added set_realm.c, which implements krb5_set_principal_realm()Theodore Tso1997-02-191-0/+52
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9918 dc483132-0cff-0310-8789-dd5450dbe970
* Added new function krb5_set_principal_realm(), which is used toTheodore Tso1997-02-194-1/+57
| | | | | | | | | | mutate the realm of a principal. This avoids a really heinous abstraction boundary violation by the appl/bsd and appl/telnet code. A test case for this function was added to t_kerb, and a test new test acse to t_ref_kerb.out git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9916 dc483132-0cff-0310-8789-dd5450dbe970
* Replace instances of krb5_xfree..Richard Basch1997-02-192-5/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9910 dc483132-0cff-0310-8789-dd5450dbe970