smbd: Simplify share_mode_stale_pid
[samba.git] / librpc / binding-strings.txt
1 DCERPC binding strings
2 ----------------------
3
4 When connecting to a dcerpc service you need to specify a binding
5 string.
6
7 The format is:
8
9   TRANSPORT:host[flags]
10
11 where TRANSPORT is either ncacn_np for SMB or ncacn_ip_tcp for RPC/TCP
12
13 "host" is an IP or hostname or netbios name. If the binding string
14 identifies the server side of an endpoint, "host" may be an empty
15 string.
16
17 "flags" can include a SMB pipe name if using the ncacn_np transport or
18 a TCP port number if using the ncacn_ip_tcp transport, otherwise they
19 will be auto-determined.
20
21 other recognised flags are:
22
23   sign      : enable ntlmssp signing
24   seal      : enable ntlmssp sealing
25   spnego    : use SPNEGO instead of NTLMSSP authentication
26   krb5      : use KRB5 instead of NTLMSSP authentication
27   connect   : enable rpc connect level auth (auth, but no sign or seal)
28   validate  : enable the NDR validator
29   print     : enable debugging of the packets
30   bigendian : use bigendian RPC
31   padcheck  : check reply data for non-zero pad bytes
32
33
34 Here are some examples:
35
36    ncacn_np:myserver
37    ncacn_np:myserver[samr]
38    ncacn_np:myserver[\pipe\samr]
39    ncacn_np:myserver[/pipe/samr]
40    ncacn_np:myserver[samr,sign,print]
41    ncacn_np:myserver[sign,spnego]
42    ncacn_np:myserver[\pipe\samr,sign,seal,bigendian]
43    ncacn_np:myserver[/pipe/samr,seal,validate]
44    ncacn_np:
45    ncacn_np:[/pipe/samr]
46    ncacn_ip_tcp:myserver
47    ncacn_ip_tcp:myserver[1024]
48    ncacn_ip_tcp:myserver[sign,seal]
49    ncacn_ip_tcp:myserver[spnego,seal]
50
51
52 IDEA: Maybe extend UNC names like this?
53
54  smbclient //server/share
55  smbclient //server/share[sign,seal,spnego]