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

Last change on this file since 117 was 117, checked in by Dag-Erling Smørgrav, 18 years ago

Note typo on page 40.

File size: 2.6 KB
Line 
1$P4: //depot/projects/openpam/doc/xsso_errata.txt#7 $
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. 34:  "PAM_AUTH_ERR" is misspelled as "PAM_AUTH_ERROR" in the
19        second-last line of the DESCRIPTION section.
20
21p. 40:  in the second paragraph of the DESCRIPTION section, the phrase
22        "In this case the, [...]" should be "In this case, the [...]".
23
24p. 46:  "PAM_AUTHOK" and "PAM_OLDAUTHOK" in the DESCRIPTION section
25        should be "PAM_AUTHTOK" and "PAM_OLDAUTHTOK", respectively.
26
27p. 60:  "PAM_AUTHOK" and "PAM_OLDAUTHOK" in the DESCRIPTION section
28        should be "PAM_AUTHTOK" and "PAM_OLDAUTHTOK", respectively.
29
30p. 62:  the target_authtok_len argument to pam_set_mapped_authtok() is
31        of type size_t, not a size_t *.
32
33p. 52:  PAM_CONV_ERR is listed out of order and with the explanatory
34        text "Conversation failure" instead of "Conversation error".
35        It is listed correctly on the next page.
36
37p. 59:  the last argument pam_set_data() should be written void
38        (*cleanup)(...), not void *(cleanup)(...).
39
40p. 66:  the first occurrence of "pam_acct_mgmt" in the NAME section
41        should be "pam_sm_acct_mgmt".
42
43p. 66:  pam_sm_acct_mgmt() must be allowed to return PAM_AUTH_ERR.
44
45p. 70:  "pam_authenticate_secondary" in the SYNOPSIS section should be
46        "pam_sm_authenticate_secondary".
47        pam_sm_authenticate_secondary() takes argc and argv arguments
48        like the rest of the pam_sm_*() functions.
49
50p. 72:  the flags argument to pam_sm_chauthtok() is of type int, not
51        const int.
52
53p. 77:  the names of several arguments to pam_sm_get_mapped_authtok()
54        are missing the initial "t" in "target".
55
56p. 83:  the target_authtok_len argument to pam_sm_set_mapped_authtok()
57        is of type size_t, not a size_t *.
58
59p. 85:  the names of several arguments to pam_sm_set_mapped_username()
60        are missing the initial "t" in "target".
61
62p. 89:  the user argument to pam_start() is of type const char *.
63
64p. 89:  the correct definition for struct pam_conv is as follows:
65
66        struct pam_conv {
67                int     (*conv)(int, struct pam_message **,
68                    struct pam_response **, void *);
69                void    *appdata_ptr;
70        };
71
72p. 90:  the correct definition for struct pam_response is as follows:
73
74        struct pam_response {
75                char    *resp;
76                int      resp_retcode;
77        };
78
79p. 90:  the last sentence of the DESCRIPTION section should refer to
80        pam_set_data() rather than pam_set_item().
Note: See TracBrowser for help on using the repository browser.