summaryrefslogtreecommitdiff
path: root/source4/torture/drs/python
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-11-11 20:19:47 +0200
committerKamen Mazdrashki <kamenim@samba.org>2010-11-11 18:54:20 +0000
commit7ada90ec2956fc8fc744676496e847f1a4d2f163 (patch)
tree8a78a22f0c401ddeccc3146856bf0c9ab0dd78a1 /source4/torture/drs/python
parentbeaf14ec91708b827ac0760a2b23383a989e840f (diff)
downloadsamba-7ada90ec2956fc8fc744676496e847f1a4d2f163.tar.gz
samba-7ada90ec2956fc8fc744676496e847f1a4d2f163.tar.bz2
samba-7ada90ec2956fc8fc744676496e847f1a4d2f163.zip
s4-test: repl_schema - Make sure LdbError and ERR_NO_SUCH_OBJECT are visible
Diffstat (limited to 'source4/torture/drs/python')
-rw-r--r--source4/torture/drs/python/repl_schema.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/drs/python/repl_schema.py b/source4/torture/drs/python/repl_schema.py
index b407dfbe5e..78759e196b 100644
--- a/source4/torture/drs/python/repl_schema.py
+++ b/source4/torture/drs/python/repl_schema.py
@@ -35,6 +35,7 @@ import os
sys.path.append("bin/python")
from samba.auth import system_session
+from ldb import LdbError, ERR_NO_SUCH_OBJECT
from ldb import SCOPE_BASE, SCOPE_SUBTREE
from samba.samdb import SamDB