From 18085b12360b5314730e0e82eee2204d44cb0939 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 7 Nov 2010 11:25:00 +1100 Subject: s4-dsdb: give the DN on a shema attribute failure --- source4/dsdb/schema/schema_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dsdb/schema') 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; \ -- cgit