netcmd/ldapcmp: pass --skip-missing-dn to LDAPBase
authorJoe Guo <joeg@catalyst.net.nz>
Mon, 29 Oct 2018 04:45:28 +0000 (17:45 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 Nov 2018 06:46:19 +0000 (07:46 +0100)
commit2851cd5bccde53a049bbd3774911b7dc4b970467
treeda610efc889c5b3997034ce2608f91ec4e0746cb
parentbbd082e7929010545deb5ce59e370ebe934aa23e
netcmd/ldapcmp: pass --skip-missing-dn to LDAPBase

This option has default value False, and was actually not passed down from cli
to LDAPBase. However, LDAPBase.__init__ has default value True for it.

After the change, a few tests using ldapcmp are affected.
Add --skip-missing-dn explicitly to keep the behavior consistent,
otherwise test will fail.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/ldapcmp.py
testprogs/blackbox/functionalprep.sh
testprogs/blackbox/ldapcmp_restoredc.sh
testprogs/blackbox/schemaupgrade.sh