source: openpam/trunk/doc/xsso_errata.txt @ 74

Last change on this file since 74 was 36, checked in by Dag-Erling Smørgrav, 19 years ago

PAM_CRED_PRELIM_CHECK is an XSSO typo. The correct name for the
constant is PAM_PRELIM_CHECK.

Sponsored by: DARPA, NAI Labs

  • Property svn:keywords set to Id LastChangedRevision HeadURL LastChangedDate LastChangedBy
File size: 2.3 KB
Line 
1$Id: xsso_errata.txt 36 2002-02-06 16:02:13Z des $
2
3Errata in XSSO, chapter 5:
4
5p. 25:  the first member of struct pam_response is named "resp", not
6        "response".
7
8p. 28:  the first pam_sm_chauthtok() flag is PAM_PRELIM_CHECK, not
9        PAM_CRED_PRELIM_CHECK.
10
11Errata in XSSO, chapter 6:
12
13p. 32:  "PAM_NEW_AUTHTOKEN_REQD" in the DESCRIPTION and RETURN VALUE
14        sections should be "PAM_NEW_AUTHTOK_REQD".
15
16p. 32:  pam_acct_mgmt() must be allowed to return PAM_AUTH_ERR.
17
18p. 46:  "PAM_AUTHOK" and "PAM_OLDAUTHOK" in the DESCRIPTION section
19        should be "PAM_AUTHTOK" and "PAM_OLDAUTHTOK", respectively.
20
21p. 60:  "PAM_AUTHOK" and "PAM_OLDAUTHOK" in the DESCRIPTION section
22        should be "PAM_AUTHTOK" and "PAM_OLDAUTHTOK", respectively.
23
24p. 62:  the target_authtok_len argument to pam_set_mapped_authtok() is
25        of type size_t, not a size_t *.
26
27p. 52:  PAM_CONV_ERR is listed out of order and with the explanatory
28        text "Conversation failure" instead of "Conversation error".
29        It is listed correctly on the next page.
30
31p. 59:  the last argument pam_set_data() should be written void
32        (*cleanup)(...), not void *(cleanup)(...).
33
34p. 66:  the first occurrence of "pam_acct_mgmt" in the NAME section
35        should be "pam_sm_acct_mgmt".
36
37p. 66:  pam_sm_acct_mgmt() must be allowed to return PAM_AUTH_ERR.
38
39p. 70:  "pam_authenticate_secondary" in the SYNOPSIS section should be
40        "pam_sm_authenticate_secondary".
41        pam_sm_authenticate_secondary() takes argc and argv arguments
42        like the rest of the pam_sm_*() functions.
43
44p. 72:  the flags argument to pam_sm_chauthtok() is of type int, not
45        const int.
46
47p. 77:  the names of several arguments to pam_sm_get_mapped_authtok()
48        are missing the initial "t" in "target".
49
50p. 83:  the target_authtok_len argument to pam_sm_set_mapped_authtok()
51        is of type size_t, not a size_t *.
52
53p. 85:  the names of several arguments to pam_sm_set_mapped_username()
54        are missing the initial "t" in "target".
55
56p. 89:  the user argument to pam_start() is of type const char *.
57
58p. 89:  the correct definition for struct pam_conv is as follows:
59
60        struct pam_conv {
61                int     (*conv)(int, struct pam_message **,
62                    struct pam_response **, void *);
63                void    *appdata_ptr;
64        };
65
66p. 90:  the correct definition for struct pam_response is as follows:
67
68        struct pam_response {
69                char    *resp;
70                int      resp_retcode;
71        };
72
73p. 90:  the last sentence of the DESCRIPTION section should refer to
74        pam_set_data() rather than pam_set_item().
Note: See TracBrowser for help on using the repository browser.