mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
selftest: Fix failure message in dsdb_schema_info
The rename changes the CN, not the lDAPDisplayName Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
b4ae820648
commit
cccd5786f0
@ -141,7 +141,7 @@ systemOnly: FALSE
|
||||
try:
|
||||
self.sam_db.rename(attr_dn, attr_dn_new)
|
||||
except LdbError, (num, _):
|
||||
self.fail("failed to change lDAPDisplayName for %s: %s" % (attr_name, _))
|
||||
self.fail("failed to change CN for %s: %s" % (attr_name, _))
|
||||
|
||||
# compare resulting schemaInfo
|
||||
schi_after = self._getSchemaInfo()
|
||||
@ -187,7 +187,7 @@ systemOnly: FALSE
|
||||
try:
|
||||
self.sam_db.rename(class_dn, class_dn_new)
|
||||
except LdbError, (num, _):
|
||||
self.fail("failed to change lDAPDisplayName for %s: %s" % (class_name, _))
|
||||
self.fail("failed to change CN for %s: %s" % (class_name, _))
|
||||
|
||||
# compare resulting schemaInfo
|
||||
schi_after = self._getSchemaInfo()
|
||||
|
Loading…
x
Reference in New Issue
Block a user