samba_upgradedns: Improve search for existing accounts in secrets.ldb
authorAndrew Bartlett <abartlet@samba.org>
Thu, 26 Nov 2015 00:50:21 +0000 (13:50 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 15 Dec 2015 07:42:20 +0000 (08:42 +0100)
commit308d645f3428660b0466dbe273b995a887af68da
tree49d41bf192dfe2e7b6d03bfba51e3fd8cae8e144
parentd38e22184ea036dfcbe851352729c469a494cb29
samba_upgradedns: Improve search for existing accounts in secrets.ldb

We should actually check for the combination of both an account in secrets.ldb
and sam.ldb, but this is at least an improvement.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/scripting/bin/samba_upgradedns