r3032: Somewhat stricter syntax for binding strings:
authorJelmer Vernooij <jelmer@samba.org>
Mon, 18 Oct 2004 11:43:26 +0000 (11:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:00:00 +0000 (13:00 -0500)
commitc15862e778507287bddef7967383d4b5d22eaee9
treec2b365e18a8fa6cf9b289b5dc47dd123d7983e20
parentd5bfc910b1200fb283e26572dc57fcf93652fd32
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.
prog_guide.txt
source/librpc/rpc/dcerpc.h
source/librpc/rpc/dcerpc_util.c
source/script/tests/test_binding_string.sh [new file with mode: 0755]
source/script/tests/test_echo.sh