NIS Maps (Netgroup) in LDAP

Single Tree

Skeleton

 dn: nisMapName=netgroup.by{host||user},[["BaseDN"]]
 nismapname: netgroup.by{host||user}
 objectClass: top
 objectClass: nisMap
 objectClass: domainRelatedObject
 associatedDomain: your.domain

Example: netgroup ByUser

 dn: nisMapName=netgroup.byuser,dc=example,dc=com
 nismapname: netgroup.byuser
 objectClass: top
 objectClass: nisMap
 objectClass: domainRelatedObject
 associatedDomain: example.com

Example: netgroup ByHost

 dn: nisMapName=netgroup.byhost,dc=example,dc=com
 nismapname: netgroup.byhost
 objectClass: top
 objectClass: nisMap
 objectClass: domainRelatedObject
 associatedDomain: example.com

Distinct Subtrees

Skeleton

 dn: nisMapName=netgroup.by{host||user},ou=auth,[["BaseDN"]]
 nismapname: netgroup.by{host||user}
 objectClass: top
 objectClass: nisMap
 objectClass: domainRelatedObject
 associatedDomain: your.domain

Example: netgroup ByUser

 dn: nisMapName=netgroup.byuser,ou=auth,dc=example,dc=com
 nismapname: netgroup.byuser
 objectClass: top
 objectClass: nisMap
 objectClass: domainRelatedObject
 associatedDomain: example.com

Example: netgroup ByHost

 dn: nisMapName=netgroup.byhost,ou=auth,dc=example,dc=com
 nismapname: netgroup.byhost
 objectClass: top
 objectClass: nisMap
 objectClass: domainRelatedObject
 associatedDomain: example.com