summaryrefslogtreecommitdiffstats
path: root/src/kadmin/v4server
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2002-08-294-2/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore a bunch of files generated by building in the source tree, excludingKen Raeburn2002-08-291-0/+3
| | | | | | | those covered by CVSROOT/cvsignore patterns. Static UNIX build only, at the moment, may need updates for other configurations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14783 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-234-2/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
* * acl_files.c (canon;): Properly handle appending of the localTom Yu2002-08-142-1/+13
| | | | | | realm, which was botched due to a buffer-overflow patch. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14708 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_server.h: Update prototype for convert_kadm5_to_kadmEzra Peisach2001-11-193-4/+13
| | | | | | | | | * admin_server.c (process_client): Do not assign negative value to unsigned variable. (convert_kadm5_to_kadm): Return krb5_int32 instead of krb5_ui_4 to be compatible with error codes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13993 dc483132-0cff-0310-8789-dd5450dbe970
* * admin_server.c: Provide prototype for do_child and declare staticEzra Peisach2001-07-092-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13597 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_server.h: Add prototypes for missing acl_ functionsEzra Peisach2001-07-016-17/+36
| | | | | | | | | | | | * admin_server.c, kadm_func.c: Declare functions static that are local to file. * acl_files.c: Include kadm_server.h for prototypes. Flush out static prototype for acl_abort. * kadm_supp.c: Include kadm_server.h for prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13539 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_supp.c (prin_vals): Pass time_t * to localtime instead ofEzra Peisach2001-06-212-1/+7
| | | | | | long *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13465 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_funcs.c: Cast argument to isalnum()/isdigit() to intEzra Peisach2001-06-183-7/+13
| | | | | | * acl_files.c (nuke_whitespace): Cast argument to isspace() to int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13375 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_supp.c: Include string.h for strncpy() prototypeEzra Peisach2001-06-112-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13322 dc483132-0cff-0310-8789-dd5450dbe970
* kdm_ser_wrap.c: Argument to quad_cksum is C_Block * - not C_Block.Ezra Peisach2001-06-082-1/+8
| | | | | | (kadm_ser_init): Declare as returning int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13315 dc483132-0cff-0310-8789-dd5450dbe970
* * acl_files.c, admin_server.c, kadm_funcs.c, kadm_ser_wrap.c:Ezra Peisach2001-06-079-32/+186
| | | | | | | | | | | | | | | | | | | | | | | | Explicitly declare function return types and cleanup assignments in conditionals. * kadm_server.c: Include kadm_server.h and cleanup assignments in conditionals. * kadm_server.h: Include kadm5/admin.h, kadm.h, krb_db.h for structure defintions so that many prototypes may be added to this file. * kadm_stream.c: Include kadm_server.h for prototypes. Explicitly declare functions as ints. (stream_to_vals) Assumption made that pointer to long the same size as krb5_ui_4 fixed. * kadm_supp.c: Include sys/param.h early so that MAXHOSTNAMELEN is not defined by kadm.h and later redefined. In prin_vals(), key_high and key_low elements of the Kadm_vals structure are longs - use an appropriate format to printf. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13299 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_ser_wrap.c (kadm_ser_in): Update call to mk_priv()Tom Yu2000-10-242-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12808 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_funcs.c: Call life_to_time() and time_to_life() asTom Yu2000-10-102-3/+8
| | | | | | appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12753 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: kadmin4d depends on the kdb5 libEzra Peisach2000-07-032-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12517 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2-beta4Ken Raeburn2000-07-016-16/+94
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12497 dc483132-0cff-0310-8789-dd5450dbe970
* Change wsanchez@apple -> tritan@mitWilfredo Sanchez2000-06-011-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12331 dc483132-0cff-0310-8789-dd5450dbe970
* Put kadmin server binaries in SERVER_BINDIR, not ADMIN_BINDIR.Wilfredo Sanchez2000-05-041-1/+1
| | | | | | (The default for each is the same.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12227 dc483132-0cff-0310-8789-dd5450dbe970
* log tritan's changesTom Yu1999-10-261-0/+7
| | | | 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-261-3/+2
| | | | | | | 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
* 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
* * 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
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-054-0/+14
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11082 dc483132-0cff-0310-8789-dd5450dbe970
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-306-28/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 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
* * 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
* * 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
* Collapse all configure.in files under the kadmin directory into theTheodore Tso1998-02-286-30/+15
| | | | | | kadmin directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10481 dc483132-0cff-0310-8789-dd5450dbe970
* Remove trailing slash from thisconfigdir. Change directory syntaxTom Yu1998-02-184-4/+14
| | | | | | used in BUILDTOP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10464 dc483132-0cff-0310-8789-dd5450dbe970
* Mass makefile/configure.in build system revampTheodore Tso1998-02-124-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_server.h: Declare kadm_context as extern so it will not beEzra Peisach1997-10-232-1/+6
| | | | | | multiply defined in all source files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10247 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Add support for compiling with HesiodTom Yu1997-08-072-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10163 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_funcs.c: Remove mention of dbm for now. It should probablyTom Yu1997-07-252-1/+10
| | | | | | be added back later to deal with dbm-hashed passwd files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10136 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_funcs.c, kadm_server.c, kadm_ser_wrap.c: Reenable mod andTom Yu1997-07-014-177/+115
| | | | | | check_pw. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10113 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_funcs.c, kadm_server.c, kadm_ser_wrap.c: Reenable get andTom Yu1997-07-014-308/+253
| | | | | | add. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10112 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_funcs.c (kadm_chg_srvtab): Remove extraneous macros thatTom Yu1997-06-182-35/+46
| | | | | | were elaborate contortions to avoid using goto. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10100 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (OBJS): Build kadm_funcs.c againTom Yu1997-05-275-137/+186
| | | | | | | | | | | * kadm_funcs.c: Re-enable kadm_chg_srvtab() and update it to use the new kadm5 interface. * kadm_ser_wrap.c: Re-enable kadm_ser_stab(). * kadm_server.c: Re-enable kadm_ser_stab(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10087 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in:Tom Yu1997-05-145-77/+86
| | | | | | | | | | * admin_server.c: * kadm_server.c: * kadm_ser_wrap.c: Convert to use new kadm5 API; this still needs work to remove references to krb5_db and to regain full v4 kadmind functionality (or as much as is possible). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10086 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Do not run test suite unless Athena compatibilityEzra Peisach1997-02-223-1/+30
| | | | | | | | | | | is specified as well as tcl, Perl, runtest. * Makefile.in (check): Do not run tests unless really setup to do so. We probably will need to add more logic into this - such as checking that /usr/athena/bin/kadmin exists and that we are running as root. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9961 dc483132-0cff-0310-8789-dd5450dbe970
* Call krb5_db_fini to cleanup the db_contextRichard Basch1997-02-201-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9923 dc483132-0cff-0310-8789-dd5450dbe970
* * acl_files.c: Do not declare malloc() or calloc() if stdlib.h existsEzra Peisach1997-02-182-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9900 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-093-12/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9831 dc483132-0cff-0310-8789-dd5450dbe970
* Merge V1_0_FREEZE_3 into the mainline. (Note this merge does *not*Theodore Tso1996-12-132-1/+7
| | | | | | include the doc subtree!!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9632 dc483132-0cff-0310-8789-dd5450dbe970
* make clean was missing some things; see ChangeLogs for detailsTom Yu1996-11-142-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9409 dc483132-0cff-0310-8789-dd5450dbe970
* missed some ChangeLogsTom Yu1996-11-121-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9381 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to support AC_CANONICAL_HOST for runtest flags; seeTom Yu1996-11-121-0/+1
| | | | | | ChangeLogs for details. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9378 dc483132-0cff-0310-8789-dd5450dbe970