srikanth | 116e6e8 | 2014-08-19 07:22:37 -0700 | [diff] [blame] | 1 | #!/usr/bin/python |
2 | |||||
3 | import os, sys | ||||
4 | |||||
5 | PAM_SUCCESS = 0 # Successful function return | ||||
6 | PAM_SYSTEM_ERR = 4 # System error | ||||
7 | PAM_AUTH_ERR = 7 # Authentication failure | ||||
8 | |||||
9 | # test AV pairs in os.environ here | ||||
10 | |||||
11 | sys.exit(PAM_SUCCESS) |