1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

dsdb: make the name of non related class more obvious

Signed-off-by: Matthieu Patou <mat@matws.net>

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Matthieu Patou 2013-05-06 01:09:05 -07:00 committed by Andrew Bartlett
parent fde1757f80
commit 2bdf2c56cc

View File

@ -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;
}