]> granicus.if.org Git - linux-pam/commit
Relevant BUGIDs:
authorTomas Mraz <tm@t8m.info>
Thu, 17 Apr 2008 12:52:25 +0000 (12:52 +0000)
committerTomas Mraz <tm@t8m.info>
Thu, 17 Apr 2008 12:52:25 +0000 (12:52 +0000)
commit083ef66c15e2ce9f90bdf6353488a01e1d3d813c
tree32f22741a5a5e806c564072cb2871046b8b94dd4
parent3165b29623e3498f8e75dba5413c4a662bdcec15
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-04-17  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_access/pam_access.c(myhostname): Removed function.
        (user_match): Supply hostname of the machine to the netgroup_match().
        Use hostname from the loginfo instead of calling myhostname().
        (pam_sm_authenticate): Call gethostname() to fill hostname in the
        loginfo.
ChangeLog
NEWS
modules/pam_access/pam_access.c