ldb: Fix python bindings to accept a string as a DN ldb-1.1.22
authorAndrew Bartlett <abartlet@samba.org>
Wed, 14 Oct 2015 00:49:01 +0000 (13:49 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 26 Oct 2015 04:11:21 +0000 (05:11 +0100)
commit1c02f2801ecd05df23730eea2b6e162f4d5186f1
tree2a7584c1be4f76ea55761ab1cf3d60cf3c3582c2
parentffe8090c898ac649b132fbfc7d79965dd98ff6c1
ldb: Fix python bindings to accept a string as a DN

This fixes add_base(), add_child() and is_child_of().

This removes a toally incorrect cast of struct ldb_dn to struct ldb_context.

A helper routine is used instead

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/ldb/ABI/ldb-1.1.22.sigs [new file with mode: 0644]
lib/ldb/ABI/pyldb-util-1.1.22.sigs [new file with mode: 0644]
lib/ldb/common/ldb_dn.c
lib/ldb/include/ldb_private.h
lib/ldb/pyldb.c
lib/ldb/tests/python/api.py
lib/ldb/wscript