19 lines
307 B
Plaintext
19 lines
307 B
Plaintext
{
|
|
|
|
use esmith::util;
|
|
my $base = esmith::util::ldapBase($DomainName);
|
|
my $port = $ldap{'TCPPort'} || '389';
|
|
|
|
$OUT .=<<"EOF";
|
|
|
|
\$ldap_adresse='localhost';
|
|
\$ldap_port='$port';
|
|
\$ldap_login='';
|
|
\$ldap_pwd='';
|
|
\$ldap_base='ou=Users,$base';
|
|
\$ldap_filter='(objectClass=sambaSamAccount)';
|
|
\$use_tls=FALSE;
|
|
|
|
EOF
|
|
}
|