[imp] LDAP problem
Nels Lindquist
nlindq@maei.ca
Wed, 20 Jun 2001 09:48:21 -0600
On 20 Jun 2001, at 11:31, Cliff Green wrote:
> On Wed, 20 Jun 2001, Nels Lindquist wrote:
>
> NL> Hi there.
> [munch]
>
> NL> Whatever parameters I search on in IMP (version 2.2.4), I get "No
> NL> appropriate entries found."
>
> It's been some time since I've used this version of imp, but...
>
>
> NL> It appears that whatever parameters I try to search on, IMP is
> NL> requesting a search on the common name field. I don't know what the
> NL> &(badfilter) thing means, either.
>
> Yeah, I was wondering about that (badfilter) also.
>
> NL> Here's my server definition, from config/ldap.php3:
> NL>
> NL> $LDAPServers['maei'] = new LDAPServer('maei',
> NL> 'Morningstar',
> NL> 'localhost',
> NL> 'dc=maei,dc=ca',
> NL> 'sn',
> NL> 'cn,mail,sn,givenname,uid,ou',
> NL> 'is,sounds,is_strict,contains,begins,ends',
> NL> '',
> NL> '',
> NL> '');
>
> What happens when you remove those last three empty quotes, and terminate
> the array after "ends'"? By leaving them like that, I wonder if you
> aren't overriding the default values?
Yep, you were right. I think blanking the last one was the problem,
'cause it overrode the default e-mail field, which is what the filter
is supposed to return. Seems to be working now! Thanks for the
suggestion.
----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.