#1348 Service lookups by port number doesn't work on s390x/ppc64 arches
Closed: Fixed None Opened 8 years ago by dpal.

https://bugzilla.redhat.com/show_bug.cgi?id=825028 (Red Hat Enterprise Linux 6)

Description of problem:
Service lookups by port number doesn't work on s390x/ppc64 arches

Version-Release number of selected component (if applicable):
sssd-1.8.0-28.el6.ppc64

How reproducible:
Always

Steps to Reproduce:
1. Configure sssd as follows:
# cat /etc/sssd/sssd.conf
[sssd]
config_file_version = 2
services = nss, pam
domains = LDAP

[nss]
filter_groups = root
filter_users = root
debug_level=0xFFF0

[pam]

[domain/LDAP]
debug_level=0xFFF0
id_provider = ldap
ldap_uri = ldap://openldapserv.example.com
ldap_search_base = dc=example,dc=com

2. On ldap server, add a service as follows:
# Svc5, Services, example.com
dn: cn=Svc5,ou=Services,dc=example,dc=com
objectClass: ipService
cn: svc5_alias1
cn: SVC5_Alias2
cn: Svc5
ipServicePort: 12345
ipServiceProtocol: SCtp
ipServiceProtocol: Dummy_proto5

3. Lookup service:
# getent -s sss services Svc5
Svc5                  12345/SCtp svc5_alias1 SVC5_Alias2

# getent -s sss services 12345/SCtp   <== returns blank output

# getent -s sss services 12345  <== returns blank output

Actual results:
Lookup of service by port number returns nothing.

Expected results:
Lookup of service by port number should work.

Additional info:
/var/log/sssd/sssd_nss.log shows:
(Thu May 24 16:15:06 2012) [sssd[nss]] [get_client_cred] (0x4000): Client
creds: euid[0] egid[0] pid[11554].
(Thu May 24 16:15:06 2012) [sssd[nss]] [accept_fd_handler] (0x0100): Client
connected!
(Thu May 24 16:15:06 2012) [sssd[nss]] [sss_cmd_get_version] (0x0200): Received
client version [1].
(Thu May 24 16:15:06 2012) [sssd[nss]] [sss_cmd_get_version] (0x0200): Offered
version [1].
(Thu May 24 16:15:06 2012) [sssd[nss]] [nss_cmd_getservbyport] (0x0400):
Requesting info for service on port [0/<ANY>]
(Thu May 24 16:15:06 2012) [sssd[nss]] [sss_ncache_check_str] (0x2000):
Checking negative cache for [NCE/SERVICE/LDAP/0l:<ANY>]
(Thu May 24 16:15:06 2012) [sssd[nss]] [getserv_send] (0x0400): Checking cache
for [0:<ANY>@LDAP]
(Thu May 24 16:15:06 2012) [sssd[nss]] [nss_cmd_getserv_done] (0x0040):
getservbyname failed
(Thu May 24 16:15:06 2012) [sssd[nss]] [client_recv] (0x0200): Client
disconnected!

Fields changed

blockedby: =>
blocking: =>
component: SSSD => NSS
coverity: =>
feature_milestone: =>
milestone: NEEDS_TRIAGE => SSSD 1.8.4 (LTM)
owner: somebody => jhrozek
priority: critical => blocker
tests: => 0
testsupdated: => 0
upgrade: => 0
version: => 1.8.0

Fixed by:
- 188f9e1 (master)
- d4b5df1 (sssd-1-8)

patch: 0 => 1
resolution: => fixed
status: new => closed

Metadata Update from @dpal:
- Issue assigned to jhrozek
- Issue set to the milestone: SSSD 1.8.4 (LTM)

3 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/2390

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