init.d/slapd script reports an error message that could be improved.

Bug #493100 reported by Adrian Custer on 2009-12-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openldap (Ubuntu)

Bug Description

The end of the slapd script reports an error if there 'was no' configuration files in /etc/ldap/slapd.d/ by equating 'fail to read' with 'does not exist'. However 'fail to read' could be due to permission issues such as a regular user calling /etc/init.d/slapd.

The error should be adjusted to reflect this is a 'fail to read' issue which *may* be due to : 'does not exist' or to 'could not access'.

The error message could simply be expanded to include the possibility that the user did not have access rights, or the script could be improved to determine if that is the case and report a separate error.


I suspect the issue is general to all ubuntu install scripts but, if needed:
  Karmic 9.10 Amd-64
  slapd 2.4.18-0ubuntu1 (openldap)

Chuck Short (zulcss) wrote :

Thanks for the bug report.


Changed in openldap (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers