On 09.07.15 20:28, Arthur Schiwon wrote: > On Thursday 09 Jul 2015 07:17:50 Gerald Vogt wrote: >> We are running 8.1.0 and use LDAP as user database. Our LDAP server does >> not support rfc 2696 paged results control. > > What kind of LDAP server is it?
ODSEE 11.1.1.7.2 > The server is supposed to ignore that control if it does not support it, as > stated in the RFC. As far as I can see, that's exactly what the server is doing: it ignores the control as it is not critical but ldap_control_paged_result_response complains about it if it gets called even though the control is not supported... If that's the correct source code I have found for the PHP ldap_control_paged_result_response it will always do this if the extension is not supported. I think the "correct" way would be to check if the server supports the control and not to use ldap_control_paged_result_response unless it is supported... >> We see a lot of "ldap_control_paged_result_response(): No server >> controls in result at >> \/var\/www\/html\/owncloud\/apps\/user_ldap\/lib\/ldap.php#63" errors in >> log. >> >> From the source code it seems the control is used if the php function >> exists. It does not check if the ldap server actually supports the >> control and thus keeps trying to use it. >> >> Is there any configuration to tell owncloud not to use the control? > > No, there is not currently. > > As work around, return false in apps/user_ldap/lib/ldap.php in the method > hasPagedResultSupport(). Now it shows info messages "user_ldap","message":"Paged search was not available" in the log. I'll check if it's working properly... Thanks, Cheers, Gerald _______________________________________________ User mailing list [email protected] http://mailman.owncloud.org/mailman/listinfo/user
