drs-cracksname: fix problems that prevented to pass our torture tests
commitf18e5f56715b817cc9eb70159c367f4a3ad54b1c
authorMatthieu Patou <mat@matws.net>
Mon, 1 Jul 2013 03:44:22 +0000 (30 20:44 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 15 Jul 2014 10:46:12 +0000 (15 12:46 +0200)
tree2bfc8f6a6f630e5183e3944d3bd041fc34779849
parent13a5ecafe46e1c08aad35998ff1bc6f28c191efd
drs-cracksname: fix problems that prevented to pass our torture tests

Some of the problems where also reported by Microsoft testing tools

Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Andrew Bartlett <abarlett@samba.org>
(cherry picked from commit 7fe4630bad232c09e29739beedda2e2fb63747ed)

The last 4 patches address bug #10698 - backport drs-crackname fixes from
master.
source4/dsdb/samdb/cracknames.c