fixed schema test for cn/description
This commit is contained in:
parent
0dc56e6463
commit
87f270a2c4
|
@ -369,7 +369,13 @@ class posixGroup extends baseModule implements passwordService {
|
||||||
// LDAP aliases
|
// LDAP aliases
|
||||||
$return['LDAPaliases'] = array('commonName' => 'cn');
|
$return['LDAPaliases'] = array('commonName' => 'cn');
|
||||||
// managed attributes
|
// managed attributes
|
||||||
$return['attributes'] = array('cn', 'gidNumber', 'userPassword', 'memberUid', 'description');
|
$return['attributes'] = array('gidNumber', 'userPassword', 'memberUid');
|
||||||
|
if ($this->manageCnAttribute) {
|
||||||
|
$return['attributes'][] = 'cn';
|
||||||
|
}
|
||||||
|
if ($this->manageDescriptionAttribute) {
|
||||||
|
$return['attributes'][] = 'description';
|
||||||
|
}
|
||||||
// profile options
|
// profile options
|
||||||
if (!$this->autoAddObjectClasses) {
|
if (!$this->autoAddObjectClasses) {
|
||||||
$profileContainer = new htmlTable();
|
$profileContainer = new htmlTable();
|
||||||
|
|
Loading…
Reference in New Issue