summaryrefslogtreecommitdiffstats
path: root/src/kadmin
Commit message (Collapse)AuthorAgeFilesLines
* * misc.c (check_min_life): Actually return a value on successTom Yu2004-10-282-3/+5
| | | | | | ticket: 1335 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16843 dc483132-0cff-0310-8789-dd5450dbe970
* * misc.c, misc.h: New function check_min_life(), containing commonTom Yu2004-10-274-40/+49
| | | | | | | | | | | | | code from wrapper functions. New function chpass_util_wrapper(), which does min_life checking prior to calling kadm5_chpass_principal_util(). * schpw.c (process_chpw_request): Call chpass_util_wrapper(). ticket: 1335 component: krb5-admin git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16841 dc483132-0cff-0310-8789-dd5450dbe970
* * start_servers_local: If one of the servers failed to start, log info aboutKen Raeburn2004-09-302-0/+11
| | | | | | which start file was not found. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16794 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for sockaddr_in.sin_len andTom Yu2004-09-212-2/+7
| | | | | | | | | | | | | | | | | | | | | | sockaddr.sa_len. Check for sys/param.h in case we need NBBY somewhere. * auth.h, svc_auth.h: Namespace cleanup. * svc.h, rpc_commondata.c: New global svc_maxfd. * svc.c (svc_getreqset): Break inner part of loop out into local function svc_do_xprt(). Don't use rpc_dtablesize(); instead, use svc_maxfd. * svc_run.c: Don't use rpc_dtablesize(). * clnt_generic.c, clnt_simple.c, getrpcport.c: * svc_tcp.c, svc_udp.c: Set sockaddr_in.sin_len when available. * ovsec_kadmd.c (kadm_svc_run): Don't use rpc_dtablesize(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16770 dc483132-0cff-0310-8789-dd5450dbe970
* Use a new variable, $(INSTALL_SCRIPT) to install scripts, so theyTom Yu2004-09-172-1/+5
| | | | | | | | | | | won't get stripped when someone does "make install-strip". ticket: new tags: pullup target_version: 1.3.6 component: krb5-build git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16767 dc483132-0cff-0310-8789-dd5450dbe970
* Finally applied patch from Nalin Dahyabhai at Red Hat to fix 0/NULL bugs inKen Raeburn2004-08-272-3/+9
| | | | | | | | | variadic argument lists to krb5_build_principal{,_ext}. Skipped the stylistic patches that removed casts of NULL. tag: 1850 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16693 dc483132-0cff-0310-8789-dd5450dbe970
* renamed acl_* functions to kadm5int_acl_*Alexandra Ellwood2004-08-203-25/+30
| | | | | | ticket: 2674 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16673 dc483132-0cff-0310-8789-dd5450dbe970
* * tcl_kadm5.c (parse_flags, parse_keysalts, parse_key_data, parse_tl_data,Ken Raeburn2004-07-283-15/+26
| | | | | | | | | parse_principal_ent, parse_policy_ent): Use Tcl_Free, not free, to release storage allocated by Tcl_SplitList. * tcl_ovsec_kadm.c (parse_flags, parse_principal_ent, parse_policy_ent): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16626 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.M: Put space after ".B" directiveKen Raeburn2004-07-162-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16606 dc483132-0cff-0310-8789-dd5450dbe970
* * ovsec_kadmd.c (log_badverf): Fix a missed rpc_u_int32Tom Yu2004-06-262-1/+5
| | | | | | | ticket: 2601 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16523 dc483132-0cff-0310-8789-dd5450dbe970
* more namespace cleanup: remove uses of rpc_int32 and rpc_u_int32Tom Yu2004-06-252-1/+6
| | | | | | | ticket: 2601 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16522 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-242-3/+22
| | | | | | | | | | | * 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
* make dependTom Yu2004-06-161-14/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16470 dc483132-0cff-0310-8789-dd5450dbe970
* This commit merges the RPCSEC_GSS integration branch onto the trunk.Tom Yu2004-06-169-50/+243
| | | | | | | | | | | | | | | | | | | 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-313-2/+4
| | | | | | 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-305-9/+38
| | | | | | | | | | | | (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
* update dependenciesKen Raeburn2004-04-242-18/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16273 dc483132-0cff-0310-8789-dd5450dbe970
* One less kg_get_context call..Ken Raeburn2004-03-212-7/+9
| | | | | | | | * ovsec_kadmd.c (main): Use any handy krb5 context to register the KDB keytab type, we don't need to pluck it out of the GSSAPI krb5 mechanism. (gctx): Variable deleted. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16195 dc483132-0cff-0310-8789-dd5450dbe970
* Move daemon.c into a new library of utility routines for linking our programsKen Raeburn2004-02-242-3/+8
| | | | | | | | | | | | against but which we don't want to install as a separate library. Change Kerberos and application servers to link against the library if they might need the replacement daemon() function. Add a dummy file to the library in case daemon() is not needed, so we don't have an empty library, which we may not handle properly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16118 dc483132-0cff-0310-8789-dd5450dbe970
* ignore files created during testingKen Raeburn2004-02-241-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16115 dc483132-0cff-0310-8789-dd5450dbe970
* Add missing PRIOCNTL_HACK stuff hereTom Yu2004-02-165-1/+51
| | | | | | | | | ticket: new target_version: 1.3.2 tags: pullup component: krb5-build git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16085 dc483132-0cff-0310-8789-dd5450dbe970
* Tru64 and Irix have RPATH issues for test suiteTom Yu2004-02-122-1/+7
| | | | | | | | | | Implement hack for faking up _RLD_ROOT with a shadow of the directory tree up to the installed "lib" directory. This helps with running tests on Tru64 and Irix. ticket: 1793 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16066 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LOCAL_SUBDIRS): Fix typo in last (undocumented) changeKen Raeburn2003-12-282-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15961 dc483132-0cff-0310-8789-dd5450dbe970
* make dependKen Raeburn2003-12-152-17/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15928 dc483132-0cff-0310-8789-dd5450dbe970
* Remove cvsignore filesSam Hartman2003-12-112-5/+0
| | | | | | Ticket: 2061 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15881 dc483132-0cff-0310-8789-dd5450dbe970
* Remove kadmind4 and v5passwddSam Hartman2003-12-1135-9626/+6
| | | | | | | | | Per email to kerberos-announce remove kadmind4 and v5passwdd from the distribution. Ticket: new Tags: enhancement git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15880 dc483132-0cff-0310-8789-dd5450dbe970
* work around Solaris 9 pty-close bugTom Yu2003-12-062-0/+5
| | | | | | | | | | | | Create a LD_PRELOAD object, exitsleep, that will sleep for a short time prior to calling the real exit() function. This attempts to work around a Solaris 9 kernel bug where output will get lost if it is written to a pty immediately prior to the pty close. ticket: new component: krb5-build git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15864 dc483132-0cff-0310-8789-dd5450dbe970
* Added Apple password server supportAlexandra Ellwood2003-09-022-0/+15
| | | | | | ticket: 1799 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15803 dc483132-0cff-0310-8789-dd5450dbe970
* Copy and build daemon.c in whatever directories need it, instead of building itKen Raeburn2003-08-306-6/+16
| | | | | | | | | | | | | | | | | | into the krb5 library. * aclocal.m4 (KRB5_AC_NEED_DAEMON): New macro. * appl/bsd/configure.in, kadmin/configure.in, kdc/configure.in, krb524/configure.in, slave/configure.in: Use it. Don't directly check if prototype for daemon() is needed. * kadmin/server/Makefile.in (OBJS), kadmin/v5passwdd/Makefile.in (SERV_OBJS), kdc/Makefile.in (OBJS, fakeka), krb524/Makefile.in (SERVER_OBJS), slave/Makefile.in (SERVEROBJS): Use LIBOBJS. * config/post.in (daemon.c): New rule for copying daemon.c locally from lib/krb5/posix. ticket: 1791 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15801 dc483132-0cff-0310-8789-dd5450dbe970
* * getdate.y (bcopy): Don't bother with HAVE_BCOPY and HAVE_MEMCPY tests; alwaysKen Raeburn2003-08-262-1/+6
| | | | | | define the macro if it's not already defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15795 dc483132-0cff-0310-8789-dd5450dbe970
* Added a little more buffer space than the supplied patch, and used sizeofKen Raeburn2003-07-242-2/+7
| | | | | | | | | | | * 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
* * schpw.c (process_chpw_request): Log chpw requestsTom Yu2003-05-272-1/+18
| | | | | | | | ticket: 1519 tags: pullup status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15502 dc483132-0cff-0310-8789-dd5450dbe970
* make-depend updatesKen Raeburn2003-05-243-28/+28
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15490 dc483132-0cff-0310-8789-dd5450dbe970
* Register writable keytabs by defaultSam Hartman2003-05-194-13/+9
| | | | | | | | | | | | | | | | 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
* * schpw.c (process_chpw_request): Return KRB5_KPASSWD_BAD_VERSION if theKen Raeburn2003-05-172-1/+6
| | | | | | | | | version number isn't 1. ticket: 1441 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15456 dc483132-0cff-0310-8789-dd5450dbe970
* * start_servers_local: Set KRB5RCACHEDIR.Ken Raeburn2003-05-143-1/+12
| | | | | | | * stop_servers_local: Set KRB5RCACHEDIR. Use the correct filename when deleting the replay cache file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15434 dc483132-0cff-0310-8789-dd5450dbe970
* * kpasswd.0/changing.exp: Replace ovpasswd with kpasswdTom Yu2003-05-092-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15406 dc483132-0cff-0310-8789-dd5450dbe970
* errno should never be explicitly declaredKen Raeburn2003-04-243-3/+4
| | | | | | | | | | | | Remove explicit declarations of errno; include errno.h as needed. (Also, errmsg in krb4, and malloc in compile_et.) ticket: new target_version: 1.3 tags: pullup status: resolved git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15368 dc483132-0cff-0310-8789-dd5450dbe970
* * ovsec_kadmd.c (REQUIRED_PARAMS): RemoveTom Yu2003-03-072-3/+8
| | | | | | | | | | KADM5_CONFIG_ADMIN_KEYTAB. (do_schpw): Use kdb keytab. ticket: 1372 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15265 dc483132-0cff-0310-8789-dd5450dbe970
* use kdb keytab for kadmindTom Yu2003-03-063-10/+60
| | | | | | | | | | | | | kadmind previously required a file-based keytab to support its use of gssapi. For ease of administration, a kdb-based keytab would be beneficial. This commit includes changes to the kdb library to support this goal, as well as actual changes in the kadmind itself. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15237 dc483132-0cff-0310-8789-dd5450dbe970
* Thanks; equivalent patch appliedTom Yu2003-02-082-0/+5
| | | | | | | | * admin_server.c (kadm_listen): Zero sa_flags to avoid wonkiness. ticket: 1304 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15169 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (install): Fix typo in k5srvutil.M install ruleTom Yu2003-02-072-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15166 dc483132-0cff-0310-8789-dd5450dbe970
* Add k5srvutilSam Hartman2003-02-064-0/+181
| | | | | | | | | | Add a script called k5srvutil that allows easy manipulation of keytabs for common tasks such as changing keys and deleting outdated keys. ticket: 1191 Tags: enhancement git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15159 dc483132-0cff-0310-8789-dd5450dbe970
* Use markers in Makefile.in rather than rules in configure.in to indicate whenKen Raeburn2003-01-102-15/+6
| | | | | | | | to use the lib.in and libobj.in makefile fragments. Pushing this per-directory info into Makefile.in will make it a little easier to work on combining configure scripts for multiple directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15107 dc483132-0cff-0310-8789-dd5450dbe970
* Use socklen_t when passing address to socket functions.Ken Raeburn2003-01-106-3/+18
| | | | | | Fixes compilation warnings on AIX 4.3.3. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15105 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (DEFINES): New variable. Define HAS_STDARG for Tcl headersKen Raeburn2003-01-092-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15102 dc483132-0cff-0310-8789-dd5450dbe970
* Log entries for Makefile.ov deletionKen Raeburn2003-01-0812-0/+63
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15090 dc483132-0cff-0310-8789-dd5450dbe970
* nuke old OV makefile stuffKen Raeburn2003-01-0725-1459/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15088 dc483132-0cff-0310-8789-dd5450dbe970
* Only system headers should declare errnoSam Hartman2003-01-053-3/+7
| | | | | | | | | | | | | Many parts of krb5 declare errno in source files using extern int errno. This has not been needed in ANSI C for a long time, and actively breaks modern versions of glibc. So these declarations are removed and errno.h included where necessary. Ticket: new Component: krb5-build git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15082 dc483132-0cff-0310-8789-dd5450dbe970