summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-15 03:40:45 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-15 03:40:45 +0000
commit8e61af23e2b9529c80a00b700236814f467c0db6 (patch)
treee10797f2c94a916e31dfb8b0bc1ffa30afedffde
parent71f81d1d3ee64fe109e8f333dc07b4424d479b0e (diff)
downloadsamba-8e61af23e2b9529c80a00b700236814f467c0db6.tar.gz
samba-8e61af23e2b9529c80a00b700236814f467c0db6.tar.bz2
samba-8e61af23e2b9529c80a00b700236814f467c0db6.zip
added some ncacn_* binding string examples
(This used to be commit 4a6822eb5b9e880b1fb33c020aa88192384a063c)
-rw-r--r--prog_guide.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/prog_guide.txt b/prog_guide.txt
index a9cdf8b741..8eac3ebe53 100644
--- a/prog_guide.txt
+++ b/prog_guide.txt
@@ -550,6 +550,34 @@ In Samba4 you can choose the smbd process model on the smbd command
line.
+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:
+
+These all connect to the samr pipe:
+
+ ncacn_np:myserver
+ ncacn_np:myserver:samr
+ ncacn_np:myserver:samr,seal
+ ncacn_np:myserver:\pipe\samr
+ ncacn_np:myserver:/pipe/samr
+ ncacn_np:myserver[samr]
+ 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,seal]
+
+ ncacn_ip_tcp:myserver
+ ncacn_ip_tcp:myserver:1024
+ ncacn_ip_tcp:myserver[1024]
+ ncacn_ip_tcp:myserver:[1024,sign,seal]
+
+
+
MSRPC
-----
@@ -567,6 +595,9 @@ MSRPC
- msrpc
+- use _p talloc varients
+
+don't zero structures! avoid ZERO_STRUCT() and talloc_zero()
GMT vs TZ in printout of QFILEINFO timezones