summaryrefslogtreecommitdiffstats
path: root/src/kadmin/cli/kadmin.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Will Fiveash and Mark Phalan report that kadmin's unlock command callsTom Yu2007-10-041-1/+1
| | | | | | | | | | kadm5_lock() instead of of kadm5_unlock(). Apply the obvious fix. ticket: 4136 target_version: 1.6.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20094 dc483132-0cff-0310-8789-dd5450dbe970
* Add -clearpolicy to kadmin addprinc usageRuss Allbery2006-12-161-1/+1
| | | | | | | | | | | | | Add -clearpolicy to the usage message returned by kadmin when one types addprinc without any arguments. ticket: new Component: krb5-admin Version_Reported: 1.4.4 Target_Version: 1.6 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18955 dc483132-0cff-0310-8789-dd5450dbe970
* whitespaceKen Raeburn2006-09-121-292/+285
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18583 dc483132-0cff-0310-8789-dd5450dbe970
* whitespaceKen Raeburn2006-09-121-18/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18582 dc483132-0cff-0310-8789-dd5450dbe970
* kadmin_startup(): Turn off KLL automatic prompting support in kadminAlexandra Ellwood2006-07-181-0/+13
| | | | | | ticket: 4023 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18339 dc483132-0cff-0310-8789-dd5450dbe970
* (kadmin_cpw): Don't crash if principal name is not given. Based on aKen Raeburn2006-06-201-4/+12
| | | | | | | | | | patch from S Rahul. (extended_com_err_fn): If error code is zero, don't fetch an error message. ticket: 3308 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18179 dc483132-0cff-0310-8789-dd5450dbe970
* (kadmin_startup): Properly skip "\@" and "\/" sequences whenKen Raeburn2006-06-151-2/+2
| | | | | | | | | processing principal name, rather than going into an infinite loop. Suggested by Mark Phalan at Sun. ticket: 3697 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18148 dc483132-0cff-0310-8789-dd5450dbe970
* * lib/kadm5/alt_prof.c (kadm5_get_config_params): Replace filename andKen Raeburn2006-05-161-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | envvar arguments with a flag indicating whether KDC config data should be used. Prototype and all callers changed. (krb5_read_realm_params): Delete config file and env var arguments. Prototype and all callers changed. * lib/kadm5/admin.h (KADM5_CONFIG_PROFILE): Commented out. (struct _kadm5_config_params): Delete field PROFILE. * lib/kadm5/alt_prof.c (kadm5_get_config_params): Don't look at it. (kadm5_free_config_params): Don't free it. * kadmin/testing/tcl/util.t: Remove profile data from config params. * kadmin/testing/util/tcl_kadm5.c (config_mask_flags): Deleted KADM5_CONFIG_PROFILE entry. (parse_config_params): Changed to require 20 parameters instead of 21. * lib/kadm5/unit-test/api.2/init-v2.exp (test100): Deleted. * lib/kadm5/alt_prof.c (krb5_aprof_init): Fetch the list of config files from the library and add the caller-indicated config file to the front of the list. * lib/kadm5/clnt/client_init.c (kadm5_init_krb5_context): New function. * lib/kadm5/clnt/libkadm5clnt.exports: Export it. * lib/kadm5/srv/server_init.c: Include k5-int.h, osconf.h, gssapiP_krb5.h. (kadm5_init_krb5_context): New function. * lib/kadm5/srv/libkadm5srv.exports: Export it. * lib/kadm5/srv/Makefile.in (LOCAL_INCLUDES): Add gssapi directories. * lib/kadm5/admin.h (kadm5_init_krb5_context): Declare it. * kadmin/dbutil/kdb5_destroy.c (kdb5_destroy): Call kadm5_init_krb5_context instead of krb5_init_context. * kadmin/dbutil/dump.c (load_db): Likewise. * kadmin/dbutil/kdb5_util.c (main): Likewise. * kadmin/dbutil/kadm5_create.c (kadm5_create): Likewise. * kadmin/dbutil/kdb5_stash.c (kdb5_stash): Likewise. * kadmin/dbutil/loadv4.c (load_v4db): Likewise. * kadmin/server/ovsec_kadmd.c (main): Likewise. * kadmin/cli/kadmin.c (kadmin_startup): Likewise. * kadmin/testing/util/tcl_ovsec_kadm.c (tcl_ovsec_kadm_init): Likewise. * lib/kadm5/unit-test/lock-test.c (main): Likewise. * lib/kadm5/unit-test/handle-test.c (main): Likewise. * lib/kadm5/unit-test/randkey-test.c (main): Likewise. * lib/kadm5/unit-test/setkey-test.c (main): Likewise. * lib/kadm5/chpass_util.c (_kadm5_chpass_principal_util): Likewise. * lib/kadm5/kadm_rpc_xdr.c (xdr_krb5_principal): Likewise. * lib/krb5/os/init_os_ctx.c (add_kdc_config_file): New function. (os_init_paths): Add new argument KDC; call add_kdc_config_file if true. * lib/krb5/krb/init_ctx.c (krb5int_init_context_kdc): New function. (init_common): Add new argument KDC, passed to krb5_os_init_context. * lib/krb5/libkrb5.exports: Export krb5int_init_context_kdc. * k5-int.h (krb5_os_init_context): Update decl. * lib/kadm5/srv/server_init.c (kadm5_init): Call krb5int_init_context_kdc. * krb524/krb524d.c (main): Likewise. * lib/kadm5/unit-test/api.2/init-v2.exp: Don't run test 154 for error for $KRB5_KDC_PROFILE file not present. * lib/krb5/os/init_os_ctx.c (os_get_default_config_files): Rewrite KLL test so as not to confuse Emacs indentation support. * lib/gssapi/krb5/init_sec_context.c (kg_kdc_flag_mutex, kdc_flag): New variables. (krb5_gss_init_context, krb5_gss_use_kdc_context): New functions. * lib/gssapi/krb5/gssapiP_krb5.h (kg_kdc_flag_mutex): Declare. (krb5_gss_init_context, krb5_gss_use_kdc_context): Declare. (krb5_init_context): Define as macro to invoke krb5_gss_init_context for now. * lib/gssapi/gss_libinit.c (gssint_lib_init): Initialize the mutex. (gssint_lib_fini): Destroy it. * lib/gssapi/libgssapi_krb5.exports: Export krb5_gss_use_kdc_context. * lib/kadm5/srv/server_init.c (kadm5_init): Don't complain if the config files specify an admin server, since we now look at krb5.conf as well. * lib/kadm5/unit-test/api.2/init-v2.exp: Delete test test114 for bad server params. * plugins/kdb/db2/adb_openclose.c (osa_adb_init_db): Use krb5int_init_context_kdc instead of krb5_init_context. * kdc/rtest.c (main): Likewise. * kdc/fakeka.c (main): Likewise. * kdc/main.c (main, init_realm): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18009 dc483132-0cff-0310-8789-dd5450dbe970
* Partial merge from Novell LDAP integration branch, not including theKen Raeburn2006-04-131-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | actual LDAP bits: * include/kdb.h (krb5_db_entry_new): Add MASK field indicating what's changed. (KRB5_KDB_SRV_TYPE_*): New macros indicating which type of service is accessing the database. * lib/kadm5/srv/svr_principal.c: Set mask field. * lib/kadm5/srv/server_misc.c, server_init.c: Pass service type to krb5_db_open. * kadmin/dbutil/kdb5_stash.c (kdb5_stash): Pass service type to krb5_db_open. * kadmin/dbutil/kdb5_util.c (open_db_and_mkey): Pass service type to krb5_db_open. * kdc/main.c (init_realm): Pass service type to krb5_db_open. * lib/kadm5/srv/svr_principal.c: Set mask field. * kadmin/dbutil/dump.c (load_db): Pass service type to krb5_db_open. * lib/kdb/kdb5.h (KRB5_KDB_SRV_TYPE_*): New macros. * lib/kdb/err_handle.{c,h}: Deleted. * lib/kadm5/clnt/err_handle.{c,h}: Deleted. (krb5_db_clr_error): Declaration deleted. * lib/kdb/Makefile.in, lib/kadm5/clnt/Makefile.in: Don't build them. * lib/kdb/kdb5.c, lib/kadm5/clnt, lib/kadm5/srv: Use new error-message API. * kdc/do_tgs_req.c (process_tgs_req): Use new error-message API. * kdc/kdc_preauth.c (check_padata) * kdc/do_as_req.c (process_as_req): * kdc/main.c (init_realm): * kadmin/server/ovsec_kadmd.c (main, do_schpw): * schpw.c (process_chpw_request): * kadmin/server/server_stubs.c: * kadmin/cli/kadmin.c (extended_com_err_fn): New function. (kadmin_startup): Tell com_err library to use it, for kadmin.local. * lib/kdb/libkdb5.exports: Don't export krb5_db_clr_error. * lib/kdb/Makefile.in: (SRCS, STLIBOBJS): Don't build err_handle.c. * lib/kdb/kdb5.c (kdb_load_library): Don't pass argument to init_library. (krb5_db_clr_error): Function deleted. * lib/kdb/kdb5.h (struct _kdb_vftabl): Remove argument from init_library field. * lib/kadm5/logger.c (krb5_klog_init): Save the krb5_context pointer. (klog_com_err_proc): Use it, and call new error-message API. * lib/kadm5/srv/svr_principal.c: Use new error-message API. * kadmin/dbutil/kdb5_util.c (extended_com_err_fn): New function. (main): Tell com_err library to use it. * plugins/kdb/db2: Use new error-message APIs and updated DAL interface. * lib/kadm5/kadm_rpc.h: Delete err_str fields. * lib/kadm5/kadm_rpc_xdr.c: Don't process them. * kadmin/server/server_stubs.c: Don't use ret.err_str field. * include/k5-thread.h (k5_key_t): Deleted unused values. * lib/kdb/kdb5.h (KDB_MODULE_SECTION): Change db_modules to dbmodules. (KDB_MODULE_DEF_SECTION): New macro. * tests/Makefile.in (krb5.conf): Rename db_modules to dbmodules. * tests/dejagnu/config/default.exp (setup_krb5_conf): Likewise. * kadmin/testing/proto/krb5.conf.proto: Likewise. * lib/kdb/libkdb5.exports: Do export krb5_def_store_mkey. * lib/kadm5/admin.h (KADM5_CPW_FUNCTION, KADM5_RANDKEY_USED): New macros. (struct _kadm5_config_params): New field kpasswd_server. * lib/krb5/error_tables/kdb5_err.et (KRB5_KDB_SERVER_INTERNAL_ERR): New error code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17899 dc483132-0cff-0310-8789-dd5450dbe970
* Instead of arbitrary division of headers into include and include/krb5, withKen Raeburn2006-03-111-1/+1
| | | | | | | | | | | | 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
* Fix additional cases where krb5.h is included before k5-int.h. In most cases,Ken Raeburn2005-11-181-1/+1
| | | | | | | | | | | it suffices to remove the inclusion of k5-int.h, sometimes including errno.h or another header. In a couple cases, include order has been changed, or k5-int.h has been included instead of krb5.h. ticket: 3236 status: resolved git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17494 dc483132-0cff-0310-8789-dd5450dbe970
* Novell Database Abstraction Layer merge.Ken Raeburn2005-06-211-11/+181
| | | | | | Will probably break things. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17258 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_startup): New flag "-N" to prevent fallback toTom Yu2005-02-121-1/+4
| | | | | | | | | | | AUTH_GSSAPI. * kadmin.M: Describe "-O" and "-N" flags. ticket: 2913 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17101 dc483132-0cff-0310-8789-dd5450dbe970
* Use null pointer as service name to request host-based service nameTom Yu2004-06-241-8/+1
| | | | | | ticket: 2613 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16515 dc483132-0cff-0310-8789-dd5450dbe970
* use host-based service name for kadmin clientTom Yu2004-06-241-3/+16
| | | | | | | | | | | * kadmin.c (kadmin_startup): Use host-based service name from kadm5_get_admin_service_name() for SEAM compatibility when old AUTH_GSSAPI not requested. ticket: new component: krb5-admin git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16510 dc483132-0cff-0310-8789-dd5450dbe970
* This commit merges the RPCSEC_GSS integration branch onto the trunk.Tom Yu2004-06-161-1/+4
| | | | | | | | | | | | | | | | | | | Remaining work includes: * Default to using kadmin/fqdn for SEAM compatibility * Namespace cleanups and other API tweaks -- this API is not stable yet * Fix lib/rpc/unit-test testsuite to test RPCSEC_GSS in addition to AUTH_GSSAPI Additional work will be tracked in separate tickets. This merge is bracketed between the tags "tlyu-umich-rpc-merge-pre" and "tlyu-umich-rpc-merge-post". ticket: 2578 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16467 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.h, keytab.c: Remove inclusion of k5-int.hEzra Peisach2004-05-311-1/+0
| | | | | | Nothing internal is referenced - krb5.h is sufficient. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16380 dc483132-0cff-0310-8789-dd5450dbe970
* * getdate.y: Include krb5.h and kadmin.h.Ken Raeburn2004-05-301-7/+6
| | | | | | | | | | | | (get_date): Drop second argument; always use NULL. * kadmin.h: Include time.h and/or sys/time.h. (get_date): Declare. * kadmin.c (get_date): Don't declare. (kadmin_parse_princ_args, kadmin_parse_policy_args): Drop second argument to get_date. * Makefile.in (LOCALINCLUDES): Define. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16376 dc483132-0cff-0310-8789-dd5450dbe970
* Added a little more buffer space than the supplied patch, and used sizeofKen Raeburn2003-07-241-2/+2
| | | | | | | | | | | * kadmin.c (strdate): Increase size of buffer to 40. Use sizeof for length passed to strftime. ticket: 1613 target_version: 1.3.2 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15735 dc483132-0cff-0310-8789-dd5450dbe970
* Register writable keytabs by defaultSam Hartman2003-05-191-6/+0
| | | | | | | | | | | | | | | | We have a customer requirement to support writable keytabs using the public API in 1.3 Discussion on krbcore indicates there is no good reason why these are not registered by default. So, they are now registered by default. Also adjust other code in the tree not to try and register them. Ticket: new Target_Version: 1.3 Component: krb5-libs Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15459 dc483132-0cff-0310-8789-dd5450dbe970
* This commit fixes up the in-tree callers of krb5_read_password() andTom Yu2002-11-061-4/+4
| | | | | | | | | | 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
* libkadm5 should allow persistent locksTom Yu2002-10-081-0/+45
| | | | | | | | | | | libkadm5 should have a way to persistently lock the databases to avoid wasting time on closing and reopening. These patches implement persistent exclusive locks for local access only. ticket: new target_version: 1.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14914 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_parse_name): Properly advance pointer in certain error casesKen Raeburn2001-10-101-1/+1
| | | | | | involving '@'. Patch from Emily Ratliff, <ratliff@austin.ibm.com>. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13795 dc483132-0cff-0310-8789-dd5450dbe970
* * ss_wrapper.c: Include kadmin.hEzra Peisach2001-02-261-40/+50
| | | | | | | | | | | | | | * kadmin.c, keytab.c: Warning cleanup of shadowing variables, missing prototypes, assignments within conditionals. variables type mismatches. * getdate.y: Prototypes in file are for getdate_yylex() and getdaye_yyerror() and not yylex()/yyerror(). * kadmin.h: New header file with ss callback prototypes and global variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13026 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_cpw): Argument to krb5_read_password changed toEzra Peisach2000-10-171-2/+2
| | | | | | unsigned int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12790 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (strdur): Print negative durations somewhat (!)Tom Yu2000-10-171-3/+16
| | | | | | | | sanely. (kadmin_startup): Call krb5_klog_init() to avoid coredumping if kadm5_init() logs something via krb5_klog_syslog(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12764 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_getpol): Change format strings from %d to %ldEzra Peisach2000-10-031-11/+7
| | | | | | | | to match the policy types which are longs. * getdate.y: Include stdlib.h if present on system. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12704 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2-beta4Ken Raeburn2000-07-011-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12497 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_cpw): Initialize ks_tuple to NULLTom Yu2000-03-011-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12094 dc483132-0cff-0310-8789-dd5450dbe970
* Update client and server to reflect removal of keepold argument fromTom Yu2000-02-271-21/+10
| | | | | | create_principal_3. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12083 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_modprinc): Complain if -pw option is given,Ken Raeburn2000-02-261-0/+7
| | | | | | since it's ignored. Patch from Matt Crawford. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12080 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c (add_usage): Update usage message.Tom Yu2000-02-191-17/+150
| | | | | | | | | | | | | | | (kadmin_keytab_add): Update to deal with explicit keysalt lists. (add_principal): Update to deal with explicit keysalt lists. * kadmin.c (kadmin_cpw): Add support for new api. (kadmin_parse_princ_args): Add support for new api, particularly -keepold to keep old keys around and -e to explicitly specify key-salt tuples. (kadmin_addprinc_usage): Update usage accordingly. (kadmin_addprinc): Add support for new api. (kadmin_modprinc): Update to call new parse_princ_args reasonably. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12056 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
* * kadmin.c (quit): Call krb5_free_contextEzra Peisach1997-10-071-0/+1
| | | | | | | Makes it easier to search for memory leaks with purify if the context memory is freed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10215 dc483132-0cff-0310-8789-dd5450dbe970
* add kadm5_setkey_principalBarry Jaspan1997-04-231-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10072 dc483132-0cff-0310-8789-dd5450dbe970
* Removed unneeded call to krb5_init_etsRichard Basch1997-02-201-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9920 dc483132-0cff-0310-8789-dd5450dbe970
* Do not compare an int to NULL. Under Linux, warning about a pointer to intEzra Peisach1996-12-171-1/+1
| | | | | | comparision. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9638 dc483132-0cff-0310-8789-dd5450dbe970
* Merge V1_0_FREEZE_3 into the mainline. (Note this merge does *not*Theodore Tso1996-12-131-1/+1
| | | | | | include the doc subtree!!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9632 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_addprinc): print warning/notice about no policyBarry Jaspan1996-12-031-8/+22
| | | | | | and default policy [krb5-admin/252] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9597 dc483132-0cff-0310-8789-dd5450dbe970
* revert kt_default_name changes; see ChangeLogs for detailsTom Yu1996-11-131-18/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9407 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c (process_keytab): Retrieve *keytab_str usingTom Yu1996-11-131-3/+18
| | | | | | | | | | krb5_kt_default_name() to avoid global variable nastiness. * kadmin.c (kadmin_startup): Use krb5_kt_set_default_name to change the default keytab name rather than assigning to a library global variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9394 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_cpw): fix typo [krb5-admin/139]Barry Jaspan1996-11-011-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9269 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_addprinc): use a studly temporary password whenBarry Jaspan1996-10-181-3/+8
| | | | | | | | creating a principal with a random key (no, the security of this operation does not depend on the secrecy of the password) [krb5-admin/115] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9210 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_addprinc): add "default" policy behavior;Barry Jaspan1996-10-091-73/+18
| | | | | | | | | delete kadmin_renprinc entirely, since it is no longer supported by the api and there is no ss command for it anyway * kadmin.M: document "default" policy behavior. [krb5-admin/84] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9158 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_renprinc): Changed newcanon to oldcanon in theKevin Mitchell1996-10-041-1/+1
| | | | | | | "make sure blah is removed from acls before reusing" message git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9146 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_startup): -m doesn't take an argumentMark Eichin1996-09-111-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9075 dc483132-0cff-0310-8789-dd5450dbe970
* Fix the usage messages to state -randkey, not -randpass, to conformTheodore Tso1996-09-091-2/+2
| | | | | | with what the code (and man pages) use. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9061 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c: add newlines to "invalid date spec" msgBarry Jaspan1996-08-231-6/+6
| | | | | | * getdate.y: add "never" as a valid date specification git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8970 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c: memset policy structures before passing them toBarry Jaspan1996-08-211-2/+4
| | | | | | | kadm5_*_policy functions, so stack garbage >=2^32 doesn't end up in a long field and confuse xdr git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8960 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c: prints absolute 0 dates as "[never]", print mod dateBarry Jaspan1996-08-191-16/+48
| | | | | | and by on one line, fix coredump on getprinc -terse git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8954 dc483132-0cff-0310-8789-dd5450dbe970