diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php index 32bc8601121e7..742a7e08cf481 100644 --- a/apps/user_ldap/lib/Access.php +++ b/apps/user_ldap/lib/Access.php @@ -1564,7 +1564,7 @@ private function prepareSearchTerm(string $term): string { if ($term === '') { $result = '*'; } elseif ($allowEnum !== 'no') { - $result = $term . '*'; + $result = '*' . $term . '*'; } return $result; }