Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

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!
Tasklist

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

Details

Description:
/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

PIDFile=/run/openldap/slapd.pid

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

ExecStart=/usr/sbin/slapd -u ldap -g ldap -h "ldap://127.0.0.1/ 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://127.0.0.1/ to ldap://0.0.0.0/ for remote access via TCP.

Additional info:
openldap-2.4.33-1

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://127.0.0.1:389/"
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: https://www.archlinux.org/packages/core/x86_64/openldap/
Assigning to last packager. Please move to [community] or unsupported if there is no interest for it. Thanks.

Loading...