Created attachment 231565 [details] git diff The makefile patches the slapd.conf file with a changed path for the argsfile and pidfile, but the slapd.ldif file remains unchanged. The enclosed patch updates the paths in the slapd.ldif file as well. Should work similarly for bug 259807.
*** Bug 259807 has been marked as a duplicate of this bug. ***
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f677d84c0fd21d5f278c7a56b7e80ecb3b699a7e commit f677d84c0fd21d5f278c7a56b7e80ecb3b699a7e Author: Tom Warnke <tom@toromtomtom.com> AuthorDate: 2022-02-07 00:35:16 +0000 Commit: Xin LI <delphij@FreeBSD.org> CommitDate: 2022-02-07 00:38:11 +0000 net/openldap2[456]-server: Fix paths for argsfile and pidfile. The Makefile patches the slapd.conf file with a changed path for the argsfile and pidfile, but the slapd.ldif file remains unchanged. Fix this by patching the paths in the slapd.ldif file as well. PR: ports/261734 net/openldap24-server/Makefile | 4 +++- net/openldap25-server/Makefile | 4 +++- net/openldap26-server/Makefile | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-)