]> eyrie.org Git - kerberos/heimdal-kadm5.git/commitdiff
Fixed deprecated autoload warning
authorJon Robertson <jonrober@stanford.edu>
Wed, 6 Jan 2010 17:45:19 +0000 (09:45 -0800)
committerJon Robertson <jonrober@stanford.edu>
Fri, 5 Feb 2010 22:10:33 +0000 (14:10 -0800)
Fixed a warning on the use of KRB5_KDB_DISALLOW_ALL_TIX in the
Heimdal::Kadm5::Client section, where it was being loaded from the parent
class.  No change to functionality, only specifying the specific class
it came from to remove the warning.

Kadm5.pm

index 1c683fe2c502bc8e3ac70bd774bd6445be9e20c4..72c7a6832d916e9aa0b8950504c3cf298f63df2c 100644 (file)
--- a/Kadm5.pm
+++ b/Kadm5.pm
@@ -290,7 +290,7 @@ sub enablePrincipal
       {
        my $principal = $self->getPrincipal($name);
        my $attrs = $principal->getAttributes;
-       $attrs &= (~KRB5_KDB_DISALLOW_ALL_TIX());
+       $attrs &= (~Heimdal::Kadm5::KRB5_KDB_DISALLOW_ALL_TIX());
        $principal->setAttributes($attrs);
        
        $self->modifyPrincipal($principal);