summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2010-03-12 14:55:05 +0200
committerKamen Mazdrashki <kamen.mazdrashki@postpath.com>2010-03-24 17:34:37 +0200
commit98cbcf809f9a5a5571316a9119c75655924f46f0 (patch)
tree5a99baf7c5531a1773f991cd08325d34233de15b /librpc
parent00fce797e889eb7b9d8310e18d5264cad5403dd2 (diff)
downloadsamba-98cbcf809f9a5a5571316a9119c75655924f46f0.tar.gz
samba-98cbcf809f9a5a5571316a9119c75655924f46f0.tar.bz2
samba-98cbcf809f9a5a5571316a9119c75655924f46f0.zip
s4/idl: redefine drsuapi_DsAddEntryErrorInfo1
This actually describes Attribute error during DsAddEntry execution. Structure is renamed to drsuapi_DsAddEntryErrorInfo_Attr. And structure to define Attribute error data are all prefixed with drsuapi_DsAddEntry_AttrErr
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/drsuapi.idl27
1 files changed, 16 insertions, 11 deletions
diff --git a/librpc/idl/drsuapi.idl b/librpc/idl/drsuapi.idl
index caf74b45d1..9f5e020acb 100644
--- a/librpc/idl/drsuapi.idl
+++ b/librpc/idl/drsuapi.idl
@@ -1248,26 +1248,31 @@ interface drsuapi
[size_is(size)] uint8 *data;
} drsuapi_DsAddEntryExtraErrorBuffer;
+ /* Attribute errors
+ * Ref: ATRERR_DRS_WIRE_V1, [MS-DRSR]: 4.1.1.1.11 */
typedef struct {
- drsuapi_DsAddEntryErrorInfoX error;
+ uint32 dsid;
+ WERROR extended_err;
+ uint32 extended_data;
+ uint16 problem;
drsuapi_DsAttributeId attid;
- uint32 unknown2;
- drsuapi_DsAddEntryExtraErrorBuffer buffer;
- } drsuapi_DsAddEntryExtraError1;
+ boolean32 is_val_returned;
+ drsuapi_DsAttributeValue attr_val;
+ } drsuapi_DsAddEntry_AttrErr_V1;
typedef /*[noprint]*/ struct {
- drsuapi_DsAddEntryErrorListItem1 *next;
- drsuapi_DsAddEntryExtraError1 error;
- } drsuapi_DsAddEntryErrorListItem1;
+ drsuapi_DsAddEntry_AttrErrListItem_V1 *next;
+ drsuapi_DsAddEntry_AttrErr_V1 err_data;
+ } drsuapi_DsAddEntry_AttrErrListItem_V1;
typedef struct {
drsuapi_DsReplicaObjectIdentifier *id;
- WERROR status;
- drsuapi_DsAddEntryErrorListItem1 first;
- } drsuapi_DsAddEntryErrorInfo1;
+ uint32 count;
+ drsuapi_DsAddEntry_AttrErrListItem_V1 first;
+ } drsuapi_DsAddEntryErrorInfo_Attr_V1;
typedef [switch_type(uint32)] union {
- [case(1)] drsuapi_DsAddEntryErrorInfo1 error1;
+ [case(1)] drsuapi_DsAddEntryErrorInfo_Attr_V1 attr_err;
/* [case(2)] drsuapi_DsAddEntryErrorInfo2 error2;
[case(3)] drsuapi_DsAddEntryErrorInfo3 error3;
*/ [case(4)] drsuapi_DsAddEntryErrorInfoX errorX;