On 2012-03-07 11:38, Yoann Gini wrote:
Le 7 mars 2012 à 11:49, Jeroen van Meeuwen (Kolab Systems) a écrit :
I think the intention of the function is to match the search against
exactly one entry in LDAP, correct?
I think the number of entries should then actually be exactly one
(return true), or anything not equal to one (returns false). Not even
the 'uid' attribute is enforced to be globally unique in an LDAP tree
in all cases.
No, the aim of this function is to test LDAP settings by trying to
get all users. If I can get one or more entry with the actual
settings, I return true.
Ohw, wow. Sorry I must have misunderstood what it was for. How does it
perform against a large tree (500k+ entries)?
The test step could be better by adding some additional input on the
settings pane. The user could be asked for user name and password to
test the system, I can also ask for a standard username and a admin
username to test group capabilities.
Kind regards,
Jeroen van Meeuwen
--
Systems Architect, Kolab Systems AG
e: vanmeeuwen at kolabsys.com
m: +44 74 2516 3817
w: http://www.kolabsys.com
pgp: 9342 BF08
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud