]> granicus.if.org Git - linux-pam/commit
Relevant BUGIDs:
authorTomas Mraz <tm@t8m.info>
Wed, 25 Feb 2009 15:50:21 +0000 (15:50 +0000)
committerTomas Mraz <tm@t8m.info>
Wed, 25 Feb 2009 15:50:21 +0000 (15:50 +0000)
commit1376c1565abb318a5b4d086edd7f295ee3da6b13
tree737d16f94d1a66516090d0bbf8a1ec3aec7afb18
parenta95722ff38751fe28777846e8fcf115429c759b1
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
2009-02-25  Tomas Mraz <t8m@centrum.cz>

        * xtests/access.conf: Add a line for name resolution test case.
        * xtests/tst-pam_access4.c (main): Set PAM_RHOST for testing the LOCAL
        keyword. Add a test case for name resolution.

        * modules/pam_access/pam_access.c (from_match): Move name resolution
        to network_netmask_match().
        (network_netmask_match): Do a name resolution of the origin only if
        matching against a real network/netmask.
ChangeLog
modules/pam_access/pam_access.c
xtests/access.conf
xtests/tst-pam_access4.c