Fix variable name

This commit is contained in:
Victor LABORIE 2017-12-15 23:54:58 +01:00
parent f6b3e0230a
commit d3d71d7179

View file

@ -90,7 +90,7 @@ class LdapDomain extends LdapServer {
$info["cn"] = $name; $info["cn"] = $name;
$info["homeDirectory"] = "/home/vmail/" .$this->getName(). "/" .$uid. "/"; $info["homeDirectory"] = "/home/vmail/" .$this->getName(). "/" .$uid. "/";
$info["uidNumber"]= $conf['unix']['uid']; $info["uidNumber"]= $conf['unix']['uid'];
$info["gidNumber"]= getgid($this->name); $info["gidNumber"]= getgid($this->getName());
$info["isActive"] = ($active) ? 'TRUE' : 'FALSE'; $info["isActive"] = ($active) ? 'TRUE' : 'FALSE';
$info["isAdmin"] = ($admin) ? 'TRUE' : 'FALSE'; $info["isAdmin"] = ($admin) ? 'TRUE' : 'FALSE';
$info["objectclass"][0] = "posixAccount"; $info["objectclass"][0] = "posixAccount";