summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-04-02 15:36:47 +1100
committerStefan Metzmacher <metze@samba.org>2013-05-16 19:02:03 +0200
commit11e716ae0736067272868b997367e94ebf1cdf3b (patch)
tree10f16fc3078ee664d957b56aeb9826a562a88826 /source4/dsdb/schema
parent25402e06bcdf98e346fdbbfa7e8740504329b42f (diff)
downloadsamba-11e716ae0736067272868b997367e94ebf1cdf3b.tar.gz
samba-11e716ae0736067272868b997367e94ebf1cdf3b.tar.bz2
samba-11e716ae0736067272868b997367e94ebf1cdf3b.zip
dsdb-schema: Print clear debug message when we find a OID in our local DB we cannot convert
We need to work out why we are unable to make a mapping for an OID in our database, because we should not have been able to add it without such a mapping. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/dsdb/schema')
-rw-r--r--source4/dsdb/schema/schema_prefixmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/schema/schema_prefixmap.c b/source4/dsdb/schema/schema_prefixmap.c
index 4a895d9ab4..270e6bebd9 100644
--- a/source4/dsdb/schema/schema_prefixmap.c
+++ b/source4/dsdb/schema/schema_prefixmap.c
@@ -311,6 +311,7 @@ static WERROR dsdb_schema_pfm_make_attid_impl(struct dsdb_schema_prefixmap *pfm,
} else {
/* return error in read-only mode */
if (!can_change_pfm) {
+ DEBUG(0, ("Unable to convert %s to an attid, and can_change_pfm=false!\n", oid));
return werr;
}