blob: c9a3ded6dabc571e8fbe514c0e128ba7cc23fbf8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/python
import Ldb
def fail(msg):
print 'FAILED:', msg
sys.exit(1)
l = Ldb.Ldb()
l.connect('tdb:///tmp/foo.ldb')
result = l.search('(dn=*)')
print result
|