mirror of
https://github.com/samba-team/samba.git
synced 2025-12-05 12:23:50 +03:00
dbcheck: use samdb_schema for getting the backlink
this is not available on an ldap samdb Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
@@ -320,7 +320,7 @@ class dbcheck(object):
|
|||||||
|
|
||||||
attrs=['isDeleted']
|
attrs=['isDeleted']
|
||||||
linkkID = self.samdb_schema.get_linkId_from_lDAPDisplayName(attrname)
|
linkkID = self.samdb_schema.get_linkId_from_lDAPDisplayName(attrname)
|
||||||
reverse_link_name = self.samdb.get_backlink_from_lDAPDisplayName(attrname)
|
reverse_link_name = self.samdb_schema.get_backlink_from_lDAPDisplayName(attrname)
|
||||||
if reverse_link_name is not None:
|
if reverse_link_name is not None:
|
||||||
attrs.append(reverse_link_name)
|
attrs.append(reverse_link_name)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user