drs-cracknames: When cracking NT4 names we should just look at netbios for the match
commite7eed8fb5b70995f0703e462e02bb4fffbc7ceed
authorMatthieu Patou <mat@matws.net>
Sun, 30 Jun 2013 09:03:02 +0000 (30 02:03 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 15 Jul 2014 10:46:12 +0000 (15 12:46 +0200)
tree8f14d08ec6aeda93c1f79ff24af2f436e61bedcd
parent4ffc82e98da4763fc68eec1633b18ccf97d04aeb
drs-cracknames: When cracking NT4 names we should just look at netbios for the match

Looking at dnsRoot will yield a result for domain.tld\username when it
shouldn't work.

Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Andrew Bartlett <abarlett@samba.org>
(cherry picked from commit 552b4f3e022dca594e1dada7979fe351eee8cf9b)
source4/dsdb/samdb/cracknames.c