- fix typo in ldap.init (call $klist instead of klist, from Charles Lopes)

This commit is contained in:
Nalin Dahyabhai 2005-08-05 17:51:39 +00:00
parent 35187137d2
commit 4898dbd579
2 changed files with 4 additions and 1 deletions

View File

@ -71,7 +71,7 @@ function checkkeytab() {
export KRB5_KTNAME
if test -s "$KRB5_KTNAME" ; then
if test x"$klist" != x ; then
if LANG=C klist -k "$KRB5_KTNAME" | tail -n 4 | awk '{print $2}' | grep -q ^"$service"/ ; then
if LANG=C $klist -k "$KRB5_KTNAME" | tail -n 4 | awk '{print $2}' | grep -q ^"$service"/ ; then
if ! testasuser "$user" -r ${KRB5_KTNAME:-/etc/krb5.keytab} ; then
true
else

View File

@ -716,6 +716,9 @@ fi
%endif
%changelog
* Fri Aug 5 2005 Nalin Dahyabhai <nalin@redhat.com>
- fix typo in ldap.init (call $klist instead of klist, from Charles Lopes)
* Thu May 19 2005 Nalin Dahyabhai <nalin@redhat.com> 2.2.26-1
- run slaptest with the -u flag if no id2entry db files are found, because
you can't check for read-write access to a non-existent database (#156787)