Sometimes it is necessary for a configuration map entry ([Configuration Maps]) to apply to only a subset of hosts. There are a number of good reasons when netgroup constraints will be required, here are some of them:
Netgroup constraints allow a configuration map entry to be applied only if the client is a member of a list of netgroups. This is achieved by setting the exactNetgroup
attribute. Alternatively the notNetgroup
attribute may be used to restrict the configuration map entry to those clients that are not a member of a list of netgroups.
Here is an example configuration map entry that uses exactNetgroup
. In this case, user accounts are being added to the passwd database for any hosts in the unix-hosts
and unix-hosts2
netgroups:
dn: cn=passwd-merger,en=sales.corp,ou=domain-mappings,o=infra objectClass: top objectClass: dbisMapConfig objectClass: dbisPasswdConfig cn: passwd-merger dbisMapDN: ou=passwd,ou=merger,o=infra dbisMapFilter: objectClass=posixUserAccount dbisMapGecos: displayName dbisOverlayDN: ou=passwd,ou=overlays,ou=sales-merger,o=infra exactNetgroup: unix-hosts exactNetgroup: unix-hosts2
Return to [Configuring DBIS] for the next steps in setting up a new installation.
Wiki: Configuration Maps
Wiki: ConfigurationMaps-RFC2307
Wiki: Configuring DBIS
Wiki: DBIS and RFC2307 - A Comparison
Wiki: Map Entries
Wiki: Overlays
Wiki: Transformation Rules