From f1dd80e74e570fbf2e8dbefd70fb99abab1b5b2d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 24 Oct 2004 13:00:51 +0000 Subject: r3156: Couple of fixes in the conversion functions between binding structs and protocol towers (This used to be commit f41dfc6c5a85bf241e4bcc0669f6191bf531e89a) --- source4/torture/local/binding_string.c | 5 ++++- source4/torture/torture.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/local/binding_string.c b/source4/torture/local/binding_string.c index 6522449e64..5e346b4831 100644 --- a/source4/torture/local/binding_string.c +++ b/source4/torture/local/binding_string.c @@ -94,7 +94,7 @@ static BOOL test_BindingString(TALLOC_CTX *mem_ctx, const char *binding) static const char *test_strings[] = { "ncacn_np:", "ncalrpc:", - "ncalrpc:[Security=Sane]", + "ncalrpc:[,Security=Sane]", "ncacn_np:[rpcecho]", "ncacn_np:127.0.0.1[rpcecho]", "ncacn_ip_tcp:127.0.0.1", @@ -105,6 +105,9 @@ static const char *test_strings[] = { "ncadg_ip_udp:", "308FB580-1EB2-11CA-923B-08002B1075A7@ncacn_np:localhost", "308FB580-1EB2-11CA-923B-08002B1075A7@ncacn_ip_tcp:127.0.0.1", + "ncacn_unix_stream:[/tmp/epmapper]", + "ncalrpc:[IDENTIFIER]", + "ncacn_unix_stream:[/tmp/epmapper,sign]", }; BOOL torture_local_binding_string(int dummy) diff --git a/source4/torture/torture.c b/source4/torture/torture.c index 19e8bf266e..e05dba7ee7 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -2972,7 +2972,7 @@ static struct { {"LOCAL-ICONV", torture_local_iconv, 0}, {"LOCAL-TALLOC", torture_local_talloc, 0}, {"LOCAL-MESSAGING", torture_local_messaging, 0}, - {"LOCAL-BINDINGSTRING", torture_local_binding_string, 0}, + {"LOCAL-BINDING", torture_local_binding_string, 0}, {"LOCAL-IDTREE", torture_local_idtree, 0}, /* ldap testers */ -- cgit