1 | $P4: //depot/projects/openpam/doc/xsso_errata.txt#5 $ |
---|
2 | |
---|
3 | Errata in XSSO, chapter 5: |
---|
4 | |
---|
5 | p. 25: the first member of struct pam_response is named "resp", not |
---|
6 | "response". |
---|
7 | |
---|
8 | p. 28: the first pam_sm_chauthtok() flag is PAM_PRELIM_CHECK, not |
---|
9 | PAM_CRED_PRELIM_CHECK. |
---|
10 | |
---|
11 | Errata in XSSO, chapter 6: |
---|
12 | |
---|
13 | p. 32: "PAM_NEW_AUTHTOKEN_REQD" in the DESCRIPTION and RETURN VALUE |
---|
14 | sections should be "PAM_NEW_AUTHTOK_REQD". |
---|
15 | |
---|
16 | p. 32: pam_acct_mgmt() must be allowed to return PAM_AUTH_ERR. |
---|
17 | |
---|
18 | p. 46: "PAM_AUTHOK" and "PAM_OLDAUTHOK" in the DESCRIPTION section |
---|
19 | should be "PAM_AUTHTOK" and "PAM_OLDAUTHTOK", respectively. |
---|
20 | |
---|
21 | p. 60: "PAM_AUTHOK" and "PAM_OLDAUTHOK" in the DESCRIPTION section |
---|
22 | should be "PAM_AUTHTOK" and "PAM_OLDAUTHTOK", respectively. |
---|
23 | |
---|
24 | p. 62: the target_authtok_len argument to pam_set_mapped_authtok() is |
---|
25 | of type size_t, not a size_t *. |
---|
26 | |
---|
27 | p. 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 | |
---|
31 | p. 59: the last argument pam_set_data() should be written void |
---|
32 | (*cleanup)(...), not void *(cleanup)(...). |
---|
33 | |
---|
34 | p. 66: the first occurrence of "pam_acct_mgmt" in the NAME section |
---|
35 | should be "pam_sm_acct_mgmt". |
---|
36 | |
---|
37 | p. 66: pam_sm_acct_mgmt() must be allowed to return PAM_AUTH_ERR. |
---|
38 | |
---|
39 | p. 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 | |
---|
44 | p. 72: the flags argument to pam_sm_chauthtok() is of type int, not |
---|
45 | const int. |
---|
46 | |
---|
47 | p. 77: the names of several arguments to pam_sm_get_mapped_authtok() |
---|
48 | are missing the initial "t" in "target". |
---|
49 | |
---|
50 | p. 83: the target_authtok_len argument to pam_sm_set_mapped_authtok() |
---|
51 | is of type size_t, not a size_t *. |
---|
52 | |
---|
53 | p. 85: the names of several arguments to pam_sm_set_mapped_username() |
---|
54 | are missing the initial "t" in "target". |
---|
55 | |
---|
56 | p. 89: the user argument to pam_start() is of type const char *. |
---|
57 | |
---|
58 | p. 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 | |
---|
66 | p. 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 | |
---|
73 | p. 90: the last sentence of the DESCRIPTION section should refer to |
---|
74 | pam_set_data() rather than pam_set_item(). |
---|