diff options
author | Volker Lendecke <vl@samba.org> | 2008-03-11 14:15:52 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-03-11 17:21:28 +0100 |
commit | 27c07c98619075d594fcd46c0ad05b83b60bc877 (patch) | |
tree | 3eeb8c48c5dbcf0e88bf6a775d687a48c66630a1 /source3/groupdb/mapping.h | |
parent | 0e5d6c0d27c29645a2e72498a2a4f4b3ab8b19cd (diff) | |
download | samba-27c07c98619075d594fcd46c0ad05b83b60bc877.tar.gz samba-27c07c98619075d594fcd46c0ad05b83b60bc877.tar.bz2 samba-27c07c98619075d594fcd46c0ad05b83b60bc877.zip |
Convert mapping_tdb.c to dbwrap
I know, this is not used anymore, but until ldb knows about ctdb which is
blocked by the lack of transactions in ctdb, a tiny patch reactivating
mapping_tdb.c might be needed for cluster setups.
(This used to be commit 8e0fa453a3d0a2c997a935b6940796612c972708)
Diffstat (limited to 'source3/groupdb/mapping.h')
-rw-r--r-- | source3/groupdb/mapping.h | 2 |
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 |