Merge from vendor branch OPENSSH:
[dragonfly.git] / contrib / libpam / doc / figs / pam_orient.txt
1
2
3
4          +----------------+
5          | application: X |
6          +----------------+       /  +----------+     +================+
7          | authentication-[---->--\--] Linux-   |--<--| /etc/pam.conf  |
8          |       +        [----<--/--]   PAM    |     |================|
9          |[conversation()][--+    \  |          |     | X auth .. a.so |
10          +----------------+  |    /  +-n--n-----+     | X auth .. b.so |
11          |                |  |       __|  |           |           _____/
12          |  service user  |  A      |     |           |____,-----' 
13          |                |  |      V     A                        
14          +----------------+  +------|-----|---------+ -----+------+
15                                 +---u-----u----+    |      |      |
16                                 |   auth....   |--[ a ]--[ b ]--[ c ]
17                                 +--------------+
18                                 |   acct....   |--[ b ]--[ d ]
19                                 +--------------+
20                                 |   password   |--[ b ]--[ c ]
21                                 +--------------+
22                                 |   session    |--[ e ]--[ c ]
23                                 +--------------+