summaryrefslogtreecommitdiffstats
path: root/src/include/krb5/kdb.h
Commit message (Collapse)AuthorAgeFilesLines
* Instead of arbitrary division of headers into include and include/krb5, withKen Raeburn2006-03-111-485/+0
| | | | | | | | | | | | include directives sometimes using krb5/foo.h and sometimes using foo.h, and -I options always given for both directories in both source and build trees, push include/krb5/* up a level and drop the krb5 directory (except, for the moment, the change log). Updated #include directives, -I options, and dependencies accordingly, and deleted one or two bits of old, unused code that was noticed in the process. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17730 dc483132-0cff-0310-8789-dd5450dbe970
* Enable compilation of little-endian unaligned load/store helperKen Raeburn2006-03-081-18/+5
| | | | | | | functions in k5-platform.h, and use them in kdb encoding/decoding macros. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17710 dc483132-0cff-0310-8789-dd5450dbe970
* Novell Database Abstraction Layer merge.Ken Raeburn2005-06-211-132/+296
| | | | | | Will probably break things. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17258 dc483132-0cff-0310-8789-dd5450dbe970
* Delete preprocessor tests for macintosh, __MWERKS__, applec, and THINK_C, allKen Raeburn2004-06-221-2/+2
| | | | | | | part of the pre-Mac OS X support. (Except the bits in the Yarrow code, where it was part of the upstream source.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16506 dc483132-0cff-0310-8789-dd5450dbe970
* Missing prototype for krb5_db_iterate_extEzra Peisach2003-05-251-0/+4
| | | | | | | | * kdb.h: Add prototype for krb5_db_iterate_ext. Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15492 dc483132-0cff-0310-8789-dd5450dbe970
* This commit fixes up the in-tree callers of krb5_read_password() andTom Yu2002-11-061-2/+2
| | | | | | | | | | des_read_password(). We should perhaps tighten up the test suite now. ticket: 1217 status: open target_version: 1.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14972 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo also says we can get rid of _MSDOS (Win16) tests, and explicit ↵Ken Raeburn2001-10-061-2/+2
| | | | | | FAR/NEAR specs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13786 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb.h: For structs krb5_tl_data (tl_data_length), krb5_key_dataEzra Peisach2001-07-251-78/+4
| | | | | | | | | (key-data_length), krb5_db_entry (len, e_length) change the storage types from krb5_int16 to krb5_ui_2. This does not require a database version change as the field sizes are the same. Remove the code ifdefed under KRB5_OLD_AND_KRUFTY. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13641 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed several typos in commentsMitchell Berger2001-06-201-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13399 dc483132-0cff-0310-8789-dd5450dbe970
* Make prototypes unconditionalKen Raeburn2001-01-171-216/+135
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12908 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
* kdb.h: Add new TL types provided by Frank Cusack's preauth patchTheodore Tso1999-04-101-0/+4
| | | | | | [krb5-kdc/662] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11346 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb.h: Update dbe_crk and dbe_cpw to take a boolean to indicateTom Yu1998-11-171-0/+2
| | | | | | whether old keys should be retained. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11044 dc483132-0cff-0310-8789-dd5450dbe970
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-301-11/+35
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
* Replaced preprocessor symbol _MACINTOSH with macintosh, since macintosh is ↵Miro Jurisic1998-07-171-2/+2
| | | | | | the standard symbol defined by all Mac compiler (oh, sure, it doesn't have _. but at least it's always there) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10653 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_dbm.h: Add const to argument of krb5_dbm_db_get_principal.Ezra Peisach1997-09-151-4/+4
| | | | | | | | | | Add prototype for krb5_dbm_db_delete_principal. * kdb.h: Prototypes for krb5_db_get_principal, krb5_db_delete_principal, krb5_dbe_update_mod_princ_data, krb5_encode_princ_dbkey modified to use const krb5_principals. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10190 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_kt.h: Move support for "kdb" keytab hereTom Yu1997-07-251-8/+30
| | | | | | | | | | * kdb.h: Add support for modified kdb API; remove extra arguments for db_set_mkey and db_get_mkey. Remove all (hopefully) mentions of any particular backend database implementation. Add flags argument for db_create, allowing caller to specify whether btree or hash methods are to be used in the backend. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10126 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb.h: add KRB5_TL_KADM5_E_DATABarry Jaspan1996-08-261-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8992 dc483132-0cff-0310-8789-dd5450dbe970
* Remove dbm_error and dbm_clearerr from the dispatch table (whichTheodore Tso1996-08-231-3/+1
| | | | | | eventually should be completely removed.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8975 dc483132-0cff-0310-8789-dd5450dbe970
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-221-27/+29
| | | | | | | | | OV_MERGE branches. This includes, but is not limited to, the new openvision admin system, and major changes to gssapi to add functionality, and bring the implementation in line with rfc1964. before committing, the code was built and tested for netbsd and solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8774 dc483132-0cff-0310-8789-dd5450dbe970
* adm_proto.h: Change usage of INTERFACE to use KRB5_CALLCONV and KRB5_DLLIMPTheodore Tso1996-06-121-2/+2
| | | | | | | | | | | | | | winsock.h: Rename to kwinsock.h. Recent versions of Microsoft compilers include winsock.h, and the one we have collides with NT errno definitions. Using the one provided by the compiler is preferable. If you are using an old version of MSVC that doesn't include winsock.h, then rename kwinsock.h to winsock.h kdb_dbm.h: Don't include kdb_dbm.h for Win-32. kdb.h: Don't include most of kdb.h for Win-32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8306 dc483132-0cff-0310-8789-dd5450dbe970
* add afs3 salttype valueMark Eichin1996-04-091-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7762 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb.h : Remove mkvno for krb5_db_entryChris Provenzano1995-12-131-2/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7216 dc483132-0cff-0310-8789-dd5450dbe970
* * adm.h: Added principal flag keywords KRB5_ADM_KW_SETFLAGS andChris Provenzano1995-12-121-0/+2
| | | | | | | | | | | KRB5_ADM_KW_UNSETFLAGS because relative flag modification is just a good idea. * kdb.h: typedef kdb5_dispatch_table so prototypes that need it compile even if KDB5_DISPATCH isn't defined. * kdb_dbc.h: The start of the database context, which should be removed from the krb5_context. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7199 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb.h: Added prototype for krb5_dbe_search_enctype(). ChangedTheodore Tso1995-11-071-1/+10
| | | | | | | | prototype of krb5_dbe_find_enctype() so that ktype is of type krb5_int32. (krb5_enctype is unsigned, so -1 doesn't work!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7024 dc483132-0cff-0310-8789-dd5450dbe970
* * adm.h : Constant changes for the new kadmin code.Chris Provenzano1995-11-031-0/+1
| | | | | | | | * kdb.h : Added attribute bit KRB5_KDB_NEW_PRINC. This will allow kadmin administrators with add acls to modify a principal until this bit is cleared. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7013 dc483132-0cff-0310-8789-dd5450dbe970
* kdb.h, kdb_dbm.h: Add #if !defined(_MSDOS) && !defined(_MACINTOSH) toTheodore Tso1995-09-271-22/+25
| | | | | | | prevent these #includes from being used by Mac and PC machines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6864 dc483132-0cff-0310-8789-dd5450dbe970
* Reintegrate Macintosh changes while keeping Proven's changesEzra Peisach1995-09-111-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6753 dc483132-0cff-0310-8789-dd5450dbe970
* Mac Beta 1 submissionKeith Vetter1995-09-111-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6749 dc483132-0cff-0310-8789-dd5450dbe970
* * adm.h, adm_proto.h kdb.h : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/gChris Provenzano1995-09-061-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6703 dc483132-0cff-0310-8789-dd5450dbe970
* Add prototype for database context serializerPaul Park1995-08-291-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6611 dc483132-0cff-0310-8789-dd5450dbe970
* Add prototype for krb5_dbe_find_keytype()Paul Park1995-08-151-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6523 dc483132-0cff-0310-8789-dd5450dbe970
* Always define KRB5_MAX_FAIL_COUNTPaul Park1995-08-101-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6499 dc483132-0cff-0310-8789-dd5450dbe970
* Add prototypes for krb5_dbe_{en,de}code_last_pwd_change(), andChris Provenzano1995-08-071-4/+31
| | | | | | krb5_dbe_{apw,cpw,ark,crk}(), the passowrd changing routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6429 dc483132-0cff-0310-8789-dd5450dbe970
* Add encode/decode macros for integers for use between kdb modulesPaul Park1995-08-041-0/+25
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6412 dc483132-0cff-0310-8789-dd5450dbe970
* Added prototype for krb5_dbe_cpw() the new db entry change password routineChris Provenzano1995-08-031-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6399 dc483132-0cff-0310-8789-dd5450dbe970
* Define new kdb formatChris Provenzano1995-07-271-58/+166
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6327 dc483132-0cff-0310-8789-dd5450dbe970
* Add stash file parameter to krb5_db_fetch_mkey()Paul Park1995-07-171-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6299 dc483132-0cff-0310-8789-dd5450dbe970
* Add kdb dispatch table for changing between Berkeley and DBMPaul Park1995-06-301-0/+27
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6205 dc483132-0cff-0310-8789-dd5450dbe970
* Remove KDB_CONVERT_KEY_{TO,OUTOF}_DBPaul Park1995-06-231-3/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6130 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Don't remove autoconf.h when doing a make clean; it's anTheodore Tso1995-06-211-22/+22
| | | | | | | | | autoconf generated file. adm_proto.h, asn1.h, ext-proto.h, kdb.h, kdb_dbm.h, los-proto.h, preauth.c: Change PROTOTYPE -> KRB5_PROTOTYPE git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6112 dc483132-0cff-0310-8789-dd5450dbe970
* * base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno,Chris Provenzano1995-01-271-6/+2
| | | | | | | | | | | krb5_addrtype, krb5_keytyp, krb5_enctype, krb5_cksumtype, and krb5_authdatatype as unsigned int. * kdb_dbm.h krb5_dbm_db_set_lockmode(), krb5_dbm_db_set_nonblocking() Fix prototypes to use krb5_boolean and not int. * kdb.h krb5_db_set_lockmode(), krb5_db_set_nonblocking() Fix prototypes to use krb5_boolean and not int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4856 dc483132-0cff-0310-8789-dd5450dbe970
* * Removed all narrow types and references to wide.h and narrow.hChris Provenzano1995-01-251-17/+1
| | | | | | | | | | | * base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno, krb5_addrtype, krb5_keytyp, krb5_enctype, krb5_cksumtype, and krb5_authdatatype as int. * kdb.h Made keytype in krb5_encrypted_keyblock explicitly short for backwards compatibility. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4835 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-131-28/+58
| | | | | | Added krb5_context to all krb5_*() routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4815 dc483132-0cff-0310-8789-dd5450dbe970
* Add new attribute which defines whether or not a server supports DES/MD5Theodore Tso1994-11-181-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4699 dc483132-0cff-0310-8789-dd5450dbe970
* Add a magic number to krb5_db_entry. The other magic number changes toTheodore Tso1994-10-041-0/+1
| | | | | | the other structures end up forcing an database format change anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4434 dc483132-0cff-0310-8789-dd5450dbe970
* Add field for structure magic numbersTheodore Tso1994-09-301-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4410 dc483132-0cff-0310-8789-dd5450dbe970
* stamp out rcs keywordsMark Eichin1994-08-181-3/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4189 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
* Cleaned up TGTNAME define; now KRB5_TGS_NAMETheodore Tso1993-08-171-3/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2632 dc483132-0cff-0310-8789-dd5450dbe970