1# This Source Code Form is subject to the terms of the Mozilla Public 2# License, v. 2.0. If a copy of the MPL was not distributed with this 3# file, You can obtain one at http://mozilla.org/MPL/2.0/. 4# 5# This Source Code Form is "Incompatible With Secondary Licenses", as 6# defined by the Mozilla Public License, v. 2.0. 7 8package Bugzilla::Config::LDAP; 9 10use strict; 11 12use Bugzilla::Config::Common; 13 14our $sortkey = 1000; 15 16sub get_param_list { 17 my $class = shift; 18 my @param_list = ( 19 { 20 name => 'LDAPserver', 21 type => 't', 22 default => '' 23 }, 24 25 { 26 name => 'LDAPstarttls', 27 type => 'b', 28 default => 0 29 }, 30 31 { 32 name => 'LDAPbinddn', 33 type => 't', 34 default => '' 35 }, 36 37 { 38 name => 'LDAPBaseDN', 39 type => 't', 40 default => '' 41 }, 42 43 { 44 name => 'LDAPuidattribute', 45 type => 't', 46 default => 'uid' 47 }, 48 49 { 50 name => 'LDAPmailattribute', 51 type => 't', 52 default => 'mail' 53 }, 54 55 { 56 name => 'LDAPfilter', 57 type => 't', 58 default => '', 59 } ); 60 return @param_list; 61} 62 631; 64