Skip to content

[hipri] LDAP Extended: handle invalid formatted group member query gracefully  #41

Description

@cleary

Test: Modify the ldap_query_for_select_dotproject_groups_title in system settings, to use an INVALID formatted LDAP query

Expected Outcome(s):

  • user logs in as per normal
  • no new roles are created or permissions assigned to the user outside of those defined by the dP permission system
  • error message in the top of the window indicating the query failure

Result: Failed - dumps to a page full of errors, unable to resolve without direct database edit

Warning: ldap_search(): Search: Bad search filter in /srv/dotproject/modules/ldap_extended/ldap_extended.class.php on line 534

...

Warning: ldap_search(): Search: Bad search filter in /srv/dotproject/modules/ldap_extended/ldap_extended.class.php on line 534

Warning: ldap_search(): Search: Bad search filter in /srv/dotproject/modules/ldap_extended/ldap_extended.class.php on line 534

Warning: Cannot modify header information - headers already sent by (output started at /srv/dotproject/modules/ldap_extended/ldap_extended.class.php:534) in /srv/dotproject/classes/ui.class.php on line 577

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions