summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-09-30 14:24:58 -0700
committerAndrew Bartlett <abartlet@samba.org>2008-10-06 14:28:24 -0700
commit8256717c766fb8e145c2f4b5acb3502f4d7c57d9 (patch)
tree42abcdd405a4ee5a29b231f655878d1e0f44016d /source4/torture
parentc0240d78351e489c5aca7e729aac045157080088 (diff)
downloadsamba-8256717c766fb8e145c2f4b5acb3502f4d7c57d9.tar.gz
samba-8256717c766fb8e145c2f4b5acb3502f4d7c57d9.tar.bz2
samba-8256717c766fb8e145c2f4b5acb3502f4d7c57d9.zip
Implement 'type unknown' names in the CrackNames code.
This guesses the type by running each of the possible options. Andrew Bartlett
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/drsuapi_cracknames.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/rpc/drsuapi_cracknames.c b/source4/torture/rpc/drsuapi_cracknames.c
index fbda69df57..a9a614953d 100644
--- a/source4/torture/rpc/drsuapi_cracknames.c
+++ b/source4/torture/rpc/drsuapi_cracknames.c
@@ -39,6 +39,7 @@ static bool test_DsCrackNamesMatrix(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
bool ret = true;
struct drsuapi_DsCrackNames r;
enum drsuapi_DsNameFormat formats[] = {
+ DRSUAPI_DS_NAME_FORMAT_UNKNOWN,
DRSUAPI_DS_NAME_FORMAT_FQDN_1779,
DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT,
DRSUAPI_DS_NAME_FORMAT_DISPLAY,