summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-01-09 13:10:28 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-09 13:10:28 +1100
commitb0090d01e061220d9b70a14e5a88b683949fe6a5 (patch)
tree4875e5fa8b2abd6a409cfd00501e5b2cc16edd9c /librpc/idl
parent9e6eb22f7fda88e1d2336ac4b2ec42a8d84c2138 (diff)
downloadsamba-b0090d01e061220d9b70a14e5a88b683949fe6a5.tar.gz
samba-b0090d01e061220d9b70a14e5a88b683949fe6a5.tar.bz2
samba-b0090d01e061220d9b70a14e5a88b683949fe6a5.zip
s4-idl: give a enum for attribute cn and a 'NONE' attribute
The 'NONE' attribute has value 0xFFFFFFFF. Adding this ensures the compiler will complain if it is set to use 16 bit enums. We rely on being able to store 32 bits in an attid enum.
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/drsuapi.idl4
1 files changed, 3 insertions, 1 deletions
diff --git a/librpc/idl/drsuapi.idl b/librpc/idl/drsuapi.idl
index 299495800f..dadaeeee3a 100644
--- a/librpc/idl/drsuapi.idl
+++ b/librpc/idl/drsuapi.idl
@@ -437,6 +437,7 @@ interface drsuapi
typedef [flag(NDR_PAHEX),v1_enum,public] enum {
DRSUAPI_ATTRIBUTE_objectClass = 0x00000000,
+ DRSUAPI_ATTRIBUTE_cn = 0x00000003,
DRSUAPI_ATTRIBUTE_description = 0x0000000d,
DRSUAPI_ATTRIBUTE_member = 0x0000001f,
DRSUAPI_ATTRIBUTE_instanceType = 0x00020001,
@@ -507,7 +508,8 @@ interface drsuapi
DRSUAPI_ATTRIBUTE_msDS_Behavior_Version = 0x000905b3,
DRSUAPI_ATTRIBUTE_msDS_KeyVersionNumber = 0x000906f6,
DRSUAPI_ATTRIBUTE_msDS_HasDomainNCs = 0x0009071c,
- DRSUAPI_ATTRIBUTE_msDS_hasMasterNCs = 0x0009072c
+ DRSUAPI_ATTRIBUTE_msDS_hasMasterNCs = 0x0009072c,
+ DRSUAPI_ATTRIBUTE_NONE = 0xFFFFFFFF
} drsuapi_DsAttributeId;
typedef struct {