Raise a python exception when the ldb search fails
commit59d5a963d137ec10686b98e575b16c45848ea3ab
authorAndrew Bartlett <abartlet@samba.org>
Wed, 7 Jan 2009 05:29:23 +0000 (7 16:29 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 7 Jan 2009 06:09:26 +0000 (7 17:09 +1100)
tree5df459c1ab4bfa741969202af92fb501e13adc88
parentc81863e86861bbb00df23b92470631e60314d9d1
Raise a python exception when the ldb search fails

This fixes a regression found by ldap.py in the new hand-written
python bindings.

Andrew Bartlett
source4/lib/ldb/pyldb.c