private function create(PFUser $user) { if ($user->getPassword() != '') { $this->ldap->add($this->getUserDN($user), $this->getLDAPInfo($user)); $this->updateUserLdapId($user); } else { $this->logger->debug('No password for user ' . $user->getUnixName() . ' ' . $user->getId() . ' skip LDAP account creation'); } }