| 14 If it looks authentic but fails the Kerberos check, return -1. |
14 If it looks authentic but fails the Kerberos check, return -1. |
| 15 If it looks authentic and passes the Kerberos check, return 1. |
15 If it looks authentic and passes the Kerberos check, return 1. |
| 16 If it doesn't look authentic, return 0 |
16 If it doesn't look authentic, return 0 |
| 17 |
17 |
| 18 When not using Kerberos, return true if the notice claims to be authentic. |
18 When not using Kerberos, return true if the notice claims to be authentic. |
| 19 Only used by clients; the server uses its own routine. |
|
| 20 */ |
19 */ |
| 21 Code_t |
20 Code_t |
| 22 ZCheckAuthentication(ZNotice_t *notice, struct sockaddr_in *from) |
21 ZCheckAuthentication(ZNotice_t *notice, struct sockaddr_in *from) |
| 23 { |
22 { |
| 24 #ifdef ZEPHYR_USES_KERBEROS |
23 #ifdef ZEPHYR_USES_KERBEROS |