summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-16 09:55:09 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-16 09:55:09 +0000
commit66a005deb4c4c079a8091792e942fe8f1d16b1a7 (patch)
tree4d3d35e0e3adc6c7046eeac98be2390c0fe31167
parent6f12e4ace1609fbf00d42226134b1dbb259f38bc (diff)
downloadsamba-66a005deb4c4c079a8091792e942fe8f1d16b1a7.tar.gz
samba-66a005deb4c4c079a8091792e942fe8f1d16b1a7.tar.bz2
samba-66a005deb4c4c079a8091792e942fe8f1d16b1a7.zip
much better docs on the smbtorture ncacn syntax, including how to
choose bigendian smbtorture on the command line (This used to be commit 31d8e0a7cf9ab6e0cd23056333672de94d6a95b0)
-rw-r--r--prog_guide.txt28
1 files changed, 24 insertions, 4 deletions
diff --git a/prog_guide.txt b/prog_guide.txt
index 8eac3ebe53..df03ecac22 100644
--- a/prog_guide.txt
+++ b/prog_guide.txt
@@ -554,10 +554,30 @@ DCERPC binding strings
----------------------
When connecting to a dcerpc service you need to specify a binding
-string. Because I'm too lazy to write proper docs, here are some
-examples that should give you the idea:
+string.
-These all connect to the samr pipe:
+The format is:
+
+ TRANSPORT:host:[flags]
+
+where TRANSPORT is either ncacn_np for SMB or ncacn_ip_tcp for RPC/TCP
+
+"host" is an IP or hostname or netbios name
+
+"flags" must start with the pipe name if using the ncacn_np transport
+
+The ncacn_ip_tcp can take an integer flag giving the TCP port
+number. It must be the first flag if given.
+
+other recognised flags are:
+
+ sign : enable ntlmssp signing
+ seal : enable ntlmssp sealing
+ validate: enable the NDR validator
+ bigendian: use bigendian RPC
+
+
+For example, these all connect to the samr pipe:
ncacn_np:myserver
ncacn_np:myserver:samr
@@ -568,7 +588,7 @@ These all connect to the samr pipe:
ncacn_np:myserver[\pipe\samr]
ncacn_np:myserver[/pipe/samr]
ncacn_np:myserver:[samr,sign]
- ncacn_np:myserver:[\pipe\samr,sign,seal]
+ ncacn_np:myserver:[\pipe\samr,sign,seal,bigendian]
ncacn_np:myserver:[/pipe/samr,seal]
ncacn_ip_tcp:myserver