summaryrefslogtreecommitdiffstats
path: root/src/kadmin/cli
Commit message (Collapse)AuthorAgeFilesLines
* * kadmin.c (quit): Call krb5_free_contextEzra Peisach1997-10-072-0/+5
| | | | | | | 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
* remove occurences of USE_STRING_H, HAS_STRDUP, and HAS_LABSTom Yu1997-09-192-1/+5
| | | | | | (see ChangeLogs for details) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10199 dc483132-0cff-0310-8789-dd5450dbe970
* * dump.c: Update to new kdb APITom Yu1997-07-252-3/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10134 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c (add_principal): Don't call kadm5_free_key_data; that'sTom Yu1997-06-272-1/+10
| | | | | | Just Wrong here and was causing coredumps. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10102 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c (add_principal): use kadm5_free_key_dataBarry Jaspan1997-05-282-5/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10088 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-202-2/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9920 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-093-13/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9831 dc483132-0cff-0310-8789-dd5450dbe970
* Do not compare an int to NULL. Under Linux, warning about a pointer to intEzra Peisach1996-12-172-1/+5
| | | | | | 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-133-11/+18
| | | | | | 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-032-8/+27
| | | | | | and default policy [krb5-admin/252] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9597 dc483132-0cff-0310-8789-dd5450dbe970
* make clean was missing some things; see ChangeLogs for detailsTom Yu1996-11-142-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9409 dc483132-0cff-0310-8789-dd5450dbe970
* revert kt_default_name changes; see ChangeLogs for detailsTom Yu1996-11-133-27/+20
| | | | 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-133-6/+36
| | | | | | | | | | 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
* Remove calls to macros that are a part of CONFIG_RULES;Tom Yu1996-11-082-2/+4
| | | | | | see ChangeLogs for details git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9338 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_cpw): fix typo [krb5-admin/139]Barry Jaspan1996-11-012-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9269 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.M: update ktadd's description [krb5-doc/137]Barry Jaspan1996-10-302-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9254 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_addprinc): use a studly temporary password whenBarry Jaspan1996-10-182-3/+13
| | | | | | | | 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
* * getdate.y: remove military timezones and plain integeres as partBarry Jaspan1996-10-182-70/+6
| | | | | | | of date specifications, to reduce confusion by redundancy [krb5-admin/15] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9201 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_addprinc): add "default" policy behavior;Barry Jaspan1996-10-093-76/+44
| | | | | | | | | 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-042-1/+7
| | | | | | | "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
* * getdate.y: add lots of commentsBarry Jaspan1996-09-252-1/+79
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9114 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_startup): -m doesn't take an argumentMark Eichin1996-09-112-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9075 dc483132-0cff-0310-8789-dd5450dbe970
* remove ".so man1/header.doc" and extra args to .THTom Yu1996-09-102-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9069 dc483132-0cff-0310-8789-dd5450dbe970
* Fix the usage messages to state -randkey, not -randpass, to conformTheodore Tso1996-09-092-2/+8
| | | | | | with what the code (and man pages) use. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9061 dc483132-0cff-0310-8789-dd5450dbe970
* getdate.y: Declare a private copy of struct timeb to be used internallyEzra Peisach1996-09-062-11/+14
| | | | | | | | in this file. The problem is that Sun's C compiler doesn't deal gracefully with the pragmas for the declared structure which causes coredumps. Gcc of course works. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9037 dc483132-0cff-0310-8789-dd5450dbe970
* Removing attic files from the live source treeTheodore Tso1996-09-049-2467/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9023 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo: ($PROG) -> $(PROG)Theodore Tso1996-09-042-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9022 dc483132-0cff-0310-8789-dd5450dbe970
* man page rewrite from Cygnus. Renamed the file kadmin.M. (kadmin.1 isJeff Bigler1996-08-295-453/+769
| | | | | | | just wrong, since it's in section 8.) Added kadmin.local.M, which is just a pointer to kadmin.M. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9009 dc483132-0cff-0310-8789-dd5450dbe970
* Call appropriate macros to fully used shared libraries so that theSam Hartman1996-08-232-0/+5
| | | | | | appropriate runpath is set. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8971 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c: add newlines to "invalid date spec" msgBarry Jaspan1996-08-233-9/+25
| | | | | | * 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-212-2/+10
| | | | | | | 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-192-16/+51
| | | | | | 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
* * Makefile.in: add target for datetestBarry Jaspan1996-08-193-6/+17
| | | | | | * getdate.y: accept dates after 1999 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8953 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c: update addprinc and modprinc usageBarry Jaspan1996-08-162-7/+26
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8948 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: remove check for -ldbm and -lndbm (old oldTom Yu1996-08-162-2/+5
| | | | | | garbage). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8947 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.1: Remove rename_principal. Add -maxrenewlifeEzra Peisach1996-08-133-24/+24
| | | | | | | | * kadmin.c (kadmin_getprinc): Display the maximum renewable life field. (kadmin_parse_princ_args): Add -maxrenwlife as a settable field. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8933 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin_ct.ct: fix typo in add_principalBarry Jaspan1996-08-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8926 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c: reset static global "quiet" each time; don't printBarry Jaspan1996-08-112-4/+11
| | | | | | whoami on normal status messages git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8923 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin_ct.ct: get_{principals,policies} -> list_*; removeBarry Jaspan1996-08-062-4/+2
| | | | | | rename_principal git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8915 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin_ct.ct: get_{principals,policies} -> list_*Barry Jaspan1996-08-062-4/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8914 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c: remove unsupported -salt option from ank usageBarry Jaspan1996-08-062-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8913 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c (add_principal): free_keyblock -> free_keyblock_contentsBarry Jaspan1996-08-022-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8893 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Tom Yu1996-07-311-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8873 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c: Remove delcaration for getpwuid(); already declared inTom Yu1996-07-311-1/+0
| | | | | | pwd.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8872 dc483132-0cff-0310-8789-dd5450dbe970
* Actually install kadmin.local. (Or rather, don't install kadmin.localTheodore Tso1996-07-262-1/+7
| | | | | | as kadmin, and then reinstall kadmin on top of kadmin. :-) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8838 dc483132-0cff-0310-8789-dd5450dbe970
* Remove setenv.c and use krb5_setenv instead. This version of setenvSam Hartman1996-07-263-166/+6
| | | | | | | had major prototype problems, was redundant, and was older than all seven of the other versions in the tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8828 dc483132-0cff-0310-8789-dd5450dbe970
* kadmin.c (quit): Return zero so that we return the proper exit status.Theodore Tso1996-07-252-1/+8
| | | | | | (kadmin_getprivs): Declare function as returning void git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8822 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (all): Use $(LD) instead of $(CC) for link stageEzra Peisach1996-07-244-2/+25
| | | | | | | | | | | | | * dump.c (dump_db): Zero out kadm5_principal_ent_rec structure before passing to rpc code. * kadmin.c (kadmin_addprinc, kadmin_getprinc, kadmin_modprinc): Zero out structures before passing to rpc code. This is because uninitialized longs in the structures cause xdr_long to fail if the higher 32/64 bits are set on the Alpha. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8796 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: add dependency for kadmin_ct.oTom Yu1996-07-232-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8784 dc483132-0cff-0310-8789-dd5450dbe970