You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
292 B
13 lines
292 B
{
|
|
use esmith::util;
|
|
my $c = esmith::ConfigDB->open_ro;
|
|
my $domain = $c->get('DomainName')->value;
|
|
my $basedn = esmith::util::ldapBase($domain);
|
|
|
|
$OUT .=<<"EOF";
|
|
|
|
define("LDAP_SEARCH_BASE", "ou=Users,$basedn");
|
|
define("LDAP_SEARCH_FILTER", "(|(cn=*SEARCHVALUE*)(mail=*SEARCHVALUE*))");
|
|
|
|
EOF
|
|
}
|
|
|