Bug 170307 - Wrong path to klist in /etc/init.d/ldap
Summary: Wrong path to klist in /etc/init.d/ldap
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: openldap
Version: 4
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jay Fenlason
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-10-10 17:13 UTC by Joachim Selke
Modified: 2014-08-31 23:27 UTC (History)
2 users (show)

Fixed In Version: openldap-servers-2.3.19-4
Clone Of:
Environment:
Last Closed: 2006-03-29 13:54:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joachim Selke 2005-10-10 17:13:53 UTC
Description of problem:
I use Kerberos 5 for authentication and LDAP for user information.

When starting openldap (service ldap start) I get:

/etc/init.d/ldap: line 74: klist: command not found
Checking configuration files for slapd:                    [  OK  ]
Starting slapd:                                            [  OK  ]

Line 74 is:

if LANG=C klist -k "$KRB5_KTNAME" | tail -n 4 | awk '{print $2}' | grep -q
^"$service"/ ; then

I think it has to be "$klist" instead of "klist".


Version-Release number of selected component (if applicable):
openldap-servers.x86_64-2.2.23-5

Comment 1 Joachim Selke 2006-01-24 17:54:24 UTC
The bug still exists in openldap-2.2.29-1.FC4.

Comment 2 Joachim Selke 2006-03-29 13:54:13 UTC
This bug is fixed in Fedora Core 5 (openldap-servers-2.3.19-4).


Note You need to log in before you can comment on or make changes to this bug.