From 818719f7ba5b386bc0b191227d68c1a7ebc8843c Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Fri, 12 Mar 2010 13:39:52 +0200 Subject: 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 --- librpc/idl/drsuapi.idl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'librpc/idl') diff --git a/librpc/idl/drsuapi.idl b/librpc/idl/drsuapi.idl index 77a6192607..5f9b81d632 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 -- cgit