From 624c7b999d4c33b902656fd8d36efe68075e6c27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be> Date: Mon, 26 Sep 2016 14:58:46 +0200 Subject: [PATCH] Fixes #5157 fdLockTimestamp was missing from ldap search --- include/functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.inc b/include/functions.inc index 26824edb4..00f25b29d 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -838,7 +838,7 @@ function get_locks($objects) /* Get LDAP link, check for presence of the lock entry */ $ldap = $config->get_ldap_link(); $ldap->cd(get_ou('lockRDN').get_ou('fusiondirectoryRDN').$config->current['BASE']); - $ldap->search($filter, array('fdUserDn','fdObjectDn')); + $ldap->search($filter, array('fdUserDn','fdObjectDn', 'fdLockTimestamp')); if (!$ldap->success()) { msg_dialog::display(_('LDAP error'), msgPool::ldaperror($ldap->get_error(), '', LDAP_SEARCH), LDAP_ERROR); return FALSE; -- GitLab