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

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

More errata.

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