In the Heimdal backend, use get instead of list to check whether a
given principal already exists. list requires a complete database
traversal and is much more resource-intensive.
was occasionally too short in production. Also fix a Perl warning if
the initial authentication times out.
+ In the Heimdal backend, use get instead of list to check whether a
+ given principal already exists. list requires a complete database
+ traversal and is much more resource-intensive.
+
kadmin-remctl 3.4 (2013-07-09)
Set the disallow-svr flag on all newly-created principals. This
kadmin_config ($instance) or return;
$principal = "$principal/$instance" if $instance;
my $kadmin = kadmin_handle ($instance);
- my @names = $kadmin->getPrincipals ($principal);
- return 1 if @names;
+ my $data = $kadmin->getPrincipal ($principal);
+ return 1 if $data;
return 0;
}