#1160 getservbyname() and getservbyport() need to return the correct protocol if one was specified
Closed: Fixed None Opened 12 years ago by sgallagh.

From jhrozek on https://fedorahosted.org/pipermail/sssd-devel/2012-January/008296.html

I noticed one more bug in the responder - for a service that has both
"tcp" and "udp" values for the "ipServiceProtocol" attribute, the first
one is always returned unconditionally even if the user specifically
asked for a protocol.

So getservbyname("genericservice", "udp"); would always retun "tcp" if
it's the first service in the cache even if "udp" exists.


Fields changed

rhbz: => 0

Fields changed

feature_milestone: =>
status: new => assigned

Fields changed

patch: 0 => 1

Fixed by:
- master
- acbc134
- 3ae9dd8
- sssd-1-8
- ec9c64f
- 79c5dc3

resolution: => fixed
status: assigned => closed

Metadata Update from @sgallagh:
- Issue assigned to sgallagh
- Issue set to the milestone: SSSD 1.8.0 (LTM)

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/2202

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