summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-10-24 13:00:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:02:26 -0500
commitf1dd80e74e570fbf2e8dbefd70fb99abab1b5b2d (patch)
tree5c5457c3339ddcff0113c186a92e1f8381d1d551 /source4/torture
parent2641612a49ceae26b5caf5389bdf03e11623bd8e (diff)
downloadsamba-f1dd80e74e570fbf2e8dbefd70fb99abab1b5b2d.tar.gz
samba-f1dd80e74e570fbf2e8dbefd70fb99abab1b5b2d.tar.bz2
samba-f1dd80e74e570fbf2e8dbefd70fb99abab1b5b2d.zip
r3156: Couple of fixes in the conversion functions between binding structs and
protocol towers (This used to be commit f41dfc6c5a85bf241e4bcc0669f6191bf531e89a)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/local/binding_string.c5
-rw-r--r--source4/torture/torture.c2
2 files changed, 5 insertions, 2 deletions
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 */