Commit 1d5b8b45 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5329 Fixed filter for searching possible parent repositories

parent 5ad54380
......@@ -329,7 +329,7 @@ class serviceRepository extends simpleService
$ldap = $config->get_ldap_link();
$ldap->cd($config->current['BASE']);
$ldap->search('(&(objectClass=FAIrepositoryServer)(FAIrepository=*|'.$distribution.'))', array('dn','cn'));
$ldap->search('(&(objectClass=FAIrepositoryServer)(FAIrepository=*|'.$distribution.'|*))', array('dn','cn'));
$ret = array();
while ($attr = $ldap->fetch()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment