Bug 804006

Summary: Changing language to tr_TR nss fails to find ldap-server
Product: Red Hat Enterprise Linux 5 Reporter: Atahan Kara <atahankara>
Component: nss_ldapAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.8CC: amarecek, jhrozek, jplans, nalin
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-07 09:32:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Atahan Kara 2012-03-16 09:47:09 UTC
Description of problem:
If user have uri entry wih upper case "URI" in /etc/ldap.conf
changing language to tr_TR will cause nss unable to find ldap-server

Version-Release number of selected component (if applicable):
nss_ldap-253-49.el5

How reproducible:

Steps to Reproduce:
1. Enter ldap server to ldap.conf as : URI ldaps://ldapserver:636
2. LANG=tr_TR
3. id available_user # you will get no such user in turkish
  
Actual results:
If user changes LANG variable he/she fail to reach ldapserver

Expected results:


Additional info:
Problem is that lowercase of URI is "urı" not "uri" in turkish, and _nss_ldap_readconfig() function uses strcasecmp() function from util.c
either strcasecmp() must be corrected or _nss_ldap_readconfig() should check both URI and uri instead of changing cases.

Comment 3 Jakub Hrozek 2013-02-15 18:29:58 UTC
Right, the problem is that in Turkish the lowercased capital I is not "i" so the config parser breaks..

Comment 4 RHEL Program Management 2013-05-01 07:19:24 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 5 Jakub Hrozek 2013-11-07 09:32:29 UTC
This Bugzilla has been reviewed by Red Hat and is not planned on being addressed in Red Hat Enterprise Linux 5, and therefore will be closed.

If this bug is critical to production systems, please contact your Red Hat support representative and provide sufficient business justification.

This issue is already solved in nss-pam-ldapd in RHEL-6.