source: branches/samba-3.2.x/source/groupdb/mapping.h@ 233

Last change on this file since 233 was 133, checked in by Paul Smedley, 18 years ago

Update trunk to 3.2.0pre3

File size: 1.3 KB
Line 
1#define DATABASE_VERSION_V1 1 /* native byte format. */
2#define DATABASE_VERSION_V2 2 /* le format. */
3
4#define GROUP_PREFIX "UNIXGROUP/"
5#define GROUP_PREFIX_LEN 10
6
7/* Alias memberships are stored reverse, as memberships. The performance
8 * critical operation is to determine the aliases a SID is member of, not
9 * listing alias members. So we store a list of alias SIDs a SID is member of
10 * hanging of the member as key.
11 */
12#define MEMBEROF_PREFIX "MEMBEROF/"
13#define MEMBEROF_PREFIX_LEN 9
14
15/*
16 groupdb mapping backend abstraction
17 */
18struct mapping_backend {