[turba] search problem for ldap backend
Richard Heggs
richard.heggs at nottinghamcity.gov.uk
Fri Nov 28 01:34:25 PST 2003
Hi David,
Quoting David Chang <david at tmv.gov.tw>:
<snip>
> Here is part of my Turba/config/source.php
> ------------------------------------------
<snip>
> 'map' => array(
> '__key' => 'dn',
> 'name' => 'cn',
> 'email' => 'maillocaladdress',
> 'homePhone' => 'homephone',
> 'workPhone' => 'telephonenumber',
> 'uid' => 'uid',
> 'homeAddress' => 'homeaddress'
> ),
> 'search' => array(
> 'name',
> 'email',
> 'homePhone',
> 'workPhone',
> 'cellPhone',
> 'homeAddress'
> ),
<snip>
I think your this is your problem; your attribute mappings consist of:
maillocaladdress, homePhone, workPhone, uid and homeAddress. However, you
have included three search attributes (name, email, cellPhone) which are
not listed in the attribute mappings.
AFAIU the search attributes must be a subset of the whole set of attribute
mappings - so either add them to the list of mappings (if they exist in
your LDAP database) or remove them from the search attributes list.
--
Richard Heggs
Systems Analyst
Nottingham City Council
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
######################################################################
This e-mail (and any attachments) is confidential and may contain personal
views which are not the views of Nottingham City Council unless specifically
stated. If you have received it in error, please delete it from your system,
do not use, copy or disclose the information in any way nor act in reliance
on it and notify the sender immediately. Please note that Nottingham City
Council monitors e-mails sent or received. Further communication will
signify your consent to this.
######################################################################
More information about the turba
mailing list