diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-12-21 00:22:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:29:34 -0500 |
commit | c51289fc9bf4a7094c9bc6a0b863a3d3597a61a6 (patch) | |
tree | 1ccf609e024f9d1cd940c6acf1f72b781aa9eaa5 /source4/torture | |
parent | 728e4e311c26f7db9afb630267de0ca5ab6734ad (diff) | |
download | samba-c51289fc9bf4a7094c9bc6a0b863a3d3597a61a6.tar.gz samba-c51289fc9bf4a7094c9bc6a0b863a3d3597a61a6.tar.bz2 samba-c51289fc9bf4a7094c9bc6a0b863a3d3597a61a6.zip |
r20295: Add a couple more tests to the CrackNames test.
(This used to be commit 115ed29fd8fcfd0ad3ebbabbe01fbc6259ce84bc)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/drsuapi_cracknames.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source4/torture/rpc/drsuapi_cracknames.c b/source4/torture/rpc/drsuapi_cracknames.c index b66fbf09c3..a12e5d88fb 100644 --- a/source4/torture/rpc/drsuapi_cracknames.c +++ b/source4/torture/rpc/drsuapi_cracknames.c @@ -464,6 +464,13 @@ BOOL test_DsCrackNames(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, .status = DRSUAPI_DS_NAME_STATUS_OK }, { + .format_offered = DRSUAPI_DS_NAME_FORMAT_CANONICAL, + .format_desired = DRSUAPI_DS_NAME_FORMAT_FQDN_1779, + .str = canonical_name, + .expected_str = FQDN_1779_name, + .status = DRSUAPI_DS_NAME_STATUS_OK + }, + { .format_offered = DRSUAPI_DS_NAME_FORMAT_FQDN_1779, .format_desired = DRSUAPI_DS_NAME_FORMAT_CANONICAL_EX, .str = FQDN_1779_name, @@ -471,6 +478,13 @@ BOOL test_DsCrackNames(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, .status = DRSUAPI_DS_NAME_STATUS_OK }, { + .format_offered = DRSUAPI_DS_NAME_FORMAT_CANONICAL_EX, + .format_desired = DRSUAPI_DS_NAME_FORMAT_FQDN_1779, + .str = canonical_ex_name, + .expected_str = FQDN_1779_name, + .status = DRSUAPI_DS_NAME_STATUS_OK + }, + { .format_offered = DRSUAPI_DS_NAME_FORMAT_FQDN_1779, .format_desired = DRSUAPI_DS_NAME_FORMAT_CANONICAL, .str = FQDN_1779_name, |