From: Paul L. <pa...@sq...> - 2006-10-11 01:16:10
|
On 10/10/06, Jan Hugo Prins <jh...@jh...> wrote: > Paul Lesniewski wrote: > > On 10/10/06, Jan Hugo Prins <jh...@jh...> wrote: > >> Paul Lesniewski wrote: > >> > >> > Can you elaborate as to exactly which settings differ per installation > >> > in this regard? The whole ldap server array? > >> > >> Well, they all connect to the same LDAP server but they all have there > >> addressbook / accounts within a different OU in the LDAP database. So > >> the settings that get changed are within the LDAP array. Both the OU and > >> the name of the address book. > > > > I would try this in the $virtualDomains array for each host (note that > > you will still have to duplicate the hostname, but I would think > > that's not a problem): > > > > 'exampledomain' => array( > > 'ldap_server' => array(array('host' => 'your.ldap.host.com', > > 'base' => 'ou=bla_bla,o=bla.bla', 'port' => 442)), > > 'domain' => 'exampledomain.net', > > 'org_name' => 'Example Domain', > > 'org_logo' => '../images/your_logo.gif', > > 'org_title' => '(isset($_SESSION["username"]) ? > > $_SESSION["username"] . " - Mail" : "Mail")', > > 'settingsWithEmbeddedPHP' => array( > > 'org_title', > > ), > > ), > > > > No guarantees as I've never tried it, but it's my best guess. Please > > reply if it works. > > > > -paul > It indeed works like a charm. Thanks a lot. > From the documentation I understood that you could only change settings > that are in the first 3 parts of the conf.pl script. So when I did not > succeed the first time arround I stopped testing. Excellent. I will add an example to the next release. Can you tell me what part of the docs gave you that impression? (also, what exactly do you mean by "first 3 parts"? 1. Organization Preferences, 2. Server Settings and 3. Folder Defaults?) Thanks, Paul > This is really great. > Jan Hugo Prins > |