Re: Turba LDAP Search and Object Classes

Ralf Lang <[email protected]>
Newsgroups gmane.comp.horde.user
Message-ID <[email protected]>

Am 12.09.2018 um 17:08 schrieb Jan Schneider:
>
> Zitat von Gunter Ohrner <[email protected]>:
>
>> Hi,
>>
>> It's a bit counter-intuitive that Turba comes with example object class
>> definitions like
>>
>>   'objectclass' => array('top',
>>       'person',
>>       'organizationalPerson',
>>       'inetOrgPerson'),
>>
>> in its backends.php file, while those objectclasses are combined
>> using "or"
>> when constructing the LDAP query. (In ./lib/Driver/Ldap.php)
>>
>> For one, this behaviour is different from the documented behaviour of
>> the
>> objectclass lists in the general Horde config and second, it probably
>> returns
>> much more results than expected on many LDAP servers, especially with a
>> "scope" "sub" LDAP search instead of a "scope" "one" LDAP list on a
>> single
>> LDAP level.
>>
>>
>> Regards,
>>
>>   Gunter
>
> What do you suggest? It's been this way since always, so just changing
> it to "and" is not an option.
>
We cannot, at least for now, change how it's interpreted but we can
change the example (remove the "top" class and document with a comment
that it's OR)
Maybe that reduces confusion.

-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: [email protected]
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

-- 
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.