summaryrefslogtreecommitdiffstats
path: root/src/kadmin/testing/scripts/init_db
Commit message (Collapse)AuthorAgeFilesLines
* Add krb5_kt_client_default APIGreg Hudson2012-07-021-0/+1
| | | | | | | | | | | | | | | | The default client keytab is intended to be used to automatically acquire initial credentials for client applications. The current hardcoded default is a placeholder, and will likely change before 1.11. Add test framework settings to ensure that a system default client keytab doesn't interfere with tests, and to allow tests to be written to deliberately use the default client keytab. Add documentation about keytabs to the concepts section of the RST docs, and describe the default client keytab there. ticket: 7188 (new)
* Get rid of fake-installGreg Hudson2011-11-041-1/+1
| | | | | | | | | Instead, use $(BUILDTOP)/plugins as the plugin base for tests. For each real plugin module, create a link in the parent directory if we're doing a shared-library build--so built KDB modules can be found in plugins/kdb, preauth modules in plugins/preauth, etc.. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25436 dc483132-0cff-0310-8789-dd5450dbe970
* Always pass -W option to kdb5_util create in testingKen Raeburn2010-03-271-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23838 dc483132-0cff-0310-8789-dd5450dbe970
* Account lockoutGreg Hudson2009-10-251-5/+5
| | | | | | | | | | | | Merge Luke's users/lhoward/lockout2 branch to trunk. Implements account lockout policies for preauth-using principals using existing principal metadata fields and new policy fields. The kadmin API version is bumped from 2 to 3 to compatibly extend the policy_ent_rec structure. ticket: 6577 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23038 dc483132-0cff-0310-8789-dd5450dbe970
* Remove kadmin v1 API supportGreg Hudson2009-08-131-68/+69
| | | | | | | | | | | | | | | The kadmin v1 API and the even older ovsec_kadm_* API were legacy when kadmin was first incorporated in 1996, and compatibility with them is no longer believed to be necessary. The uninstalled kadmin/passwd has been removed (since it used the ovsec API). The test suite has been updated to use the v2 API where appropriate, and the parts specifically designed to test the old API have been excised. ticket: 6544 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22521 dc483132-0cff-0310-8789-dd5450dbe970
* Revise last change to better resemble the original test, keeping theKen Raeburn2009-02-021-1/+1
| | | | | | | | | | min-lifetime test code collected together. Change policy to have a minimum password lifetime of 10s instead of 30s, and reduce the test delays accordingly. ticket: 6358 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21868 dc483132-0cff-0310-8789-dd5450dbe970
* Merge from plugin branchKen Raeburn2006-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Add plugin support: - plugin routines in support library (may break windows build!) - plugin support in KDC location code - sample Python-based plugin for KDC location, not built without tweaking sources - changed service location interface to use an enum instead of passing profile string and DNS strings and port numbers - changed pathnames for plugin locations, including kdb back end - remove locate_service from accessor API Also, do build shared libraries for Darwin just like any other UNIX box. Not present yet: - use new plugin interface for kdb back end - Windows support - Mac bundle support (but dlopen support works) - search path for libkrb5 plugins (only one hard-coded directory for now) - sorting of plugin collections for predictable ordering See the various ChangeLogs for specifics. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17706 dc483132-0cff-0310-8789-dd5450dbe970
* Make kadmin testing scripts executableEzra Peisach2005-08-251-0/+0
| | | | | | | | | Mark the shell scripts used by lib/rpc and lib/kadm5 executable. ticket:new Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17356 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.shin: Export $libdir.Ken Raeburn2005-08-171-0/+16
| | | | | | | * init_db: Substitue __MODDIR__ with the fakedest module directory. * start_servers: Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17336 dc483132-0cff-0310-8789-dd5450dbe970
* * init_db (qualname): If "kdb5_util create" fails, exitKen Raeburn2002-12-191-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15055 dc483132-0cff-0310-8789-dd5450dbe970
* * init_db: be verbose when $SRVTCL doesn't exist, instead of justBarry Jaspan1996-12-031-0/+11
| | | | | | failing [krb5-admin/245] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9596 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.shin, init_db, save_files.sh, start_servers,Barry Jaspan1996-11-141-9/+1
| | | | | | | | | | start_servers_local, stop_servers, stop_servers_local: move VERBOSE_TEST -> VERBOSE logic to env-setup.sh, make everything else inherit from it, and fix the sense of the test (Tom got it backwards); also fix init_db so that kdb5_util create is not always verbose git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9417 dc483132-0cff-0310-8789-dd5450dbe970
* * init_db, save_files.sh, start_servers, start_servers_local,Tom Yu1996-11-121-2/+5
| | | | | | | stop_servers, stop_servers_local: Fix test of $VERBOSE_TEST so that $VERBOSE only gets set if $VERBOSE_TEST is not empty. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9387 dc483132-0cff-0310-8789-dd5450dbe970
* * init_db, save_files.sh, start_servers_local, stop_servers,Tom Yu1996-11-121-1/+3
| | | | | | | | stop_servers_local: Use temp files rather than a here document to provide input to eval'ed commands; Ultrix sh is broken wrt here documents redirected to eval commands. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9382 dc483132-0cff-0310-8789-dd5450dbe970
* * start_servers, start_servers_local, init_db: Use ${FOO+bar} andTom Yu1996-11-111-2/+2
| | | | | | | ${FOO=baz} rather than ${FOO:+bar} and ${FOO:=baz} because of Ultrix /bin/sh lossage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9368 dc483132-0cff-0310-8789-dd5450dbe970
* * init_db: put KRB5_RUN_ENV_CSH in setup.cshBarry Jaspan1996-10-291-0/+1
| | | | | | * env-setup.shin: create KRB5_RUN_ENV_CSH for init_db git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9245 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.conf.proto: s/localhost/__LOCALHOST__/Barry Jaspan1996-10-151-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9175 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.shin: Renamed env-setup.sh for autoconf useEzra Peisach1996-10-031-4/+10
| | | | | | | | | | | | | * init_db, start_servers, start_servers_local, stop_servers: Invoke scripts from source directory or build tree as needed. * configure.in, Makefile.in: generate env-setup.sh with proper paths already. (env-setup.shin was created - retaining the old history logs) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9138 dc483132-0cff-0310-8789-dd5450dbe970
* * start_servers, start_servers_local, stop_servers, init_db,Barry Jaspan1996-09-271-0/+1
| | | | | | | env-setup.sh: first pass at making TEST_SERVER remote server testing work git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9132 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.sh, init_db, start_servers_local: use K5ROOT insteadBarry Jaspan1996-09-261-12/+23
| | | | | | of /krb5 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9122 dc483132-0cff-0310-8789-dd5450dbe970
* * init_db: use kdb5_util instead of kdb5_createBarry Jaspan1996-08-121-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8924 dc483132-0cff-0310-8789-dd5450dbe970
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-221-0/+181
OV_MERGE branches. This includes, but is not limited to, the new openvision admin system, and major changes to gssapi to add functionality, and bring the implementation in line with rfc1964. before committing, the code was built and tested for netbsd and solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8774 dc483132-0cff-0310-8789-dd5450dbe970