[imp] shared ldap addressbook
Stephen Hjelmstad
shjelmstad at tpl.lib.wa.us
Tue Jul 8 09:01:29 PDT 2003
I'm trying to get turba to work with a ldap server, so I can
provide a shared addressbook. The server responds to a query
such as
ldapsearch -x -h servername -b ou=tpl,o=lib,st=wa,c=us
'uid=username'
but, I'm not having much luck getting turba to fetch any results.
I suspect it's in the 'dn' => array('cn') statement, but I don't
understand what is being defined there.
thanks for any tips you can offer!
---- snippet from turba sources.php------------
/*
* TPL Shared Addressbook.
*/
$cfgSources['TPL'] = array(
'title' => 'TPL Staff Directory',
'type' => 'ldap',
'params' => array(
'server' => 'xxx.xxx.xxx.xxx',
'port' => 389,
'root' => 'ou=tpl,o=lib,st=wa,c=us',
'dn' => array('cn'),
'objectclass' => 'person',
'filter' => '*',
'encoding' => 'ldif', (I've also tried utf8)
'version' => 3
),
'map' => array(
'__key' => 'dn',
'name' => 'cn',
'email' => 'mail',
'alias' => 'givenname'
),
'search' => array(
'name',
'email',
'alias'
),
'strict' => array(
'dn'
),
'public' => true,
'readonly' => true,
'export' => false
);
--
Stephen Hjelmstad
Network Manager
Tacoma Public Library
253-591-5662
More information about the imp
mailing list