From: Barry Jaspan Date: Wed, 11 Sep 1996 21:45:19 +0000 (+0000) Subject: use kadmin instead of kadm5_keytab X-Git-Tag: krb5-1.0-beta7~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=642b2005e0e3c2cfbc723577fc6192e073ee3ae8;p=krb5.git use kadmin instead of kadm5_keytab git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9085 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/v4server/unit-test/v4server.0/setup-srvtab.exp b/src/kadmin/v4server/unit-test/v4server.0/setup-srvtab.exp index 3c8e181b2..f908ff44b 100644 --- a/src/kadmin/v4server/unit-test/v4server.0/setup-srvtab.exp +++ b/src/kadmin/v4server/unit-test/v4server.0/setup-srvtab.exp @@ -2,10 +2,17 @@ load_lib "helpers.exp" set timeout 10 -exp_prog "setup" $ovsec_edit_keytab \ - "-k /krb5/ovsec_adm.srvtab -a -c -p admin changepw/kerberos" \ - 0 { - "Enter password:" { send "admin\n" } +exp_prog "setup" $kadmin_local "" 0 { + "kadmin.local:" { send "ank -randkey changepw/kerberos\n" } } { - -re "Entry for principal changepw/kerberos .* added to keytab" {} + "created" {} + "already exists" {} +} { + "kadmin.local:" { + send "ktadd -k /krb5/ovsec_adm.srvtab changepw/kerberos\n" + } +} { + -re "Entry for principal changepw/kerberos .* added to keytab" { + send "quit\n" + } }