r3032: Somewhat stricter syntax for binding strings:
commit656c04da48a3885d14ff4939d5225b8aa037f0d5
authorJelmer Vernooij <jelmer@samba.org>
Mon, 18 Oct 2004 11:43:26 +0000 (18 11:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:00:00 +0000 (10 13:00 -0500)
tree8e84a4cce7c4f92c5300cc903545dc0eea98a632
parent43a80e1d83dad9450014b2a7e0ad5a5e495f69ce
r3032: Somewhat stricter syntax for binding strings:

 [] is now mandatory
 : after the hostname is no longer allowed

examples of allowed binding strings:

ncacn_np:myhost[samr]
ncacn_ip_tcp:10.0.0.1[1045]
ncacn_ip_tcp:2001:7b8:37b:1:210:dcff:fecb:a9e3[1024,sign,seal]
ncacn_np:myhost
ncacn_ip_tcp:192.168.4.2
308FB580-1EB2-11CA-923B-08002B1075A7@ncacn_ip_tcp:192.168.4.2
308FB580-1EB2-11CA-923B-08002B1075A7@ncacn_ip_tcp:192.168.4.2[,print]

Note that the last two lines are not recognized by smbtorture as a binding
 string yet. dcerpc_parse_binding() does accept them though.
(This used to be commit c15862e778507287bddef7967383d4b5d22eaee9)
prog_guide.txt
source4/librpc/rpc/dcerpc.h
source4/librpc/rpc/dcerpc_util.c
source4/script/tests/test_binding_string.sh [new file with mode: 0755]
source4/script/tests/test_echo.sh