SLAPO-NESTGROUP(5)

✨ slapo-nestgroup β€” the Nested Group overlay for slapd ✨

okay bestie, so this is a File Formats Manual page, and it's all about slapo-nestgroup(5) β€” the overlay that makes nested groups actually work in your directory. it's giving "found family but for LDAP groups" πŸ’– and honestly? iconic.


πŸ“– SYNOPSIS

/etc/openldap/slapd.conf

🌸 DESCRIPTION

so the nestgroup overlay plugs into slapd(8) and lets it evaluate nested groups during Search operations. like, groups inside groups inside groups. no cap.

the support is made of four possible features:

  • inclusion of parent groups when you're searching with (member=) filters
  • inclusion of child groups when you're searching with (memberOf=) filters
  • expansion of child groups when returning member attributes
  • expansion of parent groups when returning memberOf attributes

each one of these can be switched on independently, bestie β€” mix and match however you want. but here's the thing: by default no features are enabled, so this overlay literally does nothing unless you explicitly turn stuff on. it's a no-op until you give it a reason to exist. main character energy requires activation πŸ’…


πŸŽ€ CONFIGURATION

all the config directives that belong specifically to nestgroup have to be prefixed with nestgroup-. that's so they don't start drama with directives owned by the underlying database or by other stacked overlays. polite queen behavior 🫢

  • overlay nestgroup β€” this adds the nestgroup overlay to the current database; peep slapd.conf(5) for the details.

the slapd.conf options, bestie

the following configuration options are defined for the nestgroup overlay πŸ’œ

  • nestgroup-member <member-ad> β€” the value of <member-ad> is the name of the attribute that holds the names of the members on the group objects; it must be DN-valued. defaults to member.
  • nestgroup-memberof <memberof-ad> β€” the value of <memberof-ad> is the name of the attribute that holds the names of the groups an entry is a member of; it must be DN-valued. defaults to memberOf.
  • nestgroup-base <dn> β€” the value of <dn> names a subtree inside the DIT that contains group entries. you can hand this option over multiple times for multiple distinct subtrees, and it's fully valid to do so. it has no default, and the overlay does no processing whatsoever unless it's explicitly configured. so if you skip this one, nothing happens. at all. πŸ™ˆ
  • nestgroup-flags {member-filter, memberof-filter, member-values, memberof-values} β€” this one tells the overlay which features to enable. by default, nothing is enabled and the overlay is a complete no-op.
πŸ’€ real talk: this overlay may be used with any backend that provides standard search functionality.

πŸ—‚οΈ FILES

  • /etc/openldap/slapd.conf β€” the default slapd configuration file πŸ“

πŸ‘€ SEE ALSO

slapo-dynlist(5), slapo-memberof(5), slapd.conf(5), slapd-config(5), slapd(8).

also!! the slapo-nestgroup(5) overlay supports dynamic configuration via back-config. so you can configure it on the fly, iykyk ✨


πŸ’ ACKNOWLEDGEMENTS

this module was written in 2024 by Howard Chu of Symas Corporation. respect the legend πŸ‘‘


okay that's the whole page bestie, go forth and nest those groups πŸŒˆπŸ¦‹

this gem is from OpenLDAP 2.7.2, dated 2026/10/21 β€” periodt πŸ’…

πŸ“¦ where this page comes from