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)
commitba30e82d4efcba23c49622de43d3d6fc9c800e35
tree8b42cd0a03bb959bf29824d15af0df5404bd3ecf
parent9a1466abbd4115f4a57d794006aca29aa0184ced
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
source/lib/ldb/ldb.i
source/lib/ldb/ldb_wrap.c