6.0.0-beta1
7/6/25

[#9739] setup LDAP filter on listAll() for config-backend
Summary setup LDAP filter on listAll() for config-backend
Queue Horde Base
Queue Version 4.0-RC1
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester michael.groene (at) zel (dot) uni-hannnover (dot) de
Created 03/29/2011 (5213 days ago)
Due
Updated 03/29/2011 (5213 days ago)
Assigned 03/29/2011 (5213 days ago)
Resolved 03/29/2011 (5213 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/29/2011 01:42:46 PM michael (dot) groene (at) zel (dot) uni-hannover (dot) de Comment #5 Reply to this comment
This should fix it.
Jup, it's working now. Thank you.

03/29/2011 12:43:43 PM Jan Schneider Comment #4
State ⇒ Resolved
Reply to this comment
This should fix it.
03/29/2011 12:43:37 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git for this ticket:

Fix building LDAP filter from configuration (Bug #9739).

  3 files changed, 3 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/6f53dfb76f8a79a3493a3871b1bea8980d2c5704
03/29/2011 12:34:59 PM Jan Schneider Comment #2
State ⇒ Feedback
Assigned to Jan Schneider
Reply to this comment
  ... here are many many lines more, but I think they will just blow 
up the ticket...
They might be relevant though, especially if there is a 'filter' entry 
in $params.
03/29/2011 11:02:03 AM michael (dot) groene (at) zel (dot) uni-hannnover (dot) de Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ setup LDAP filter on listAll() for config-backend
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Quoting Jan Schneider <jan@horde.org>:

[Show Quoted Text - 33 lines]
Here is print_r($params);:
Array
(
     [hostspec] => dc1
     [tls] =>
     [version] => 3
     [binddn] => user
     [bindpw] => pass
     [bindas] => admin
     [useldap] => 1
     [basedn] => OU=ZEW_Sicherheitsgruppen,DC=ZEW,DC=local
     [scope] => sub
     [gid] => cn
     [memberuid] => member
     [attrisdn] => 1
     [newgroup_objectclass] => Array
         (
             [0] => group
         )

     [search] => Array
         (
             [objectclass] => Array
                 (
                     [0] => group
                 )

             [filter_type] => objectclass
         )

     [driverconfig] => horde
     [umask] => 63
     [ldap] => Horde_Ldap Object
         (
             [_config:protected] => Array
                 (
                     [hostspec] => dc1
                     [port] => 389
                     [version] => 3
                     [tls] =>
                     [binddn] => user
                     [bindpw] => pass
                     [basedn] => OU=ZEW_Sicherheitsgruppen,DC=ZEW,DC=local
                     [options] => Array
                         (
                         )

                     [filter] => (objectClass=*)
                     [scope] => sub
                     [user] => Array
                         (
                             [hostspec] => dc1
                             [tls] =>
                             [version] => 3
                             [binddn] => user
                             [bindpw] => pass
                             [bindas] => admin
                             [useldap] => 1
                             [basedn] => 
OU=ZEW_Sicherheitsgruppen,DC=ZEW,DC=local
                             [scope] => sub
                             [gid] => cn
                             [memberuid] => member
                             [attrisdn] => 1
                             [newgroup_objectclass] => Array
                                 (
                                     [0] => group
                                 )

                             [search] => Array
                                 (
                                     [objectclass] => Array
                                         (
                                             [0] => group
                                         )

                                     [filter_type] => objectclass
                                 )

                             [driverconfig] => horde
                             [umask] => 63
                         )

                     [auto_reconnect] =>
                     [min_backoff] => 1
                     [current_backoff] => 1
                     [max_backoff] => 32
                     [cache] => Horde_Cache Object
                         (
                             [_params:protected] => Array
                                 (
                                     [compress] =>
                                     [lifetime] => 86400
                                     [sub] => 0
                                     [umask] => 63
                                 )

                             [_logger:protected] => 
Horde_Core_Log_Logger Object
                                 (
                                     
[_levels:Horde_Log_Logger:private] => Array
                                         (
                                             [0] => EMERG
                                             [1] => ALERT
                                             [2] => CRIT
                                             [3] => ERR
                                             [4] => WARN
                                             [5] => NOTICE
                                             [6] => INFO
                                             [7] => DEBUG
                                         )

                                     
[_handlers:Horde_Log_Logger:private] => Array
                                         (
                                             [0] => 
Horde_Log_Handler_Stream Object
                                                 (
                                                     
[_formatter:protected] => Horde_Log_Formatter_Simple Object
                                                         (
                                                             
[_format:protected] => %timestamp% %levelName%: %message%

                                                         )

                                                     
[_stream:protected] => Resource id #40
                                                     [_mode:protected] => a+
                                                     
[_streamOrUrl:protected] => /tmp/horde4.log
                                                     
[_options:protected] => Array
                                                         (
                                                         )

                                                     
[_filters:protected] => Array
                                                         (
                                                             [0] => 
Horde_Log_Filter_Level Object
                                                                 (
                                                                     
[_level:protected] => 6
                                                                 )

                                                         )

                                                 )

                                         )

                                     
[_filters:Horde_Log_Logger:private] => Array
                                         (
                                         )

                                 )

                             [_storage:protected] => 
Horde_Cache_Storage_File Object
                                 (
                                     [_dir:protected] => /tmp
                                     [_file:protected] => Array
                                         (
                                             
[horde_registry|app|1300977270|f942fba5fb05c737e798c688185e88f2] => 
/tmp/cache_2990ab4b803ea2f374904714624ffff0
                                             
[Horde_Ldap_Schema_185013ebe7b944a5b3c8c4e5721d64d8] => 
/tmp/cache_05dd5a6413d0296f3e0f5e5ce6ef759d
                                         )

                                     [_logger:protected] => 
Horde_Core_Log_Logger Object
                                         (
                                             
[_levels:Horde_Log_Logger:private] => Array
                                                 (
                                                     [0] => EMERG
                                                     [1] => ALERT
                                                     [2] => CRIT
                                                     [3] => ERR
                                                     [4] => WARN
                                                     [5] => NOTICE
                                                     [6] => INFO
                                                     [7] => DEBUG
                                                 )

                                             
[_handlers:Horde_Log_Logger:private] => Array
                                                 (
                                                     [0] => 
Horde_Log_Handler_Stream Object
                                                         (
                                                             
[_formatter:protected] => Horde_Log_Formatter_Simple Object
                                                                 (
                                                                     
[_format:protected] => %timestamp% %levelName%: %message%

                                                                 )

                                                             
[_stream:protected] => Resource id #40
                                                             
[_mode:protected] => a+
                                                             
[_streamOrUrl:protected] => /tmp/horde4.log
                                                             
[_options:protected] => Array
                                                                 (
                                                                 )

                                                             
[_filters:protected] => Array
                                                                 (
                                                                     
[0] => Horde_Log_Filter_Level Object
                                                                         (
                                                                       
       [_level:protected] => 6
                                                                         )

                                                                 )

                                                         )

                                                 )

                                             
[_filters:Horde_Log_Logger:private] => Array
                                                 (
                                                 )

                                         )

                                     [_params:protected] => Array
                                         (
                                             [prefix] => cache_
                                             [sub] => 0
                                             [umask] => 63
                                             [lifetime] => 86400
                                             [compress] => 1
                                             [logger] => 
Horde_Core_Log_Logger Object
                                                 (
                                                     
[_levels:Horde_Log_Logger:private] => Array
                                                         (
                                                             [0] => EMERG
                                                             [1] => ALERT
                                                             [2] => CRIT
                                                             [3] => ERR
                                                             [4] => WARN
                                                             [5] => NOTICE
                                                             [6] => INFO
                                                             [7] => DEBUG
                                                         )

                                                     
[_handlers:Horde_Log_Logger:private] => Array
                                                         (
                                                             [0] => 
Horde_Log_Handler_Stream Object
                                                                 (
                                                                     
[_formatter:protected] => Horde_Log_Formatter_Simple Object
                                                                         (
                                                                       
       [_format:protected] => %timestamp% %levelName%: %message%

                                                                         )

  ... here are many many lines more, but I think they will just blow 
up the ticket...

Saved Queries