--- - branch: MAIN date: Wed Feb 15 15:38:08 UTC 2023 files: - new: '1.67' old: '1.66' path: pkgsrc/databases/openldap-server/Makefile pathrev: pkgsrc/databases/openldap-server/Makefile@1.67 type: modified id: 20230215T153808Z.59445a41302394ff4ed76569e7454e3a7c7dd9b8 log: | The shell backend was retired, the sock overlay should replace it If you had this: database shell suffix "cn=log" rootdn "cn=root,dc=log" add "/usr/local/bin/prog" modify "/usr/local/bin/prog" delete "/usr/local/bin/prog" modrdn "/usr/local/bin/prog" Now use this (not documented anywhere!) database null suffix "cn=log" overlay sock socketpath "/var/run/prog.sock" sockops add delete modify modrdn And now you need to write a daemon that reads on a local SOCK_STREAM socket to get the data (the format is the same slapd-shell produced), and executes /usr/local/bin/prog with that data on stdin. module: pkgsrc subject: 'CVS commit: pkgsrc/databases/openldap-server' unixtime: '1676475488' user: manu