From: openKylin Developers <packaging@lists.openkylin.top>
Date: Tue, 2 Jun 2026 20:35:09 +0800
Subject: man-slapd

Patch the slapd man page to not refer to a header file that isn't
installed with the slapd package and to reference the correct path
for slapd.

Debian-specific.
---
 doc/man/man8/slapd.8 | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/doc/man/man8/slapd.8 b/doc/man/man8/slapd.8
index 807634e..753e5f1 100644
--- a/doc/man/man8/slapd.8
+++ b/doc/man/man8/slapd.8
@@ -5,7 +5,7 @@
 .SH NAME
 slapd \- Stand-alone LDAP Daemon
 .SH SYNOPSIS
-.B LIBEXECDIR/slapd 
+.B /usr/sbin/slapd 
 [\c
 .BR \-V [ V [ V ]]
 [\c
@@ -111,11 +111,10 @@ If this option is specified, even with a zero argument,
 will not fork or disassociate from the invoking terminal.  Some general
 operation and status messages are printed for any value of \fIdebug-level\fP.
 \fIdebug-level\fP is taken as a bit string, with each bit corresponding to a
-different kind of debugging information.  See <ldap_log.h> for details.
-Comma-separated arrays of friendly names can be specified to select
-debugging output of the corresponding debugging information.
-All the names recognized by the \fIloglevel\fP directive 
-described in \fBslapd.conf\fP(5) are supported.
+different kind of debugging information.  Comma-separated arrays of friendly
+names can be specified to select debugging output of the corresponding
+debugging information.  All the names recognized by the \fIloglevel\fP
+directive described in \fBslapd.conf\fP(5) are supported.
 If \fIdebug-level\fP is \fB?\fP, a list of installed debug-levels is printed,
 and slapd exits.
 
@@ -333,7 +332,7 @@ the LDAP databases defined in the default config file, just type:
 .LP
 .nf
 .ft tt
-	LIBEXECDIR/slapd
+	/usr/sbin/slapd
 .ft
 .fi
 .LP
@@ -344,7 +343,7 @@ on voluminous debugging which will be printed on standard error, type:
 .LP
 .nf
 .ft tt
-	LIBEXECDIR/slapd \-f /var/tmp/slapd.conf \-d 255
+	/usr/sbin/slapd \-f /var/tmp/slapd.conf \-d 255
 .ft
 .fi
 .LP
@@ -352,7 +351,7 @@ To test whether the configuration file is correct or not, type:
 .LP
 .nf
 .ft tt
-	LIBEXECDIR/slapd \-Tt
+	/usr/sbin/slapd \-Tt
 .ft
 .fi
 .LP
