On Fri, Nov 16, 2018 at 05:35:05AM -0000, MOHIT KUMAR wrote:
Also i need suggestion on below two queries:
1. if pam_get_item(pamh, PAM_CONV, (const void **) &conv) is supported from sssd if i
want to get custom input from user ? It can be answers of any mfa factors. When i am
trying this api it always returns the password user has entered.
Can you rephrase the question? In general the PAM conversation API can
handle multiple inputs from the user.
2. Can we use pam_info for the informational messages. If we can use this then we can
form question through pam_info and for getting input we can use pam_get_item with
PAM_PROMPT_ECHO_OFF.
Yes, this would be possible, but the details would be quite complex to
support general conversation of PAM modules because there might be more
than one round-trip in the general case. So the straight forward
solution would be to use your PAM module in the PAM configuration
directly as you've already mentioned in your other email.
HTH
bye,
Sumit
>
> I will be really thankful if you can guide me with these.
>
> Thanks.
> _______________________________________________
> sssd-devel mailing list -- sssd-devel(a)lists.fedorahosted.org
> To unsubscribe send an email to sssd-devel-leave(a)lists.fedorahosted.org
> Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahoste...