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)
commit8d4c831184cff8bca85daf6cc711b189b5cf3a47
tree4a68ab19693a779a9030f543806a4560a312b014
parentb5dbdef1580a58c0f208e83491946391cd08e570
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
source/lib/ldb/ldb.i