Change default uid number

This commit is contained in:
Victor LABORIE 2019-01-10 12:00:01 +01:00
parent 6705fba644
commit fdfd41c754
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class LdapDomain extends LdapServer {
$info[LdapAccount::$dn] = $mail;
$info["cn"] = $name;
$info["homeDirectory"] = "/home/vmail/" .$this->getName(). "/" .$uid. "/";
$info["uidNumber"] = 2022;
$info["uidNumber"] = 5000;
$info["gidNumber"] = $this->getGid();
$info["isActive"] = ($active) ? 'TRUE' : 'FALSE';
$info["isAdmin"] = ($admin) ? 'TRUE' : 'FALSE';