| 1 |
<samba:parameter name="client smb transports" |
| 2 |
context="G" |
| 3 |
type="list" |
| 4 |
handler="handle_client_smb_transports" |
| 5 |
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> |
| 6 |
<description> |
| 7 |
<para>Specifies which transports and ports the client should try to connect to for SMB traffic.</para> |
| 8 |
|
| 9 |
<para>The order matters as they are tried in order with short delays for the fallbacks.</para> |
| 10 |
|
| 11 |
<para>The transport 'tcp' uses raw tcp with a 4 byte length header per SMB PDU. |
| 12 |
The default port for 'tcp' is 445. Other ports can be specified by adding it |
| 13 |
after ':', e.g. 'tcp:1445'. |
| 14 |
</para> |
| 15 |
|
| 16 |
<para>The transport 'nbt' uses netbios framing on top of tcp per SMB PDU. |
| 17 |
The default port for 'nbt' is 139. Other ports can be specified by adding it |
| 18 |
after ':', e.g. 'nbt:1139'. |
| 19 |
</para> |
| 20 |
|
| 21 |
<para>The transport 'quic' uses the quic protocol on top of udp. |
| 22 |
The default port for 'quic' is 443. Other ports can be specified by adding it |
| 23 |
after ':', e.g. 'quic:1443'. |
| 24 |
The following options are also relevant: |
| 25 |
<smbconfoption name="tls enabled"/>, |
| 26 |
<smbconfoption name="tls ca directories"/>, |
| 27 |
<smbconfoption name="tls trust system cas"/>, |
| 28 |
<smbconfoption name="tls cafile"/>, |
| 29 |
<smbconfoption name="tls certfile"/>, |
| 30 |
<smbconfoption name="tls keyfile"/> and |
| 31 |
<smbconfoption name="tls verify peer"/>. |
| 32 |
</para> |
| 33 |
|
| 34 |
<para> |
| 35 |
Note: 'quic' requires the quic.ko kernel module for Linux from |
| 36 |
https://github.com/lxin/quic (tested with Linux 6.14). Future |
| 37 |
Linux versions may support it natively. |
| 38 |
</para> |
| 39 |
|
| 40 |
<para>Numerical ports are handled as 'tcp' except port '139' is handled as 'nbt'. |
| 41 |
</para> |
| 42 |
|
| 43 |
<para>Note that's currently a limit of 10 unique transports, all others will |
| 44 |
be ignored.</para> |
| 45 |
</description> |
| 46 |
|
| 47 |
<value type="example">445</value> |
| 48 |
<value type="example">tcp, tcp:1445</value> |
| 49 |
<value type="example">8000, nbt:1139</value> |
| 50 |
<value type="example">tcp, quic, nbt</value> |
| 51 |
<value type="example">+quic</value> |
| 52 |
|
| 53 |
<value type="default">tcp, nbt</value> |
| 54 |
</samba:parameter> |