summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipalib/plugins/host.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py
index 15870b0a6..9172513b6 100644
--- a/ipalib/plugins/host.py
+++ b/ipalib/plugins/host.py
@@ -62,15 +62,21 @@ class host(LDAPObject):
'cn': 'name',
'fqdn': 'hostname',
'localityname': 'locality',
+ 'l': 'locality',
'nshostlocation': 'location',
'nshardwareplatform': 'platform',
'nsosversion': 'operating system',
'serverhostname': 'server hostname',
'enrolledby user': 'enrolled by',
'krbprincipalname': 'kerberos principal',
+ 'ipauniqueid': 'unique identifier',
+ 'memberof hostgroup': 'member of hostgroups',
+ 'memberof netgroup': 'member of netgroups',
+ 'memberof rolegroup': 'member of rolegroups',
}
attribute_members = {
'enrolledby': ['user'],
+ 'memberof': ['hostgroup', 'netgroup', 'rolegroup'],
}
takes_params = (