{ use esmith::util; my $ldapbase = esmith::util::ldapBase ($DomainName); $OUT .=<<"EOF"; define('DOMAIN', '$DomainName'); define('USER_BASE', 'ou=Users,$ldapbase'); define('IMAP_SERVER', '$SystemName.$DomainName'); define('SMTP_SERVER', '$SystemName.$DomainName'); define('LDAP_SERVER', 'localhost'); EOF }