freeipa/install/share/automember.ldif
Jr Aquino d05ace8fba 34 Create FreeIPA CLI Plugin for the 389 Auto Membership plugin
Added new container in etc to hold the automembership configs.
Modified constants to point to the new container
Modified dsinstance to create the container
Created automember.py to add the new commands
Added xmlrpc test to verify functionality
Added minor fix to user.py for constant behavior between memberof
and automember

https://fedorahosted.org/freeipa/ticket/1272
2011-08-31 09:49:43 +02:00

33 lines
1.0 KiB
Plaintext

# Configuration for Auto Membership Plugin for Master
# installation. This method should be revisted for
# optimization due to a bug within 389 DS which prevents
# the definition files from being added seperatly after
# the insertion of cn=Auto Membership Plugin,cn=plugins,cn=config
# and subsequent 389 DS restart.
dn: cn=Auto Membership Plugin,cn=plugins,cn=config
changetype: modify
add: nsslapd-pluginConfigArea
nsslapd-pluginConfigArea: cn=automember,cn=etc,$SUFFIX
dn: cn=automember,cn=etc,$SUFFIX
changetype: add
objectClass: top
objectClass: nsContainer
cn: automember
dn: cn=Hostgroup,cn=automember,cn=etc,$SUFFIX
changetype: add
objectclass: autoMemberDefinition
cn: Hostgroup
autoMemberScope: cn=computers,cn=accounts,$SUFFIX
autoMemberFilter: objectclass=ipaHost
autoMemberGroupingAttr: member:dn
dn: cn=Group,cn=automember,cn=etc,$SUFFIX
changetype: add
objectclass: autoMemberDefinition
cn: Group
autoMemberScope: cn=users,cn=accounts,$SUFFIX
autoMemberFilter: objectclass=posixAccount
autoMemberGroupingAttr: member:dn