summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/authentication.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/authentication.pm b/perl-install/authentication.pm
index 2a647ce37..783fadac7 100644
--- a/perl-install/authentication.pm
+++ b/perl-install/authentication.pm
@@ -4,8 +4,9 @@ use common;
use any;
sub kinds {
+ my $no_para = @_ == 0;
my ($meta_class) = @_;
- my $allow_AD = $meta_class =~ /corporate/;
+ my $allow_AD = $no_para || $meta_class =~ /corporate/;
('local', 'LDAP', 'NIS', 'winbind', if_($allow_AD, 'AD', 'SMBKRB'));
}