[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Re:



Dear Tomas,

I read manual page and resolve problem describe in last e-mail.  I am
sorry about my question. Thanks for your patience.

Today I have another problem. I change control flag of fisrt module of
/etc/pam.d/common-auth from "sufficient" to "requisite" and now I have
this problem logged in /var/log/auth.log:

Sep 23 14:09:33 station lightdm: PAM unable to resolve symbol: pam_sm_setcred

I have in my module the function pam_sm_setcred declared as:

PAM_EXTERN int
pam_sm_setcred(pam_handle_t *pamh, int flags,int argc, const char *argv[])

{
    return PAM_SUCCESS;
}

Why only if I change control flag this is happened? I search in the
internet and I don't find nothing about.

Thanks.

Oswaldo Fratini Filho



2013/6/4 Tomas Mraz <tmraz redhat com>:
> On Tue, 2013-06-04 at 10:33 -0300, Oswaldo F. Filho wrote:
>> Tomaz,
>>
>> What did it do?
>>
>> I changed:
>>
>> auth    sufficient          libtest-pam-auth-module.so
>>      auth    required            pam_unix.so try_first_pass nullok_secure debug
>>      auth    requisite           pam_deny.so
>>      auth    required            pam_permit.so
>>      auth    optional            pam_cap.so
>
> This is still wrong. Please study the pam.conf manual page.
>
> --
> Tomas Mraz
> No matter how far down the wrong road you've gone, turn back.
>                                               Turkish proverb
>
> _______________________________________________
> Pam-list mailing list
> Pam-list redhat com
> https://www.redhat.com/mailman/listinfo/pam-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]