summaryrefslogtreecommitdiff
path: root/pam_tacplus.h
diff options
context:
space:
mode:
authorJeroen Nijhof <jeroenn@saralt0078.(none)>2010-12-22 11:12:08 +0100
committerJeroen Nijhof <jeroenn@saralt0078.(none)>2010-12-22 11:12:08 +0100
commit4e0f4aa68e082b469663e3ebc8ec83c9400dab4b (patch)
tree08d50b522bc250659704b2dfc73d887979198fd4 /pam_tacplus.h
downloadpam_tacplus-4e0f4aa68e082b469663e3ebc8ec83c9400dab4b.tar.gz
pam_tacplus-4e0f4aa68e082b469663e3ebc8ec83c9400dab4b.zip
Initial commit
Diffstat (limited to 'pam_tacplus.h')
-rw-r--r--pam_tacplus.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/pam_tacplus.h b/pam_tacplus.h
new file mode 100644
index 0000000..87158a8
--- /dev/null
+++ b/pam_tacplus.h
@@ -0,0 +1,38 @@
+/* pam_tacplus.h
+ *
+ * Copyright (C) 2010, Pawel Krawczyk <kravietz@ceti.pl> and
+ * Jeroen Nijhof <jeroen@nijhofnet.nl>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program - see the file COPYING.
+ *
+ * See `CHANGES' file for revision history.
+ */
+
+/* pam_tacplus command line options */
+#define PAM_TAC_DEBUG 01
+#define PAM_TAC_ENCRYPT 02
+#define PAM_TAC_FIRSTHIT 04
+#define PAM_TAC_ACCT 10 /* account on all specified servers */
+
+/* how many TACPLUS+ servers can be defined */
+#define TAC_MAX_SERVERS 4
+
+/* pam_tacplus major, minor and patchlevel version numbers */
+#define PAM_TAC_VMAJ 1
+#define PAM_TAC_VMIN 3
+#define PAM_TAC_VPAT 2
+
+#ifndef PAM_EXTERN
+ #define PAM_EXTERN extern
+#endif