X-Git-Url: http://git.samba.org/samba.git/?p=kai%2Fsamba.git;a=blobdiff_plain;f=prog_guide.txt;h=9bf9419536057e89c5e300e220320c66814cc3fa;hp=8eac3ebe537bced79ebce5a3725e1b10a931cefa;hb=c424c2b857fe08587eb81a5c5e3625545119d1c2;hpb=8e61af23e2b9529c80a00b700236814f467c0db6 diff --git a/prog_guide.txt b/prog_guide.txt index 8eac3ebe537..9bf94195360 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" can include a SMB pipe name if using the ncacn_np transport or +a TCP port number if using the ncacn_ip_tcp transport, otherwise they +will be auto-determined. + +other recognised flags are: + + sign : enable ntlmssp signing + seal : enable ntlmssp sealing + validate: enable the NDR validator + print: enable debugging of the packets + bigendian: use bigendian RPC + + +For example, these all connect to the samr pipe: ncacn_np:myserver ncacn_np:myserver:samr @@ -567,9 +587,9 @@ These all connect to the samr pipe: 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_np:myserver:[samr,sign,print] + ncacn_np:myserver:[\pipe\samr,sign,seal,bigendian] + ncacn_np:myserver:[/pipe/samr,seal,validate] ncacn_ip_tcp:myserver ncacn_ip_tcp:myserver:1024