summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-10-20 13:43:00 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-10-20 13:54:01 +0000
commit71ac92b67391d826b015fc4cffb104918d14594b (patch)
treebf928a8b9f5ed1ef493d037db39def478183bc2a
parent099b0057bed73c3c7a2cf7d0123c8a1daaf53ed0 (diff)
downloadsamba-71ac92b67391d826b015fc4cffb104918d14594b.tar.gz
samba-71ac92b67391d826b015fc4cffb104918d14594b.tar.bz2
samba-71ac92b67391d826b015fc4cffb104918d14594b.zip
s4-schema_init: Print more info about syntax we fail to recognize
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Oct 20 13:54:01 UTC 2010 on sn-devel-104
-rw-r--r--source4/dsdb/schema/schema_init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c
index 6dbf9baa42..d80f2092ac 100644
--- a/source4/dsdb/schema/schema_init.c
+++ b/source4/dsdb/schema/schema_init.c
@@ -631,8 +631,10 @@ WERROR dsdb_attribute_from_ldb(struct ldb_context *ldb,
}
if (dsdb_schema_setup_ldb_schema_attribute(ldb, attr) != LDB_SUCCESS) {
- DEBUG(0,(__location__ ": Unknown schema syntax for %s\n",
- attr->lDAPDisplayName));
+ DEBUG(0,(__location__ ": Unknown schema syntax for %s - ldb_syntax: %s, ldap_oid: %s\n",
+ attr->lDAPDisplayName,
+ attr->syntax->ldb_syntax,
+ attr->syntax->ldap_oid));
return WERR_DS_ATT_SCHEMA_REQ_SYNTAX;
}