Clean up the ldb python bindings to be 64 bit safe.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 26 Mar 2008 04:18:17 +0000 (15:18 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 26 Mar 2008 04:18:17 +0000 (15:18 +1100)
commitff8256ad6ce4e62462e4b58cfcff1005f6363226
tree9a5bbcd1481f505b7d1edeae09427d13e8b2cf3d
parent5738491674574cd913dac2ad4f3851f4a0189ef4
Clean up the ldb python bindings to be 64 bit safe.

Thanks in particular to arkanes and KirkMcDonald on #python for their
assistance, suggesting breaking the DN check.

I eventually found it while trying to cut down on the number of gcc
warnings, which is why we also add printf annotations.

Andrew Bartlett
(This used to be commit ba30e82d4efcba23c49622de43d3d6fc9c800e35)
source4/lib/ldb/ldb.i
source4/lib/ldb/ldb_wrap.c