s4-pydsdb: Improve PyErr_LDB_{DN,}_OR_RAISE to use py_check_dcerpc_type
commit507e6fdce520999c5b29b3c98de945c4ff96c9a9
authorAndrew Bartlett <abartlet@samba.org>
Fri, 6 Jul 2012 10:48:34 +0000 (6 20:48 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 6 Jul 2012 12:45:34 +0000 (6 22:45 +1000)
treedf62f6f51bee86f77bc91b3fe466becabea1596d
parent8d99b398d923d924088d4682a97bae38ccda0b0d
s4-pydsdb: Improve PyErr_LDB_{DN,}_OR_RAISE to use py_check_dcerpc_type

This checks the type rather than just dereferencing the pointer.

Andrew Bartlett
source4/dsdb/pydsdb.c