Commit b5f8d27e authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4168 Using UidAttribute instead of HostNameAttribute for groups

parent fe4bc5cc
...@@ -57,7 +57,7 @@ class group extends simplePlugin ...@@ -57,7 +57,7 @@ class group extends simplePlugin
'name' => _('Properties'), 'name' => _('Properties'),
'attrs' => array( 'attrs' => array(
new BaseSelectorAttribute(get_ou('groupRDN')), new BaseSelectorAttribute(get_ou('groupRDN')),
new HostNameAttribute( new UidAttribute(
_('Name'), _('Name of this group'), _('Name'), _('Name of this group'),
'cn', TRUE 'cn', TRUE
), ),
......
...@@ -181,7 +181,7 @@ class ogroup extends simplePlugin ...@@ -181,7 +181,7 @@ class ogroup extends simplePlugin
'name' => _('Properties'), 'name' => _('Properties'),
'attrs' => array( 'attrs' => array(
new BaseSelectorAttribute(get_ou('ogroupRDN')), new BaseSelectorAttribute(get_ou('ogroupRDN')),
new HostNameAttribute( new UidAttribute(
_('Name'), _('Name of this group'), _('Name'), _('Name of this group'),
'cn', TRUE 'cn', TRUE
), ),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment