dsdb-schema: Print clear debug message when we find a OID in our local DB we cannot...
authorAndrew Bartlett <abartlet@samba.org>
Tue, 2 Apr 2013 04:36:47 +0000 (15:36 +1100)
committerStefan Metzmacher <metze@samba.org>
Thu, 16 May 2013 17:02:03 +0000 (19:02 +0200)
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>
source4/dsdb/schema/schema_prefixmap.c

index 4a895d9ab41cff531f7f15b69fb4947f182fe1be..270e6bebd988fd15e46eecf324522d9747dcfb8f 100644 (file)
@@ -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;
                }