From 14d7d6bc3cec5cb6d971e452c5370eb8644da55e Mon Sep 17 00:00:00 2001 From: "Andrew G. Morgan" Date: Sat, 19 Jan 2002 06:13:53 +0000 Subject: [PATCH] Relevant BUGIDs: task 43507 Purpose of commit: documentation Commit summary: --------------- a little background on the msg argument of the conversation function. --- CHANGELOG | 4 ++-- doc/pam_appl.sgml | 47 ++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 42 insertions(+), 9 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 28c059c1..14cc890f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -55,6 +55,8 @@ bug report - outstanding bugs are listed here: 0.76: please submit patches for this section with actual code/doc patches! +* documentation: random typo fixes from Nalin and more stuff from me + (Bug 476949, Tasks 43507, 17426 - agmorgan) * A Tru64 fix (given other stuff has already resolved this, it actually just a comment actually) from 'Eddie'. (Bug 418450 - agmorgan) @@ -72,8 +74,6 @@ bug report - outstanding bugs are listed here: to examples/xsh.c for testing purposes, and also modified the pam_rhosts_auth module to use this new library. (Bug 490938, 409852 - agmorgan) -* documentation: random typo fixes from Nalin and more stuff from me - (Bug 476949, Tasks 43507, 17426 - agmorgan) * pam_unix: fix 'likeauth' to kill off the memory leak once and for all. (Bug 483959 - vorlon) * pam_unix: restore handling of 'likeauth' argument to a known working 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