summaryrefslogtreecommitdiffstats
path: root/src/kadmin/server
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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-302-1/+5
| | | | | | | | | | | | | | | | | | 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
* * 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
* * 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
* * 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
* Use socklen_t when passing address to socket functions.Ken Raeburn2003-01-102-1/+6
| | | | | | Fixes compilation warnings on AIX 4.3.3. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15105 dc483132-0cff-0310-8789-dd5450dbe970
* Log entries for Makefile.ov deletionKen Raeburn2003-01-081-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15090 dc483132-0cff-0310-8789-dd5450dbe970
* nuke old OV makefile stuffKen Raeburn2003-01-071-39/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15088 dc483132-0cff-0310-8789-dd5450dbe970
* Fix prototypes for *_wrapper_3Sam Hartman2002-12-092-7/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15041 dc483132-0cff-0310-8789-dd5450dbe970
* * misc.h: Rename prototypes from chpass_principal_wrapper andEzra Peisach2002-12-092-7/+13
| | | | | | | randkey_principal_wrapper to chpass_principal_wrapper_3 and randkey_principal_wrapper_3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15040 dc483132-0cff-0310-8789-dd5450dbe970
* principal can't specify ks_tuples changing own passwdTom Yu2002-10-083-18/+56
| | | | | | | | | | | | | | | | | | | | | Thanks, the patch has been applied and will appear in a future release. * misc.c (chpass_principal_wrapper_3): Renamed from chpass_principal_wrapper; calls chpass_principal_3 now. (randkey_principal_wrapper_3): Renamed from randkey_principal_wrapper; calls randkey_principal_3 now. Patch from Ben Cox. * server_stubs.c (chpass_principal_1_svc) (chpass_principal3_1_svc): Call chpass_principal_wrapper_3. (chrand_principal_1_svc, chrand_principal3_1_svc): Call randkey_principal_wrapper_3. Patch from Ben Cox. ticket: 1207 version_reported: 1.2.6 target_version: 1.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14915 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2002-08-292-1/+5
| | | | 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/+1
| | | | | | | | | those covered by CVSROOT/cvsignore patterns. Static UNIX build only, at the moment, may need updates for other configurations. (Second try; this time, deal with the cases where "cvs add"/"cvs ci" choked on previously deleted versions numbered 5.x.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14785 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-232-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
* * server_stubs.c: Check return value from unparse_name() in lotsTom Yu2002-08-022-14/+58
| | | | | | of places. Patch from Mark Levinson; fixes [krb5-admin/1140]. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14680 dc483132-0cff-0310-8789-dd5450dbe970
* Get strong random bits at kadmind startupSam Hartman2002-01-082-1/+15
| | | | | | provide better error message for current round of keytab not found git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14089 dc483132-0cff-0310-8789-dd5450dbe970
* * schpw.c (process_chpw_request): Use GETSOCKNAME_ARG3_TYPEEzra Peisach2001-10-262-1/+10
| | | | | | instead of int as argument to getsockname(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13862 dc483132-0cff-0310-8789-dd5450dbe970
* * misc.c, server_stubs.c: Nuke rcsidEzra Peisach2001-07-017-54/+28
| | | | | | | | | | | * misc.h: Add prototypes for kadm_1 and process_chpw_request. * ovsec_kadmd.c: Include misc.h and remove prototype for process_chpw_request and kadm_1. * kadm_rpc_svc.c, schpw.c: Include misc.h for prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13537 dc483132-0cff-0310-8789-dd5450dbe970
* * server_glue_v1.c: Include misc.h for prototypesEzra Peisach2001-06-263-3/+11
| | | | | | | * ovsec_kadmd.c: Declare usage() and display_status() static. Flush out static prototype for display_status_1(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13514 dc483132-0cff-0310-8789-dd5450dbe970
* * ovsec_kadmd.c: Change prototype for process_chpw_requestEzra Peisach2001-06-223-10/+20
| | | | | | | | | prototype argument from sin to sockin. Get rid of global params variable. * schpw.c: Change function declaration as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13489 dc483132-0cff-0310-8789-dd5450dbe970
* * ovsec_kadmd.c: Add prototype for daemon if neededEzra Peisach2001-06-212-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13458 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed several typos in commentsMitchell Berger2001-06-202-9/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13399 dc483132-0cff-0310-8789-dd5450dbe970
* * ovsec_kadmd.c (main): Make format string to sprintf specify thatEzra Peisach2001-06-083-1/+13
| | | | | | | | | long arguments are present. * kadm_rpc_svc.c: Include arpa/inet.h (if present) for inet_ntoa prototype. Include adm_proto.h for krb5_klog_syslog() prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13316 dc483132-0cff-0310-8789-dd5450dbe970
* * misc.c, schpw.c: Cleanup assignments in conditionalsEzra Peisach2001-06-043-32/+55
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13268 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_rpc_svc.c, server_stubs.c: Rename all server side dispatchEzra Peisach2001-02-183-101/+116
| | | | | | | routines to end in _svc so as to not conflict with prototypes of client side handlers. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13014 dc483132-0cff-0310-8789-dd5450dbe970
* * ovsec_kadmd.c (do_schpw): Cast arguments to sendto() which take intEzra Peisach2000-10-172-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12793 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2.1 releaseKen Raeburn2000-07-012-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12502 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2-beta4Ken Raeburn2000-07-012-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12497 dc483132-0cff-0310-8789-dd5450dbe970
* Check for existance of <memory.h>.Wilfredo Sanchez2000-06-012-0/+7
| | | | | | (from Nathan Neulinger <nneul@umr.edu>) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12332 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-2/+2
| | | | | | (The default for each is the same.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12227 dc483132-0cff-0310-8789-dd5450dbe970
* Matt Crawford's kadm acl fixes & enhancementsKen Raeburn2000-03-162-31/+48
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12121 dc483132-0cff-0310-8789-dd5450dbe970
* Update client and server to reflect removal of keepold argument fromTom Yu2000-02-272-1/+4
| | | | | | create_principal_3. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12083 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
* * 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
* 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-1/+0
| | | | | | | 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
* 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
* 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
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-052-0/+7
| | | | | | 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-302-5/+44
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 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
* Collapse all configure.in files under the kadmin directory into theTheodore Tso1998-02-283-12/+7
| | | | | | 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
* Remove trailing slash from thisconfigdir. Change directory syntaxTom Yu1998-02-182-2/+7
| | | | | | used in BUILDTOP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10464 dc483132-0cff-0310-8789-dd5450dbe970