diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php index e3a8ba6812c6cfab198227844cfdea6c658fcd89..1277e074714619b9fea87c232a475a8da17cc097 100644 --- a/apps/user_ldap/user_ldap.php +++ b/apps/user_ldap/user_ldap.php @@ -180,6 +180,11 @@ class USER_LDAP extends lib\Access implements \OCP\UserInterface { * @return boolean */ public function getHome($uid) { + // user Exists check required as it is not done in user proxy! + if(!$this->userExists($uid)) { + return false; + } + $cacheKey = 'getHome'.$uid; if($this->connection->isCached($cacheKey)) { return $this->connection->getFromCache($cacheKey);