r66: fixed a segv when printing an error from a session setup failure. This
[samba.git] / prog_guide.txt
index df03ecac22d5c234c32fd32f35d727e825f1f985..fb3cef9c3f9b5da95b0c55fc6744118ccdb1d965 100644 (file)
@@ -2,8 +2,6 @@ THIS IS INCOMPLETE! I'M ONLY COMMITING IT IN ORDER TO SOLICIT COMMENTS
 FROM A FEW PEOPLE. DON'T TAKE THIS AS THE FINAL VERSION YET.
 
 
 FROM A FEW PEOPLE. DON'T TAKE THIS AS THE FINAL VERSION YET.
 
 
-
-
 Samba4 Programming Guide
 ------------------------
 
 Samba4 Programming Guide
 ------------------------
 
@@ -564,16 +562,16 @@ where TRANSPORT is either ncacn_np for SMB or ncacn_ip_tcp for RPC/TCP
 
 "host" is an IP or hostname or netbios name
 
 
 "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.
+"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
 
 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
 
 
   bigendian: use bigendian RPC
 
 
@@ -587,9 +585,9 @@ For example, 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]
    ncacn_np:myserver[\pipe\samr]
    ncacn_np:myserver[/pipe/samr]
-   ncacn_np:myserver:[samr,sign]
+   ncacn_np:myserver:[samr,sign,print]
    ncacn_np:myserver:[\pipe\samr,sign,seal,bigendian]
    ncacn_np:myserver:[\pipe\samr,sign,seal,bigendian]
-   ncacn_np:myserver:[/pipe/samr,seal]
+   ncacn_np:myserver:[/pipe/samr,seal,validate]
 
    ncacn_ip_tcp:myserver
    ncacn_ip_tcp:myserver:1024
 
    ncacn_ip_tcp:myserver
    ncacn_ip_tcp:myserver:1024
@@ -736,3 +734,6 @@ docs
 
   conference paper
   developer docs
 
   conference paper
   developer docs
+
+svn instructions
+test commit