102 |
+ $vdomain = Horde_String::lower($vdomain); |
+ $vdomain = Horde_String::lower($vdomain); |
103 |
+{ # override to Primary Domain |
+{ # override to Primary Domain |
104 |
+ my $UsePrimary = $horde{ForcePrimaryDomain} || "disabled"; |
+ my $UsePrimary = $horde{ForcePrimaryDomain} || "disabled"; |
105 |
+ $OUT .= ($UsePrimary eq "enabled") ? " \$vdomain = $DomainName;" : " # ForcePrimaryDomain disabled\n # \$vdomain = $DomainName;" ; |
+ $OUT .= ($UsePrimary eq "enabled") ? " \$vdomain = '$DomainName';\n" : " # ForcePrimaryDomain disabled\n # \$vdomain = '$DomainName';\n" ; |
106 |
+ |
+ |
107 |
+ my $basedn = esmith::util::ldapBase ($DomainName); |
+ my $basedn = esmith::util::ldapBase ($DomainName); |
108 |
+ $OUT .= " \$ldapServer = 'localhost'; |
+ $OUT .= " \$ldapServer = 'localhost'; |