fixes rare case that user contact metadata is missing in LDAP
[tine20] / tine20 / Tinebase / User / Ldap.php
index 2406f47..560d75d 100644 (file)
@@ -662,6 +662,10 @@ class Tinebase_User_Ldap extends Tinebase_User_Sql implements Tinebase_User_Inte
             $this->_rowNameMapping['accountId'], $userId
         );
 
+        if (Tinebase_Core::isLogLevel(Zend_Log::TRACE))
+            Tinebase_Core::getLogger()->trace(__METHOD__ . '::' . __LINE__
+                . ' fetch meta data - filter: ' . $filter);
+
         $result = $this->_ldap->search(
             $filter,
             $this->_baseDn,