summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-09-20 20:52:48 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-09-21 00:15:24 +0300
commitf06d98764a455981c664512acc423715dec3d7a4 (patch)
tree29f312d82622c4354a9d02765a005ca7074be95f /source4
parent395b09c1b6ac9df42202966d90b1a121712df418 (diff)
downloadsamba-f06d98764a455981c664512acc423715dec3d7a4.tar.gz
samba-f06d98764a455981c664512acc423715dec3d7a4.tar.bz2
samba-f06d98764a455981c664512acc423715dec3d7a4.zip
s4-dsdb-schema_prefixmap: return WERR_DS_NO_ATTRIBUTE_OR_VALUE when ATTID is not found
rather than WERR_INTERNAL_ERROR - it is not internal error!
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/schema/schema_prefixmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_prefixmap.c b/source4/dsdb/schema/schema_prefixmap.c
index 7151c55b9e..79894fe272 100644
--- a/source4/dsdb/schema/schema_prefixmap.c
+++ b/source4/dsdb/schema/schema_prefixmap.c
@@ -344,7 +344,7 @@ WERROR dsdb_schema_pfm_oid_from_attid(struct dsdb_schema_prefixmap *pfm, uint32_
if (!pfm_entry) {
DEBUG(1,("Failed to find prefixMap entry for ATTID = 0x%08X (%d)\n",
attid, attid));
- return WERR_INTERNAL_ERROR;
+ return WERR_DS_NO_ATTRIBUTE_OR_VALUE;
}
/* copy oid prefix making enough room */