From 2bdf2c56cc1f7635441cf3b13d94941157b047f8 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Mon, 6 May 2013 01:09:05 -0700 Subject: [PATCH] dsdb: make the name of non related class more obvious Signed-off-by: Matthieu Patou Reviewed-by: Andrew Bartlett --- source4/dsdb/samdb/ldb_modules/objectclass.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source4/dsdb/samdb/ldb_modules/objectclass.c b/source4/dsdb/samdb/ldb_modules/objectclass.c index de154ec0180..f6f7338d3cf 100644 --- a/source4/dsdb/samdb/ldb_modules/objectclass.c +++ b/source4/dsdb/samdb/ldb_modules/objectclass.c @@ -127,8 +127,9 @@ static int check_unrelated_objectclasses(struct ldb_module *module, } ldb_asprintf_errstring(ldb, - "objectclass: the objectclass '%s' seems to be unrelated to the entry!", - tmp_class->lDAPDisplayName); + "objectclass: the objectclass '%s' seems to be unrelated to %s!", + tmp_class->lDAPDisplayName, + struct_objectclass->lDAPDisplayName); return LDB_ERR_OBJECT_CLASS_VIOLATION; } -- 2.11.4.GIT