From 14d7d6bc3cec5cb6d971e452c5370eb8644da55e Mon Sep 17 00:00:00 2001 From: "Andrew G. Morgan" Date: Sat, 19 Jan 2002 06:13:53 +0000 Subject: Relevant BUGIDs: task 43507 Purpose of commit: documentation Commit summary: --------------- a little background on the msg argument of the conversation function. --- doc/pam_appl.sgml | 47 ++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 40 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/pam_appl.sgml b/doc/pam_appl.sgml index 87c9e6e3..e730280f 100644 --- a/doc/pam_appl.sgml +++ b/doc/pam_appl.sgml @@ -993,6 +993,40 @@ the module. It can also be convenient for the application that related things come at once: a windows based application can then present a single form with many messages/prompts on at once. +

+In passing, it is worth noting that there is a descrepency between the +way Linux-PAM handles the +For what its worth the two known module writer work-arounds for trying +to maintain source level compatibility with both PAM implementations +are: + + never call the conversation function with set up + +msg[n] = & (( *msg )[n]) + + +

The response (from the application to the module) passing structure is defined by including <security/pam_appl.h> as: @@ -1018,13 +1052,12 @@ called. This meant that it was not always necessary for the module to to display some text.

-Post Linux-PAM-0.59 (and in the interests of compatibility with -Sunsoft). The number of responses is always equal to the The maximum length of the