summaryrefslogtreecommitdiffstats
path: root/src/kadmin
Commit message (Collapse)AuthorAgeFilesLines
...
* * proto_serv.c (proto_serv): For error return,strdup the returnedEzra Peisach2000-02-282-1/+7
| | | | | | value from error_message to maintain its const status. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12087 dc483132-0cff-0310-8789-dd5450dbe970
* Update client and server to reflect removal of keepold argument fromTom Yu2000-02-274-22/+22
| | | | | | 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-262-0/+12
| | | | | | since it's ignored. Patch from Matt Crawford. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12080 dc483132-0cff-0310-8789-dd5450dbe970
* * kpasswd.0/changing.exp: Add a sleep to avoid a race with theTom Yu2000-02-232-0/+9
| | | | | | | setup script. If this isn't here, it is possible that the initial change of pol2's password may happen too soon. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12064 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_rpc_svc.c (kadm_1): Update to include new api functionsTom Yu2000-02-193-0/+40
| | | | | | * ovsec_kadmd.c (log_badverf): Update proc_names. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12057 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c (add_usage): Update usage message.Tom Yu2000-02-193-20/+197
| | | | | | | | | | | | | | | (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
* * server_stubs.c: Add create_principal3_1, chpass_principal3_1,Tom Yu2000-02-182-0/+256
| | | | | | | setkey_principal3_1, and chrand_principal3_1 to do the obvious things. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12053 dc483132-0cff-0310-8789-dd5450dbe970
* * lib/helpers.exp: Fix to call kinit and kdestroy with the -5 flagTom Yu2000-02-082-2/+7
| | | | | | to accomodate new program behavior. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12023 dc483132-0cff-0310-8789-dd5450dbe970
* * kpasswd.0/changing.exp: Fix y2k bugTom Yu2000-01-242-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11967 dc483132-0cff-0310-8789-dd5450dbe970
* log tritan's changesTom Yu1999-10-2611-0/+77
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11877 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, LOCAL_INCLUDES suchWilfredo Sanchez1999-10-2611-14/+9
| | | | | | | that one can override CFLAGS from the command line without losing CPP search patchs and defines. Some associated Makefile cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11876 dc483132-0cff-0310-8789-dd5450dbe970
* copyright notice updates from 1.1 branchKen Raeburn1999-09-2427-27/+108
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11853 dc483132-0cff-0310-8789-dd5450dbe970
* Disable outdated test suite. Update an expiration date that has already passedKen Raeburn1999-09-013-3/+17
| | | | | | in the test code, putting it into the future again. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11760 dc483132-0cff-0310-8789-dd5450dbe970
* y2k fix from 1.1 branchKen Raeburn1999-09-012-6/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11759 dc483132-0cff-0310-8789-dd5450dbe970
* * ktutil_funcs.c (ktutil_add): Cleanup newly allocated keytabGeoffrey King1999-08-182-20/+40
| | | | | | entry and tail of linked list when an error occurs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11676 dc483132-0cff-0310-8789-dd5450dbe970
* Added "addent" command to allow creation of new keytab entries byGeoffrey King1999-08-165-9/+212
| | | | | | specifying a key or password, a principal, a kvno, and an enctype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11664 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_util.c (main): Do try using com_err in the case that krb5_init_contextKen Raeburn1999-07-072-2/+6
| | | | | | | fails, instead of fprintf of the error number. (cf krb5-bugs db #499, 13-Nov-1997) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11546 dc483132-0cff-0310-8789-dd5450dbe970
* Fix how we specify the OID so it's in a format gss_str_to_oid likesTheodore Tso1999-05-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11437 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c: Remove include of gssapi_krb5.h - no longer neededEzra Peisach1999-05-112-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11434 dc483132-0cff-0310-8789-dd5450dbe970
* ovsec_kadmd.c: Remove dependency on gssapi_krb5.h by usingTheodore Tso1999-05-072-37/+108
| | | | | | | | | gss_str_to_oid() to get the necessary oid for the krb5_name name type. Also added #include files to get prototypes and fixed some gcc -Wall nits. Fixed calls to krb5_klog_close() to pass the krb5_context as an argument. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11427 dc483132-0cff-0310-8789-dd5450dbe970
* * ovsec_kadmd.c (log_badverf): Actually make a real lookup tableTom Yu1999-03-022-17/+51
| | | | | | | | for procedure numbers. Also, if we don't find the procedure number, just log the number rather than falling off the end of an array. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11234 dc483132-0cff-0310-8789-dd5450dbe970
* netbsd1.def (UTMP_FILE, WTMP_FILE): Update filenames to comply withTheodore Tso1999-01-222-2/+9
| | | | | | | netbsd system. (Not actually used by our configuration system, but I'll update the file.) Submitted by ghudson, [krb5-admin/522] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11117 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (CFLAGS): PW_CHECK functionality now in DEFSTom Yu1999-01-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11106 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Define NDBM_PW_CHECK if enable_athena is set toTom Yu1999-01-122-0/+11
| | | | | | deal with v4kadmind kludge. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11105 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-0528-0/+98
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11082 dc483132-0cff-0310-8789-dd5450dbe970
* * dump.c: Fix up to work with new crypto APITom Yu1998-11-032-26/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11010 dc483132-0cff-0310-8789-dd5450dbe970
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-3017-223/+453
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for changing the master key for a database as part ofTheodore Tso1998-09-302-26/+167
| | | | | | creating a dump of the database. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10952 dc483132-0cff-0310-8789-dd5450dbe970
* ovsec_kadmd.c (main): Cast gss_nt_krb5_name to gss_OIDGeoffrey King1998-07-222-3/+8
| | | | | | to avoid compiler warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10714 dc483132-0cff-0310-8789-dd5450dbe970
* Call krb5_klog_reopen in kadm_svc_run upon receiving a SIGHUP. UseGeoffrey King1998-07-212-25/+81
| | | | | | | | | | | sigaction instead of signal if POSIX_SIGNALS is defined. All of the calls to signal and sigaction are now in a separate function setup_signal_handlers, as the kdc code does. Also, since reset_db no longer does anything, change the name of signal_request_reset to the more descriptive signal_request_hup, and request_reset_db to request_hup (paralleling the nomenclature in the kdc code). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10712 dc483132-0cff-0310-8789-dd5450dbe970
* * schpw.c (process_chpw_request): Cast to krb5_octet * instead ofEzra Peisach1998-07-202-3/+8
| | | | | | | | char * for krb5_address.contents type. This is a char * to unsigned char * warning fix. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10711 dc483132-0cff-0310-8789-dd5450dbe970
* * acl_files.c: Include stdlib.h if presentEzra Peisach1998-07-202-0/+7
| | | | | | (for malloc declarations) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10710 dc483132-0cff-0310-8789-dd5450dbe970
* * tcl_kadm5.c (parse_tl_data): Change cast from char * toEzra Peisach1998-07-163-5/+15
| | | | | | | | | | | krb5_octet *. (tcl_kadm5_free_principal_ent, tcl_kadm5_free_policy_ent): Add cast to value returned by Tcl_GetHashValue. * tcl_ovsec_kadm.c (tcl_ovsec_kadm_free_principal_ent): Cast return of Tcl_GetHashValue. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10650 dc483132-0cff-0310-8789-dd5450dbe970
* Preliminary fixes for AIX4.3:Sam Hartman1998-07-122-1/+2
| | | | | | | | | | | * Fix static libs on platforms using .a for shared libs * Fix utmp handling for non-hpux platforms with ut_exit different from utmpx. * Include librarymacros in ss configure.in * Remove declarations of h_errno git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10632 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_server.c (kadm_ser_cpw): Re-enable "old-style" passwordTom Yu1998-07-102-26/+46
| | | | | | | | changing. Yes, it's potentially a problem due to lack of quality checking, but we'll live with that because we can use key-hash-based checks too. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10630 dc483132-0cff-0310-8789-dd5450dbe970
* kadm_ser_wrap.c (kadm_ser_init): Use krb5_425_conv_principal insteadTheodore Tso1998-07-082-6/+9
| | | | | | of krb5_build_principal to create the changepw sprinc principal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10625 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (build_pwfile): Add rule to build the build_pwfile programTheodore Tso1998-07-035-50/+200
| | | | | | | | | | | | kadm_server.c (kadm_ser_cpw): Put the call to the kadm_approve_pw in the common code, so it's executed even if KADM5 is defined. Add appropriate syslogs to the change password processing. kadm_funcs.c (pwstring;): If NDBM_PW_CHECK is defined, then do the NDBM-based dictionary check. Build kadmind4 using the make option PW_CHECK=-DNDBM_PW_CHECK if this feature is desired. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10621 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_server.c (krb_log): Print the year using 4 digit to avoidTheodore Tso1998-05-082-2/+7
| | | | | | Y2K issues. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10556 dc483132-0cff-0310-8789-dd5450dbe970
* POSIX states that getopt returns -1 when it is done parsing options,Theodore Tso1998-05-062-1/+6
| | | | | | not EOF. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10552 dc483132-0cff-0310-8789-dd5450dbe970
* POSIX states that getopt returns -1 when it is done parsing options,Theodore Tso1998-05-066-4/+16
| | | | | | not EOF. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10550 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Enable v4 kadmin tests only if athenaEzra Peisach1998-03-032-1/+6
| | | | | | compatibility is enabled. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10496 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Enable v4 kadmin tests only if athenaEzra Peisach1998-03-032-0/+12
| | | | | | compatibility is enabled. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10495 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (env-setup.stmp): If env-setup.stamp needs to be rebuilt,Theodore Tso1998-03-023-3/+15
| | | | | | | | | set CONFIG_FILES so that we only regenerate that one file. env-setup.shin: Rename SRCTOPDIR to S_TOP, which has been fixed to deal with absolute source paths. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10488 dc483132-0cff-0310-8789-dd5450dbe970
* Define S_TOP to contain an absolute pathname to the top of the sourceTheodore Tso1998-03-022-5/+12
| | | | | | tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10487 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.shin (STOP): SRCTOP -> SRCTOPDIRTom Yu1998-03-012-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10485 dc483132-0cff-0310-8789-dd5450dbe970
* document previousTom Yu1998-03-011-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10484 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Fix up somewhat (SRCTOP -> SRCTOPDIR) and also getTom Yu1998-03-011-1/+2
| | | | | | directory correct. (`pwd`/..) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10483 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (env-setup.stamp): Fix up to use $(thisconfigdir)Tom Yu1998-02-282-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10482 dc483132-0cff-0310-8789-dd5450dbe970
* Collapse all configure.in files under the kadmin directory into theTheodore Tso1998-02-2840-142/+156
| | | | | | kadmin directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10481 dc483132-0cff-0310-8789-dd5450dbe970
* * schpw.c (process_chpw_request): Free memory of allocated forEzra Peisach1998-02-253-4/+20
| | | | | | | | | local address. * ovsec_kadmd.c (do_schpw): Call krb5_kt_close to free memory allocated in keytab routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10474 dc483132-0cff-0310-8789-dd5450dbe970