s4:dsdb:objectclass_attrs: return based on the validate_ldb() return value.
authorStefan Metzmacher <metze@samba.org>
Wed, 25 Sep 2013 08:09:41 +0000 (10:09 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 25 Sep 2013 08:09:41 +0000 (10:09 +0200)
commit54749119fdb114f8ff5f6783a9b5ab4843275939
tree866b2e7b2ffddf8c55496388546d63c28b9cd3fd
parent47f8395ec423581c5ff124200474e897d05cb9d8
s4:dsdb:objectclass_attrs: return based on the validate_ldb() return value.

WERR_DS_INVALID_ATTRIBUTE_SYNTAX and WERR_DS_CONSTRAINT_VIOLATION
are the important ones, which need to be mapped to
LDB_ERR_INVALID_ATTRIBUTE_SYNTAX and LDB_ERR_CONSTRAINT_VIOLATION.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/samdb/ldb_modules/objectclass_attrs.c