diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php index 1044938446e16..16cc9ea8ddcc5 100644 --- a/apps/user_ldap/lib/Access.php +++ b/apps/user_ldap/lib/Access.php @@ -1557,7 +1557,7 @@ private function prepareSearchTerm($term) { if ($term === '') { $result = '*'; } else if ($allowEnum !== 'no') { - $result = $term . '*'; + $result = '*' . $term . '*'; } return $result; }