[Tickets #12128] Bad search filter ldap Groups

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Mar 19 11:07:54 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12128
------------------------------------------------------------------------------
  Ticket             | 12128
  Created By         | samuele.tognini at unipi.it
  Summary            | Bad search filter ldap Groups
  Queue              | Horde Groupware
  Version            | 5.0.4
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


samuele.tognini at unipi.it (2013-03-19 11:07) wrote:

I can't get Groups to work with an ldap backend.
Horde is configured to retrieve groups from the OU groups and  
$conf[group][params][attrisdn] is enabled.
Groups and users are correctly displayed in the admin groups page but  
in the user permission shares there is no group the user belongs to.

The bug seems related to the findUserDN function build a wrong search filter:

2013-03-19T10:01:04+00:00 ERR: HORDE [kronolith] Bad search filter
Parameters:
Base: ou=groups,dc=domain,dc=com
Filter: (&(objectclass=)(=u090213))
Scope: sub [pid 4881 on line 395 of "/usr/share/php/Horde/Group/Ldap.php"]
2013-03-19T10:01:04+00:00 DEBUG: HORDE  1. Horde_PageOutput->header()  
/var/www/horde/admin/config/index.php:359
  2. Horde_Injector->getInstance() /usr/share/php/Horde/PageOutput.php:810
  3. Horde_Injector->createInstance() /usr/share/php/Horde/Injector.php:247
  4. Horde_Injector_Binder_AnnotatedSetters->create()  
/usr/share/php/Horde/Injector.php:213
  5. Horde_Injector_Binder_Implementation->create()  
/usr/share/php/Horde/Injector/Binder/AnnotatedSetters.php:69
  6. Horde_Injector_Binder_Implementation->_getInstance()  
/usr/share/php/Horde/Injector/Binder/Implementation.php:62
  7. ReflectionClass->newInstanceArgs()  
/usr/share/php/Horde/Injector/Binder/Implementation.php:82
  8. Horde_View_Topbar->__construct()
  9. Horde_Core_Topbar->getTree() /var/www/horde/lib/View/Topbar.php:53
10. Horde_Registry->callAppMethod() /usr/share/php/Horde/Core/Topbar.php:184
11. Horde_Registry->pushApp() /usr/share/php/Horde/Registry.php:1149
12. Horde_Registry->callAppMethod() /usr/share/php/Horde/Registry.php:1557
13. call_user_func_array() /usr/share/php/Horde/Registry.php:1152
14. Horde_Registry_Application->init()
15. Kronolith_Application->_init()  
/usr/share/php/Horde/Registry/Application.php:105
16. Kronolith::initialize() /var/www/horde/kronolith/lib/Application.php:75
17. Kronolith::listInternalCalendars()  
/var/www/horde/kronolith/lib/Kronolith.php:830
18. Horde_Core_Share_Driver->listShares()  
/var/www/horde/kronolith/lib/Kronolith.php:1275
19. Horde_Core_Share_Driver->__call()  
/var/www/horde/kronolith/lib/Kronolith.php:1275
20. call_user_func_array() /usr/share/php/Horde/Core/Share/Driver.php:61
21. Horde_Share_Sqlng->listShares()
22. Horde_Share_Sqlng->_getUserAndGroupShares()  
/usr/share/php/Horde/Share/Sqlng.php:102
23. Horde_Group_Ldap->listGroups() /usr/share/php/Horde/Share/Sqlng.php:343
24. Horde_PageOutput->header() /var/www/horde/admin/config/index.php:359
25. Horde_Injector->getInstance() /usr/share/php/Horde/PageOutput.php:810
26. Horde_Injector->createInstance() /usr/share/php/Horde/Injector.php:247
27. Horde_Injector_Binder_AnnotatedSetters->create()  
/usr/share/php/Horde/Injector.php:213
28. Horde_Injector_Binder_Implementation->create()  
/usr/share/php/Horde/Injector/Binder/AnnotatedSetters.php:69
29. Horde_Injector_Binder_Implementation->_getInstance()  
/usr/share/php/Horde/Injector/Binder/Implementation.php:62
30. ReflectionClass->newInstanceArgs()  
/usr/share/php/Horde/Injector/Binder/Implementation.php:82
31. Horde_View_Topbar->__construct()
32. Horde_Core_Topbar->getTree() /var/www/horde/lib/View/Topbar.php:53
33. Horde_Registry->callAppMethod() /usr/share/php/Horde/Core/Topbar.php:184
34. Horde_Registry->pushApp() /usr/share/php/Horde/Registry.php:1149
35. Horde_Registry->callAppMethod() /usr/share/php/Horde/Registry.php:1557
36. call_user_func_array() /usr/share/php/Horde/Registry.php:1152
37. Horde_Registry_Application->init()
38. Kronolith_Application->_init()  
/usr/share/php/Horde/Registry/Application.php:105
39. Kronolith::initialize() /var/www/horde/kronolith/lib/Application.php:75
40. Kronolith::listInternalCalendars()  
/var/www/horde/kronolith/lib/Kronolith.php:830
41. Horde_Core_Share_Driver->listShares()  
/var/www/horde/kronolith/lib/Kronolith.php:1275
42. Horde_Core_Share_Driver->__call()  
/var/www/horde/kronolith/lib/Kronolith.php:1275
43. call_user_func_array() /usr/share/php/Horde/Core/Share/Driver.php:61
44. Horde_Share_Sqlng->listShares()
45. Horde_Share_Sqlng->_getUserAndGroupShares()  
/usr/share/php/Horde/Share/Sqlng.php:102
46. Horde_Group_Ldap->listGroups() /usr/share/php/Horde/Share/Sqlng.php:343
47. Horde_Ldap->findUserDN() /usr/share/php/Horde/Group/Ldap.php:387
48. Horde_Ldap->search() /usr/share/php/Horde/Ldap.php:871






More information about the bugs mailing list