+Tue Aug 20 13:46:54 1996 Barry Jaspan <bjaspan@mit.edu>
+
+ * api.0/init.exp, api.2/init.exp, config/unix.exp, Makefile.ov:
+ use kadmin.local instead of kdb5_edit
+
Fri Aug 16 17:16:46 1996 Barry Jaspan <bjaspan@mit.edu>
* Makefile.ov: update for new lib/kadm5 layout
ln -s api.2 capi.2
unit-test-client-body: capi.0 capi.2 site.exp test-noauth test-destroy test-handle-client test-sizes
- $(RUNTEST) --tool capi API=$(CLNTTCL) KDBFIVE_EDIT=$(TOP)/../admin/edit/kdb5_edit KINIT=$(TOP)/../clients/kinit/kinit KDESTROY=$(TOP)/../clients/kdestroy/kdestroy KADMIN_LOCAL=$(TOP)/cli/kadmin.local TOP=$(TOP) RPC=1
+ $(RUNTEST) --tool capi API=$(CLNTTCL) KINIT=$(TOP)/../clients/kinit/kinit KDESTROY=$(TOP)/../clients/kdestroy/kdestroy KADMIN_LOCAL=$(TOP)/cli/kadmin.local TOP=$(TOP) RPC=1
sapi.0: api.0
-rm -f sapi.0
proc test45_46 {service} {
- global test kdb5_edit env
+ global test kadmin_local env
- spawn $kdb5_edit -R "del $service"
+ spawn $kadmin_local -q "delprinc -force $service"
expect {
- {Type 'yes' to confirm:} {
- send "yes\n"
- }
+ -re "Principal .* deleted." {}
default {
- error "kdb5_edit del failed\n";
+ error "kadmin.local delprinc failed\n";
}
}
expect eof
server_handle}] "SECURE_PRINC_MISSING"
# this leaves the keytab with an incorrect entry
- exec $kdb5_edit -R "ark $service"
+ exec $kadmin_local -q "ank -randkey $service"
# restart the api so it gets a new ccache
api_exit
proc test45_46 {service} {
- global test kdb5_edit env
+ global test kadmin_local env
- spawn $kdb5_edit -R "del $service"
+ spawn $kadmin_local -q "delprinc -force $service"
expect {
- {Type 'yes' to confirm:} {
- send "yes\n"
- }
+ -re "Principal .* deleted." {}
default {
- error "kdb5_edit del failed\n";
+ error "kadmin.local delprinc failed\n";
}
}
expect eof
server_handle}] "SECURE_PRINC_MISSING"
# this leaves the keytab with an incorrect entry
- exec $kdb5_edit -R "ark $service"
+ exec $kadmin_local -q "ank -randkey $service"
# restart the api so it gets a new ccache
api_exit
set stty_init {-onlcr -opost intr \^C kill \^U}
-set kdb5_edit $KDBFIVE_EDIT
set kadmin_local $KADMIN_LOCAL
# Backward compatibility until we're using expect 5 everywhere