Networking

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Authorative PAM authentication doesn't work

    0 answers - 878 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit


    Additional Comments From tj (AT) castaglia (DOT) org 2005-12-02 19:05 Eastern
    Created an attachment (id=2425)
    ()
    Fixes bug (hopefully)
    Here's a slightly different version of your patch. The main difference is
    changing:
    if (auth_pam_module.authtable->auth_flags & PR_AUTH_FL_REQUIRED)
    to:
    if (auth_pam_authtab[0].auth_flags & PR_AUTH_FL_REQUIRED)
    The previous line's use of auth_pam_module.authtable makes an assumption about
    the number of elements in that array; the second version assumes that the
    element in question is at index 0, and accesses the authtable structure
    directly, rather than going through the auth_pam_module struct (which is a
    little clearer, from a legibility standpoint).Does this make sense? Would
    you mind testing this patch, verifying that it works correctly for you?

Re: Authorative PAM authentication doesn't work


max 4000 letters.
Your nickname that display:
In order to stop the spam: 3 + 2 =
QUESTION ON "Networking"

EMSDN.COM