[turba] Multiple LDAP Directories from same LDAP server

Kevin M. Myer kevin_myer at iu13.org
Fri Jan 20 14:19:18 PST 2006


Quoting Jon-Michael DeShazer <jdeshazer at horanandmcconaty.com>:

> Thanks for your reply!
>
> QUOTE: Do you simply want to have multiple address books, 
> representing different ou's on the same directory server?
>
> Yes exactly.
>
> QUOTE: "just specify a new ldap entry, with a different base DN and name."
>
> That is what have been trying, and that is what I need help with.  I 
> have limited PHP knowledge, and all attempts to do just what you have 
> mentioned have been in vain.  I keep getting php errors when I copy 
> and paste the existing localldap info and making the dn changes for 
> the other OU.  How would you do it?

Cut and paste the existing entry (making sure you pick up all the 
brackets/parentheses/etc.).  Change the title and root, and the 
$cfgSources array identifier (note one is called localdap and the other 
localldapone, below).

So something like:

$cfgSources['localldap'] = array(
....
);

$cfgSources['localldapone'] = array(
.....
);

Kevin
-- 
Kevin M. Myer
Senior Systems Administrator
Lancaster-Lebanon Intermediate Unit 13  http://www.iu13.org




More information about the turba mailing list