summaryrefslogtreecommitdiff
path: root/perl/t/keytab.t
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2010-02-18 18:03:09 -0800
committerRuss Allbery <rra@stanford.edu>2010-02-18 18:03:09 -0800
commit2651ef4352c8cc782c4e0f3175257f7bb0c1e495 (patch)
tree05aaca44005047bb31e303674f027cc3633ec92a /perl/t/keytab.t
parentca0930ed6a57f1b584fdf13307337c8e966d442c (diff)
Rename functions in Wallet::Kadmin API
Now that we support multiple versions of Kerberos, use generic names for the functions in the Wallet::Kadmin interface rather than the commands from the MIT kadmin interface.
Diffstat (limited to 'perl/t/keytab.t')
-rwxr-xr-xperl/t/keytab.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl/t/keytab.t b/perl/t/keytab.t
index 39be547..a14b63e 100755
--- a/perl/t/keytab.t
+++ b/perl/t/keytab.t
@@ -59,7 +59,7 @@ sub system_quiet {
sub create {
my ($principal) = @_;
my $kadmin = Wallet::Kadmin->new;
- return $kadmin->addprinc ($principal);
+ return $kadmin->create ($principal);
}
# Destroy a principal out of Kerberos. Only usable once the configuration has
@@ -67,7 +67,7 @@ sub create {
sub destroy {
my ($principal) = @_;
my $kadmin = Wallet::Kadmin->new;
- return $kadmin->delprinc ($principal);
+ return $kadmin->destroy ($principal);
}
# Check whether a principal exists. MIT uses kvno and Heimdal uses kgetcred.