Incorrect service port handling in nss/services.c
[Date Prev][Date Next] [Thread Prev][Thread Next]Incorrect service port handling in nss/services.c
- From: "Ted C. Cheng" <tedcheng [at] symas.com>
- To: "nss-pam-ldapd-users" <nss-pam-ldapd-users [at] lists.arthurdejong.org>
- Subject: Incorrect service port handling in nss/services.c
- Date: Tue, 20 Jul 2010 16:35:59 -0700
Testing on Linux x86_64, one service entry is defined as: dn: cn=test_service1,ou=Services,dc=example,dc=com objectClass: top objectClass: ipService cn: test_service1 ipServicePort: 10001 <-- service port defined description: Symas SUUM services ipServiceProtocol: tcpThe service port returned from nss-pam-ldapd/nss/services.c, however, becomes 4391.
# ./testgetservbyname debug servent.s_name: test_service1 servent.s_port: 4391 <-- wrong service port returned. servent.s_proto: tcp ./testgetservbyname: failed I have attached a fix, #ifdef'ed FIX_SERVICE_PORT. Please review. Thanks, Ted C. Cheng tedcheng@symas.com
Attachment:
nss_services.tar.gz
Description: GNU Zip compressed data
-- To unsubscribe send an email to nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see http://lists.arthurdejong.org/nss-pam-ldapd-users
- Losing users & groups from Active Directory 2008r2,
Emmanuel Lesouef (CRBN)
- Re: Losing users & groups from Active Directory 2008r2,
Arthur de Jong
- Re: Losing users & groups from Active Directory 2008r2,
Emmanuel Lesouef
- Re: Losing users & groups from Active Directory 2008r2,
Arthur de Jong
- Incorrect service port handling in nss/services.c, Ted C. Cheng
- Re: Incorrect service port handling in nss/services.c,
Arthur de Jong
- Re: Incorrect service port handling in nss/services.c, Ted C. Cheng
- Re: Incorrect service port handling in nss/services.c, Arthur de Jong
- Re: Incorrect service port handling in nss/services.c, Ted C. Cheng
- Re: Losing users & groups from Active Directory 2008r2,
Arthur de Jong
- Re: Losing users & groups from Active Directory 2008r2,
Emmanuel Lesouef
- Re: Losing users & groups from Active Directory 2008r2,
Arthur de Jong
- Prev by Date: Re: Losing users & groups from Active Directory 2008r2
- Next by Date: Re: Losing users & groups from Active Directory 2008r2
- Previous by thread: Re: Losing users & groups from Active Directory 2008r2
- Next by thread: Re: Incorrect service port handling in nss/services.c