| 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 | */
|
|---|
| 18 | struct mapping_backend {
|
|---|
|
|---|