drs-crackname: Fix cracknames for the format UNKNOWN when the data is actually a...
commit4ffc82e98da4763fc68eec1633b18ccf97d04aeb
authorMatthieu Patou <mat@matws.net>
Sat, 29 Jun 2013 23:02:32 +0000 (29 16:02 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 15 Jul 2014 10:46:12 +0000 (15 12:46 +0200)
tree671a7435230f6687dc3e7c16b41d618c47534c1e
parent29ec8f4821c1dac41312c62e30823f6e00aeb3c4
drs-crackname: Fix cracknames for the format UNKNOWN when the data is actually a GUID

The cannonical crackname expect a "/" or it returns
DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR, when doing UNKNOWN format it's not
an error to not have a "/" in the name to crack it's just a sign the
name is not a cannonical one.

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