summaryrefslogtreecommitdiff
path: root/perl/t/keytab.t
diff options
context:
space:
mode:
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.