14 lines
292 B
Plaintext
14 lines
292 B
Plaintext
{
|
|
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
|
|
}
|