summaryrefslogtreecommitdiffstats
path: root/src/providers/data_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/data_provider.h')
-rw-r--r--src/providers/data_provider.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/data_provider.h b/src/providers/data_provider.h
index 256e6089e..313681448 100644
--- a/src/providers/data_provider.h
+++ b/src/providers/data_provider.h
@@ -140,6 +140,7 @@
#define BE_FILTER_NAME 1
#define BE_FILTER_IDNUM 2
#define BE_FILTER_ENUM 3
+#define BE_FILTER_SECID 4
#define BE_REQ_USER 0x0001
#define BE_REQ_GROUP 0x0002
@@ -153,6 +154,11 @@
#define BE_REQ_TYPE_MASK 0x00FF
#define BE_REQ_FAST 0x1000
+#define DP_SEC_ID "secid"
+/* sizeof() counts the trailing \0 so we must substract 1 for the string
+ * length */
+#define DP_SEC_ID_LEN (sizeof(DP_SEC_ID) - 1)
+
/* AUTH related common data and functions */
#define DEBUG_PAM_DATA(level, pd) do { \