Commit 7c58c328 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5329 Fixed filter for searching possible parent repositories

parent 71c831dd
......@@ -321,7 +321,7 @@ class serviceRepository extends simpleService
$ldap = $config->get_ldap_link();
$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