pyldb: added validate option to ldb.modify()
authorAndrew Tridgell <tridge@samba.org>
Tue, 14 Jun 2011 06:39:49 +0000 (16:39 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 14 Jun 2011 07:39:24 +0000 (09:39 +0200)
commit8741f039955853c092c45cc7f2cedca2384b4c57
tree6bb65a0b02dcc719f68f7007f450d233761e1937
parent8096b1a9a4b1518467e7a85bb9000904a76c1ac4
pyldb: added validate option to ldb.modify()

This allows validation of ldb messages in a ldb modify operation to be
bypassed, by setting validate=False. This is useful in the dbcheck
tool to allow for removing invalid empty attributes from the database
source4/lib/ldb/pyldb.c