Add netgroup as possible memberOf for hostgroups

https://fedorahosted.org/freeipa/ticket/1563
This commit is contained in:
Rob Crittenden
2011-08-30 14:08:34 -04:00
parent 327d67fe8d
commit e52f652873
5 changed files with 17 additions and 2 deletions

View File

@@ -188,6 +188,7 @@ class test_netgroup(Declarative):
cn=[hostgroup1],
objectclass=objectclasses.hostgroup,
description=[u'Test hostgroup 1'],
memberof_netgroup=[hostgroup1],
mepmanagedentry=lambda x: [DN(i) for i in x] == \
[DN(('cn',hostgroup1),('cn','ng'),('cn','alt'),
api.env.basedn)],