summaryrefslogtreecommitdiffstats
path: root/librpc
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2010-03-12 13:39:52 +0200
committerKamen Mazdrashki <kamen.mazdrashki@postpath.com>2010-03-24 17:34:32 +0200
commit818719f7ba5b386bc0b191227d68c1a7ebc8843c (patch)
treecf2888eb7ae68435120aec1c1f54b2111c9c9889 /librpc
parent05db9365b62289298984e3b30c7a74bfbbf07685 (diff)
downloadsamba-818719f7ba5b386bc0b191227d68c1a7ebc8843c.tar.gz
samba-818719f7ba5b386bc0b191227d68c1a7ebc8843c.tar.xz
samba-818719f7ba5b386bc0b191227d68c1a7ebc8843c.zip
s4/idl: DIRERR error codes definition
DIRERR codes specify class of error returned from DsAddEntry method call. Ref: [MS-DRSR], section 4.1.1.1.25
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/drsuapi.idl14
1 files changed, 14 insertions, 0 deletions
diff --git a/librpc/idl/drsuapi.idl b/librpc/idl/drsuapi.idl
index 77a61926074..5f9b81d632a 100644
--- a/librpc/idl/drsuapi.idl
+++ b/librpc/idl/drsuapi.idl
@@ -1203,6 +1203,20 @@ interface drsuapi
*/
const char *DRSUAPI_NTDSDSA_KRB5_SERVICE_GUID = "E3514235-4B06-11D1-AB04-00C04FC2DCD2";
+ /* Error codes to classify an error that occurs
+ * during a search for, or the update of,
+ * a directory object */
+ typedef [v1_enum] enum {
+ DRSUAPI_DIRERR_OK = 0,
+ DRSUAPI_DIRERR_ATTRIBUTE = 1,
+ DRSUAPI_DIRERR_NAME = 2,
+ DRSUAPI_DIRERR_REFERRAL = 3,
+ DRSUAPI_DIRERR_SECURITY = 4,
+ DRSUAPI_DIRERR_SERVICE = 5,
+ DRSUAPI_DIRERR_UPDATE = 6,
+ DRSUAPI_DIRERR_SYSTEM = 7
+ } drsuapi_DsAddEntry_DirErr;
+
/*
* please note the the current idl
* for DsAddEntry does only parse