pyldb: Consolidate PyErr_SetLdbError() using the pyldb version
authorAndrew Bartlett <abartlet@samba.org>
Sun, 24 Mar 2024 23:36:35 +0000 (12:36 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 28 Mar 2024 01:50:41 +0000 (01:50 +0000)
commitf379ea8b81251efad05ebb913ed0a0205fa0bcd5
treeec7825fc1c0ed9fdcb04f8e8efa08015d3c6239a
parent287cf82682c0f70a57e7d90748778e3b3fc36cda
pyldb: Consolidate PyErr_SetLdbError() using the pyldb version

Now that pyldb-util is a private library to Samba, we have no excuses not to
consolidate helper functions like this.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/ldb-samba/pyldb.c
lib/ldb/pyldb.c
lib/ldb/pyldb.h
lib/ldb/pyldb_util.c
source4/dsdb/pydsdb.c