More safety around ldb_dn C functions in python bindings.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 19 Mar 2008 00:11:55 +0000 (11:11 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 19 Mar 2008 00:11:55 +0000 (11:11 +1100)
commit5af56a613c3a954f80eeef21887f9317119af8ba
tree778281c6ddb74119bc9e58076b70196dc24257c3
parent576540b25c6761978d1317334a647fead0155765
More safety around ldb_dn C functions in python bindings.

Ensure that the ldb python binding 'TypeError dn not set' errors are
not in the SWIG wrapper's use of ldb functions, put some more error
checks in.

Andrew Bartlett
(This used to be commit 8d4c831184cff8bca85daf6cc711b189b5cf3a47)
source4/lib/ldb/ldb.i