[turba] Turba and LDAP
Edwin L. Culp
eculp at encontacto.net
Fri Dec 24 05:33:02 PST 2004
Quoting Pascal BOYER <pascal at linuxorable.net>:
>
> Hi,
>
> I'am trying to configure LDAP for Turba on my Debian/Sid.
>
> This is my LDAP config:
>
> ou=carnet adresses,dc=linuxorable,dc=net
>
> and entries look like that:
>
> cn=BOYER Pascal,ou=carnet adresses,dc=linuxorable,dc=net
>
> The 3 commands below work fine:
>
> ldapsearch -x
> ldapsearch -H ldap://linuxorable.net -x -z 0 -b 'dc=linuxorable,dc=net'
> '(objectclass=*)'
> ldapsearch -h linuxorable.net -x -z 0 -b 'dc=linuxorable,dc=net'
> '(objectclass=*)
>
> Here is my /etc/turba/sources-debconf.php
>
> $cfgSources['MonAnnuaire'] = array(
> 'title' => 'l\'annuaire LDAP',
> 'type' => 'ldap',
> 'params' => array(
> 'server' => 'linuxorable.net',
> 'port' => 389,
> 'root' => 'dc=linuxorable,dc=net',
> 'dn' => array('cn'),
> 'objectclass' => 'carnet adresses',
> 'filter' => 'objectclass=*'
> ),
> 'map' => array(
> '__key' => 'dn',
> 'name' => 'sn',
> 'email' => 'mail',
> 'alias' => 'givenName',
> 'workPhone' => 'telephoneNumber',
> 'workAddress' => 'postalAddress',
> 'company' => 'department',
> 'title' => 'title',
> 'fax' => 'facsimileTelephoneNumber'
> ),
> 'search' => array(
> 'name',
> 'mail',
> ),
> 'strict' => array(
> 'dn'
> ),
> 'public' => true,
> 'readonly' => true,
> 'export' => true
> );
>
> ?>
Could you be in need of a 'bind_dn' and 'bind_password'?
What errors are you seeing in slapd.log and horde.log?
I assume that your system knows that the sources file is sources-debconf.php
rather than sources.php?
Good luck and a Merry Christmas to all.
ed
>
> ... but there any entry displayed in Turba.
> Therefore I can't configure IMP in order it uses my LDAP directory.
>
> I specify that my directory works fine with my another mailer (Thunderbird).
>
> Thank you for your help
>
> Pascal
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> --
> Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe at lists.horde.org
>
More information about the turba
mailing list