summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-07 11:25:00 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-07 22:50:05 +0000
commit18085b12360b5314730e0e82eee2204d44cb0939 (patch)
tree980c64653234664d24d396f9125d9b999169103f /source4/dsdb
parent9ba7ce6acf0ea0679933fdac5e73925927673761 (diff)
downloadsamba-18085b12360b5314730e0e82eee2204d44cb0939.tar.gz
samba-18085b12360b5314730e0e82eee2204d44cb0939.tar.bz2
samba-18085b12360b5314730e0e82eee2204d44cb0939.zip
s4-dsdb: give the DN on a shema attribute failure
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/schema/schema_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c
index c1032f90c2..bcb51f6b1a 100644
--- a/source4/dsdb/schema/schema_init.c
+++ b/source4/dsdb/schema/schema_init.c
@@ -450,7 +450,7 @@ static int dsdb_schema_setup_ldb_schema_attribute(struct ldb_context *ldb,
const struct ldb_val *get_string_val = ldb_msg_find_ldb_val(msg, attr); \
if (get_string_val == NULL) { \
if (strict) { \
- d_printf("%s: %s == NULL\n", __location__, attr); \
+ d_printf("%s: %s == NULL in %s\n", __location__, attr, ldb_dn_get_linearized(msg->dn)); \
return WERR_INVALID_PARAM; \
} else { \
(p)->elem = NULL; \