diff options
author | bugreport%peshkin.net <> | 2004-07-12 08:36:42 +0200 |
---|---|---|
committer | bugreport%peshkin.net <> | 2004-07-12 08:36:42 +0200 |
commit | ce983f5d751e61c5500eac45e5db29eee7309520 (patch) | |
tree | 6ad5cbd3cec6177abf3d69e97baa761359885b61 /checksetup.pl | |
parent | f5b60b13b9ebe135498421680b8d7b0166d6cb36 (diff) | |
download | bugzilla-ce983f5d751e61c5500eac45e5db29eee7309520.tar.gz bugzilla-ce983f5d751e61c5500eac45e5db29eee7309520.tar.xz |
Bug 241900: Allow Bugzilla::Auth to have multiple login and validation styles
patch by erik
r=joel
a=justdave
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/checksetup.pl b/checksetup.pl index 51a1bb2f4..9961009e8 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -27,6 +27,7 @@ # Bradley Baetz <bbaetz@student.usyd.edu.au> # Tobias Burnus <burnus@net-b.de> # Gervase Markham <gerv@gerv.net> +# Erik Stambaugh <erik@dasbistro.com> # # # Direct any questions on this source code to @@ -1492,10 +1493,12 @@ END { $dbh->disconnect if $dbh } # Check for LDAP ########################################################################### -if (Param('loginmethod') eq 'LDAP') { - my $netLDAP = have_vers("Net::LDAP", 0); - if (!$netLDAP && !$silent) { - print "If you wish to use LDAP authentication, then you must install Net::LDAP\n\n"; +for my $verifymethod (split /,\s*/, Param('user_verify_method')) { + if ($verifymethod eq 'LDAP') { + my $netLDAP = have_vers("Net::LDAP", 0); + if (!$netLDAP && !$silent) { + print "If you wish to use LDAP authentication, then you must install Net::LDAP\n\n"; + } } } |