[turba] 1.2RC2 distribution lists & LDAP Sources
Adam Tauno Williams
adam at morrison-ind.com
Sun Mar 2 23:22:54 PST 2003
With 1.2RC2 and an LDAP source, every object in the DSA that matches the filter
and is beneath the root shows up as a potential distribution list to add objects
too. This makes the page very slow, despite being rather wrong headed
behaviour. With SQL sources one can specify a '__type' field, but how can one
achieve the same against an LDAP source without using specific Turba schema? IS
there to make objects '__type' 'Contact' by default?
$cfgSources['morrison_ldap1'] = array(
'title' => 'Morrison Enterprise Directory (Persons)',
'type' => 'ldap',
'params' => array(
'server' => 'localhost',
'port' => 389,
'root' => 'ou=People,o=Morrison Industries,c=US',
'dn' => array('cn'),
'objectclass' => '',
'filter' => 'objectclass=organizationalperson'
),
'map' => array(
'__key' => 'dn',
'name' => 'cn',
'email' => 'mail',
'alias' => 'givenname',
'branch' => 'morrisonbranch',
'extension' => 'morrisonphoneextension',
'cellPhone' => 'mobile',
'workPhone' => 'telephoneNumber',
'title' => 'title',
'fax' => 'facsimileTelephoneNumber',
'mtaaccess' => 'morrisoncompanylist',
'dialaccess' => 'morrisondialaccess',
'mailserver' => 'mailhost',
'vpnaccess' => 'morrisonvpnaccess'
),
'search' => array(
'name',
'email',
'alias',
'branch',
'extension',
'cellPhone',
'workPhone',
'title',
'mtaaccess',
'dialaccess',
'vpnaccess'
),
'strict' => array(
'dn'
),
'public' => true,
'readonly' => true,
'export' => false
);
More information about the turba
mailing list