Skip to content

PAM module pam_sm_acct_mgmt call always returns success #223

Open
@tetlowgm

Description

@tetlowgm

See

// Do exactly the same thing for both auth and account invocations.
pam_sm_authenticate(pamh, flags, argc, argv);
return PAM_SUCCESS;

If this module is implemented with an account module instead of an auth module, it always returns success, regardless of what OPA says it should.

Instead, it should return the value on line 66, not discard it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions