pyldb-samba: Use the same smb.conf variable name as the C wrapper users for LDB_FLG_N...
authorAndrew Bartlett <abartlet@samba.org>
Sun, 3 Jun 2018 06:35:15 +0000 (18:35 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 4 Jun 2018 16:18:11 +0000 (18:18 +0200)
commit3c3b1bc64c642bbb28571621c8ee2e37d8d6556a
tree8eb9059d227d1176ae50ac4eb925fd46ed5f1a3e
parent20644011ab095a987cdeeaba953992f308175e58
pyldb-samba: Use the same smb.conf variable name as the C wrapper users for LDB_FLG_NOSYNC

This was never noticed as most wrappers on make test run with TDB_NO_FSYNC

However ldb_mdb has not been told to use this (naturally) and so we rely
on the smb.conf setting to not force an fsync().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13461

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
python/samba/__init__.py