summaryrefslogtreecommitdiff
path: root/source3/groupdb/mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/groupdb/mapping.h')
-rw-r--r--source3/groupdb/mapping.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/groupdb/mapping.h b/source3/groupdb/mapping.h
index 4af38314f8..c37ae84b87 100644
--- a/source3/groupdb/mapping.h
+++ b/source3/groupdb/mapping.h
@@ -2,6 +2,7 @@
#define DATABASE_VERSION_V2 2 /* le format. */
#define GROUP_PREFIX "UNIXGROUP/"
+#define GROUP_PREFIX_LEN 10
/* Alias memberships are stored reverse, as memberships. The performance
* critical operation is to determine the aliases a SID is member of, not
@@ -9,6 +10,7 @@
* hanging of the member as key.
*/
#define MEMBEROF_PREFIX "MEMBEROF/"
+#define MEMBEROF_PREFIX_LEN 9
/*
groupdb mapping backend abstraction