summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/objectclass.c
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2013-05-06 01:09:05 -0700
committerAndrew Bartlett <abartlet@samba.org>2013-05-14 15:21:31 +1200
commit2bdf2c56cc1f7635441cf3b13d94941157b047f8 (patch)
tree4265fdf28be14e08dce668d1757fcaf5fc96b52f /source4/dsdb/samdb/ldb_modules/objectclass.c
parentfde1757f800ee661aa3e5133fed7c910dcb4163e (diff)
downloadsamba-2bdf2c56cc1f7635441cf3b13d94941157b047f8.tar.gz
samba-2bdf2c56cc1f7635441cf3b13d94941157b047f8.tar.bz2
samba-2bdf2c56cc1f7635441cf3b13d94941157b047f8.zip
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>
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/objectclass.c')
-rw-r--r--source4/dsdb/samdb/ldb_modules/objectclass.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectclass.c b/source4/dsdb/samdb/ldb_modules/objectclass.c
index de154ec018..f6f7338d3c 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;
}