Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#32719 - [openldap] /usr/lib/systemd/system/slapd.service is incomplete

Attached to Project: Arch Linux
Opened by Neil Darlow (neildarlow) - Friday, 16 November 2012, 21:25 GMT
Last edited by Eric Belanger (Snowman) - Monday, 19 November 2012, 09:56 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


/usr/lib/systemd/system/slapd.service has a few omissions:

1) The pid file resides in /run/openldap
2) The user and group to run as are not specified
3) No host URIs are specified

1) I suggest the following PIDFile= addition


2 and 3) I suggest the following modification to ExecStart=

ExecStart=/usr/sbin/slapd -u ldap -g ldap -h "ldap:// ldapi://%2frun%2fopenldap%2fldapi/";

NOTE: This allows access, from the host on which openldap is installed, via TCP and local socket but users might copy and edit this file to change ldap:// to ldap:// for remote access via TCP.

Additional info:

Steps to reproduce:
This task depends upon

Closed by  Eric Belanger (Snowman)
Monday, 19 November 2012, 09:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  openldap-2.4.33-2
ExecStart=/usr/sbin/slapd -u ldap -g ldap -h "ldap://"
Comment by Alexander F Rødseth (xyproto) (trontonic) - Friday, 16 November 2012, 22:25 GMT
openldap is currently and orphan, and currently it is required by 0 packages, according to:
Assigning to last packager. Please move to [community] or unsupported if there is no interest for it. Thanks.