2 Unix SMB/CIFS implementation.
4 DRS::prefixMap data structures
6 Copyright (C) Kamen Mazdrashki <kamen.mazdrashki@postpath.com> 2009
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef _DSDB_PREFIXMAP_H
23 #define _DSDB_PREFIXMAP_H
27 * Ref: MS-ADTS, 3.1.1.2.6 ATTRTYP
29 enum dsdb_attid_type
{
30 DSDB_ATTID_TYPE_PFM
= 1, /* attid in [0x00000000..0x7FFFFFFF] */
31 DSDB_ATTID_TYPE_INTID
= 2, /* attid in [0x80000000..0xBFFFFFFF] */
32 DSDB_ATTID_TYPE_RESERVED
= 3, /* attid in [0xC0000000..0xFFFEFFFF] */
33 DSDB_ATTID_TYPE_INTERNAL
= 4, /* attid in [0xFFFF0000..0xFFFFFFFF] */
37 * oid-prefix in prefixmap
39 struct dsdb_schema_prefixmap_oid
{
41 DATA_BLOB bin_oid
; /* partial binary-oid prefix */
45 * DSDB prefixMap internal presentation
47 struct dsdb_schema_prefixmap
{
49 struct dsdb_schema_prefixmap_oid
*prefixes
;
54 #endif /* _DSDB_PREFIXMAP_H */