Skip to content

Instantly share code, notes, and snippets.

@kva1966
Last active September 26, 2019 21:04
Show Gist options
  • Save kva1966/58e8e91580f86b73485331160d1c0c1f to your computer and use it in GitHub Desktop.
Save kva1966/58e8e91580f86b73485331160d1c0c1f to your computer and use it in GitHub Desktop.
slapd-sock-overlay configuration
# For 'overlay sock' capability.
moduleload back_sock
# Running in overlay mode rather than as a database.
overlay sock
extensions connid
# Path to Unix Domain Socket created by a listening client, to which slapd
# will connect.
socketpath /var/run/openldap/winad-sync-overlay.sock
# What events to publish/notify clients about
sockops add bind delete modify modrdn
# We must send a response to overlay listeners, otherwise the overlay
# may get messages that openldap failed to process (error result),
# but without any mention of it being an error, that in most cases
# the overlay process should not process further.
sockresps result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment