Problem
In the Univention Management Console (UMC), the global search within various modules fails to return any objects when no specific search string is entered.
This behavior occurs specifically after the UCR variable directory/manager/web/auto_substring_search has been set to false. Instead of showing the expected list of objects, the interface returns no results, or in some cases, attempts to display all objects simultaneously, which deviates from the intended behavior of the search filter.
Environment
- Product: Univention Corporate Server (UCS)
- Version: 5.2-5 (and earlier)
- Component: Univention Management Console (UMC) / Directory Manager
Root Cause
This is a known software bug where the UMC does not provide a default search fallback when the automatic substring search is deactivated. When auto_substring_search is set to false, the system fails to initiate a basic “list all” query, resulting in an empty result set.
Bug Report: Forge Bug #59444
Investigation
To verify if the system is affected by this issue, check the current UCR setting:
ucr info directory/manager/web/auto_substring_search
If the value is false, the global search will not return results unless a specific search string is provided.
Reproduction Steps:
- Set the variable to false:
ucr set directory/manager/web/auto_substring_search=false - Restart the UMC server:
systemctl restart univention-management-console-server.service - Open the UMC and navigate to any object-based module (e.g., Users, Groups, Computers etc.).
- Observe that the global search returns no results if the search field is left empty.
Solution
This issue has been resolved in Erratum 498. The fix ensures that a default search value (*) is automatically applied when the automatic substring search is false.
Resolution Path:
- Update the system to
5.2-6and include Erratum 498 or higher. - Verify the installation via the Errata portal: Erratum 5.2x498
- Apply the configuration:
ucr set directory/manager/web/auto_substring_search=false - Restart the UMC server:
systemctl restart univention-management-console-server.service