#1026 HBAC: Hostname comparisons should be case-insensitive
Closed: Fixed None Opened 12 years ago by sgallagh.

https://bugzilla.redhat.com/show_bug.cgi?id=742539

Description of problem:
The HBAC provider is performing a case-sensitive match on hostnames. This means that if the host is named 'host1' in FreeIPA, and the hostname as returned by the 'hostname' command on the client is 'HOST1', it will fail to match access-control rules.

Version-Release number of selected component (if applicable):
sssd-1.5.1-52.el6

How reproducible:
Every time

Steps to Reproduce:
See description

Actual results:
Fails to match

Expected results:
Rules applying to target hosts and source hosts should apply regardless of case.

Additional info:

Fixed by:
- ea40c46 (master)
- fca3395 (sssd-1-6)
- 582ffb9 (sssd-1-5)

coverity: =>
description: https://bugzilla.redhat.com/show_bug.cgi?id=742539

{{{
Description of problem:
The HBAC provider is performing a case-sensitive match on hostnames. This means that if the host is named 'host1' in FreeIPA, and the hostname as returned by the 'hostname' command on the client is 'HOST1', it will fail to match access-control rules.

Version-Release number of selected component (if applicable):
sssd-1.5.1-52.el6

How reproducible:
Every time

Steps to Reproduce:
See description

Actual results:
Fails to match

Expected results:
Rules applying to target hosts and source hosts should apply regardless of case.

Additional info:
}}}
=> https://bugzilla.redhat.com/show_bug.cgi?id=742539

{{{
Description of problem:
The HBAC provider is performing a case-sensitive match on hostnames. This means that if the host is named 'host1' in FreeIPA, and the hostname as returned by the 'hostname' command on the client is 'HOST1', it will fail to match access-control rules.

Version-Release number of selected component (if applicable):
sssd-1.5.1-52.el6

How reproducible:
Every time

Steps to Reproduce:
See description

Actual results:
Fails to match

Expected results:
Rules applying to target hosts and source hosts should apply regardless of case.

Additional info:
}}}

patch: => 1
resolution: => fixed
rhbz: =>
status: new => closed
tests: => 0
testsupdated: => 0
upgrade: => 0

Metadata Update from @sgallagh:
- Issue set to the milestone: SSSD 1.5.14

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2068

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata