From 11e716ae0736067272868b997367e94ebf1cdf3b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 2 Apr 2013 15:36:47 +1100 Subject: [PATCH] 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 --- source4/dsdb/schema/schema_prefixmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source4/dsdb/schema/schema_prefixmap.c b/source4/dsdb/schema/schema_prefixmap.c index 4a895d9ab41..270e6bebd98 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; } -- 2.34.1