Skip to content

Commit

Permalink
Release 2.6-7.7.0 - See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredofit committed Nov 27, 2024
1 parent a207e97 commit 6eb4551
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 2.6-7.7.0 2024-11-27 <dave at tiredofit dot ca>

### Added
- Add memberOfAddCheck to memberOf Overlay (TRUE)
- Add settings to enable nestgroup overlay on first init


## 2.6-7.6.13 2024-11-26 <dave at tiredofit dot ca>

### Added
Expand Down
4 changes: 4 additions & 0 deletions install/assets/functions/10-openldap
Original file line number Diff line number Diff line change
Expand Up @@ -459,13 +459,17 @@ EOF
print_notice "Add bootstrap LDIFs"
for ldif_file in $(find /assets/slapd/config/bootstrap/ldif -mindepth 1 -maxdepth 1 -type f -name \*.ldif | sort); do
print_debug "Bootstrap LDIF: Processing file ${ldif_file}"
update_template "${ldif_file}" \
BASE_DN
ldap_add_or_modify "${ldif_file}"
done

# Custom LDIF injection
if [ -d /assets/slapd/config/bootstrap/ldif/custom ]; then
print_notice "Add custom bootstrap ldifs"
for ldif_file in $(find /assets/slapd/config/bootstrap/ldif/custom -type f -name \*.ldif | sort); do
update_template "${ldif_file}" \
BASE_DN
print_debug "LDIF: Processing file ${ldif_file}"
ldap_add_or_modify "${ldif_file}"
done
Expand Down
17 changes: 17 additions & 0 deletions install/assets/slapd/config/bootstrap/ldif/03-nestgroup.ldif
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Load memberof module
dn: cn=module{0},cn=config
changetype: modify
add: olcModuleLoad
olcModuleLoad: memberof

# Backend memberOf overlay
dn: olcOverlay={1}nestgroup,olcDatabase={1}mdb,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcNestGroupConfig
olcOverlay: {1}nestgroup
olcNestGroupBase: {{BASE_DN}}
olcNestGroupFlags: member-values
olcNestGroupFlags: member-filter
olcNestGroupFlags: memberOf-values
olcNestGroupFlags: memberOf-filter
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ add: olcModuleLoad
olcModuleLoad: refint

# Backend refint overlay
dn: olcOverlay={1}refint,olcDatabase={1}mdb,cn=config
dn: olcOverlay={2}refint,olcDatabase={1}mdb,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcRefintConfig
olcOverlay: {1}refint
olcOverlay: {2}refint
olcRefintAttribute: owner
olcRefintAttribute: manager
olcRefintAttribute: uniqueMember
Expand Down

0 comments on commit 6eb4551

Please sign in to comment.