fixed schema test for cn/description

This commit is contained in:
Roland Gruber 2013-09-24 16:34:38 +00:00
parent 0dc56e6463
commit 87f270a2c4
1 changed files with 7 additions and 1 deletions

View File

@ -369,7 +369,13 @@ class posixGroup extends baseModule implements passwordService {
// LDAP aliases
$return['LDAPaliases'] = array('commonName' => 'cn');
// 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
if (!$this->autoAddObjectClasses) {
$profileContainer = new htmlTable();