summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-07-13 13:26:19 +1000
committerAndrew Tridgell <tridge@samba.org>2011-07-13 12:51:05 +0200
commitfc476ec8ac3357c81b805e0634624f183a6f7b49 (patch)
treef0a7bb83b85789777f10a83f198d866ee5032f7b /source4/scripting/python
parent23b6af10f6ab3852ca28338b8d58342be816f0a2 (diff)
downloadsamba-fc476ec8ac3357c81b805e0634624f183a6f7b49.tar.gz
samba-fc476ec8ac3357c81b805e0634624f183a6f7b49.tar.bz2
samba-fc476ec8ac3357c81b805e0634624f183a6f7b49.zip
dbcheck: use samdb_schema for getting the backlink
this is not available on an ldap samdb Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/dbchecker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/dbchecker.py b/source4/scripting/python/samba/dbchecker.py
index 8de1d26775..a1836cf98e 100644
--- a/source4/scripting/python/samba/dbchecker.py
+++ b/source4/scripting/python/samba/dbchecker.py
@@ -320,7 +320,7 @@ class dbcheck(object):
attrs=['isDeleted']
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:
attrs.append(reverse_link_name)