s4-idl: give a enum for attribute cn and a 'NONE' attribute
commitb0090d01e061220d9b70a14e5a88b683949fe6a5
authorAndrew Tridgell <tridge@samba.org>
Sat, 9 Jan 2010 02:10:28 +0000 (9 13:10 +1100)
committerAndrew Tridgell <tridge@samba.org>
Sat, 9 Jan 2010 02:10:28 +0000 (9 13:10 +1100)
tree4875e5fa8b2abd6a409cfd00501e5b2cc16edd9c
parent9e6eb22f7fda88e1d2336ac4b2ec42a8d84c2138
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.
librpc/gen_ndr/drsuapi.h
librpc/gen_ndr/ndr_drsuapi.c
librpc/idl/drsuapi.idl