summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* * 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
* * 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
* * 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
* * 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
* Make it more obvious that default ticket lifetimes is not yetTheodore Tso1996-10-312-2/+9
| | | | | | supported. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9267 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(LD) instead of $(CC) at link stage - this allows one to useEzra Peisach1996-10-312-2/+7
| | | | | | purify correctly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9266 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (t_kdb): Link with $(TOPLIBD)/libdb.aEzra Peisach1996-10-312-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9261 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo in lastEzra Peisach1996-10-311-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9259 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Only run tests if required programs, librariesEzra Peisach1996-10-313-1/+26
| | | | | | | | available. * configure.in: Check for runtest, Perl, and tcl before making checks. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9258 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (check): Only run tests is Perl, tcl, runtestEzra Peisach1996-10-313-8/+17
| | | | | | * configure.in: Check for Perl before running tests. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9257 dc483132-0cff-0310-8789-dd5450dbe970
* nuke leftover conflict markerMark Eichin1996-10-311-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9255 dc483132-0cff-0310-8789-dd5450dbe970
* * xdr_stdio.c: Remove the #ifndef mc68000 cruft. I'm not sureBarry Jaspan1996-10-302-5/+12
| | | | | | | | | | what it was supposed to accomplish, but in both places it appeared it was unquestionably wrong. I suspect that the ifdef was put in originally to optimize byte-alignment code that wasn't necessary on the 68000. Who knows? Someone will complain if this isn't right. [krb5-libs/47] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9253 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(S) instead of / for productions which could be used on both DOSTheodore Tso1996-10-292-2/+7
| | | | | | and Unix systems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9248 dc483132-0cff-0310-8789-dd5450dbe970
* * auth_gssapi.c (auth_gssapi_create): #ifdef GSSAPI_KRB5, a nullBarry Jaspan1996-10-292-1/+9
| | | | | | | | mech_type implies gss_mech_krb5, so include that in the version 3 fallback test. This change, along with the other changes for rpc version 4, complete the fix for [krb5-libs/106]. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9246 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in, Makefile.in: Tweaks to prevent unecessaryTom Yu1996-10-263-4/+9
| | | | | | rebuilding. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9242 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (init-test): Add -UUSE_KADM5_API_VERSION before theEzra Peisach1996-10-252-1/+6
| | | | | | | | | -D of same. OSF 4.0 cpp was screwing up and keeping only the first definition on the compile line. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9241 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, rpc_test_clnt.c, rpc_test_svc.c, rpc_test.h:Barry Jaspan1996-10-245-9/+125
| | | | | | | distribute generated rpc_test_* files instead of running rpcgen on rpc_text.x [krb5-admin/133] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9240 dc483132-0cff-0310-8789-dd5450dbe970
* * api.2/get-principal-v2.exp: Fix for test 100 where {} is notEzra Peisach1996-10-232-1/+6
| | | | | | equivalent to "{}" for empty tl_data field. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9239 dc483132-0cff-0310-8789-dd5450dbe970
* Change #ifdef sparc to #ifdef sun for more portability.Theodore Tso1996-10-233-3/+9
| | | | | | [PR#123] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9238 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in: Fixes to work with new directoryTom Yu1996-10-223-16/+65
| | | | | | recursion method. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9234 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Fixes for new directory recursion method; alsoTom Yu1996-10-222-1/+21
| | | | | | fixes for inclusion sequencing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9233 dc483132-0cff-0310-8789-dd5450dbe970
* * svr_principal.c (kadm5_modify_principal): fix modify_principal'sBarry Jaspan1996-10-212-12/+19
| | | | | | handling of KADM5_TL_DATA [krb5-admin/20] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9221 dc483132-0cff-0310-8789-dd5450dbe970
* * server_internal.h (ALL_PRINC_MASK): add KADM5_TL_DATA andBarry Jaspan1996-10-212-1/+6
| | | | | | KADM5_KEY_DATA to ALL_PRINC_MASK [krb5-admin/20] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9220 dc483132-0cff-0310-8789-dd5450dbe970
* * api.2/mod-principal-v2.exp: create this file, implement testsBarry Jaspan1996-10-212-0/+107
| | | | | | 100-104 [krb5-admin/20] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9219 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed typo so that the remaining length field is set correctlyTheodore Tso1996-10-212-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9218 dc483132-0cff-0310-8789-dd5450dbe970
* New magic number for the GSSAPI QUEUE structureTheodore Tso1996-10-192-3/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9215 dc483132-0cff-0310-8789-dd5450dbe970
* util_ordering.c (g_queue_externalize, g_queue_internalize, g_queue_size):Theodore Tso1996-10-193-0/+46
| | | | | | | New routines which allow the serailizing routines to access the seqstate structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9214 dc483132-0cff-0310-8789-dd5450dbe970
* ser_sctx.c (kg_oid_externalize, kg_oid_internalize,Theodore Tso1996-10-195-12/+183
| | | | | | | | | | | | | | | | | | kg_oid_size): Add a GSSAPI OID magic number to the externalized OID, so that if the OID is skipped, (it is optional), the serialization code can resyncronize if necessary. (kg_queue_internalize, kg_queue_externalize, kg_queue_size): New functions to externalize the gssapi queue. (kg_ctx_size, kg_ctx_exteranlize, kg_ctx_import): Changed to include the mech_used field and to include the auth context. gssapi_krb5.c (kg_get_context): Add calls to correctly initialize the serializers needed by import and export sec context. delete_sec_context.c (krb5_gss_delete_sec_context): Remember to release the mech_used OID if necessary! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9213 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic code for GSS OID, which is needed for the serializationTheodore Tso1996-10-182-0/+6
| | | | | | routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9212 dc483132-0cff-0310-8789-dd5450dbe970
* * svr_misc_free.c, server_dict.c, adb_policy.c, adb_free.c:Barry Jaspan1996-10-185-4/+9
| | | | | | include stdlib.h instead of malloc.h [krb5-admin/35] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9207 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_rpc_xdr.c, misc_free.c, server_internal.h: include stdlib.hBarry Jaspan1996-10-184-3/+8
| | | | | | instead of malloc.h [krb5-admin/35] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9206 dc483132-0cff-0310-8789-dd5450dbe970
* * adb_openclose.c (osa_adb_rename_db): create the destinationBarry Jaspan1996-10-182-0/+10
| | | | | | database if necessary before renaming [krb5-admin/58] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9203 dc483132-0cff-0310-8789-dd5450dbe970
* update rename comment to agree with code and previous comment inBarry Jaspan1996-10-181-1/+1
| | | | | | | ChangeLog: rename will create the database if it does not already exist, but not fail if it does already exist git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9202 dc483132-0cff-0310-8789-dd5450dbe970
* make start/stop message display only when verboseBarry Jaspan1996-10-181-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9197 dc483132-0cff-0310-8789-dd5450dbe970
* comment out useless messagesBarry Jaspan1996-10-181-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9196 dc483132-0cff-0310-8789-dd5450dbe970