Change default uid number
This commit is contained in:
parent
6705fba644
commit
fdfd41c754
|
@ -82,7 +82,7 @@ class LdapDomain extends LdapServer {
|
||||||
$info[LdapAccount::$dn] = $mail;
|
$info[LdapAccount::$dn] = $mail;
|
||||||
$info["cn"] = $name;
|
$info["cn"] = $name;
|
||||||
$info["homeDirectory"] = "/home/vmail/" .$this->getName(). "/" .$uid. "/";
|
$info["homeDirectory"] = "/home/vmail/" .$this->getName(). "/" .$uid. "/";
|
||||||
$info["uidNumber"] = 2022;
|
$info["uidNumber"] = 5000;
|
||||||
$info["gidNumber"] = $this->getGid();
|
$info["gidNumber"] = $this->getGid();
|
||||||
$info["isActive"] = ($active) ? 'TRUE' : 'FALSE';
|
$info["isActive"] = ($active) ? 'TRUE' : 'FALSE';
|
||||||
$info["isAdmin"] = ($admin) ? 'TRUE' : 'FALSE';
|
$info["isAdmin"] = ($admin) ? 'TRUE' : 'FALSE';
|
||||||
|
|
Loading…
Reference in a new issue