From: Matthieu Patou Date: Mon, 6 May 2013 08:09:05 +0000 (-0700) Subject: dsdb: make the name of non related class more obvious X-Git-Tag: tdb-1.2.12~222 X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=2bdf2c56cc1f7635441cf3b13d94941157b047f8;p=sfrench%2Fsamba-autobuild%2F.git dsdb: make the name of non related class more obvious Signed-off-by: Matthieu Patou Reviewed-by: Andrew Bartlett --- 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; }