protected function serviceEnabled() { parent::serviceEnabled(); $username = $this->getUser()->getUsername(); $this->setUid(1000); //@TODO incremental id $this->setGid(1000); $this->setHomeDirector('/home/' . $username); $this->getObject(Schemas\PosixAccount::class)->setCn($username); }