1 | The available parameters for src and their default values are: |
---|
2 | |
---|
3 | Strings: |
---|
4 | |
---|
5 | workgroup - The name of the workgroup or domain of the server. |
---|
6 | |
---|
7 | Default: blank |
---|
8 | |
---|
9 | |
---|
10 | server - The name or IP address of the server hosting the resource |
---|
11 | (share). |
---|
12 | |
---|
13 | Default: blank |
---|
14 | |
---|
15 | |
---|
16 | share - The name of the desired server resource (share). |
---|
17 | |
---|
18 | Default: blank |
---|
19 | |
---|
20 | |
---|
21 | user - The username for authentication. |
---|
22 | |
---|
23 | Default: guest |
---|
24 | |
---|
25 | |
---|
26 | password - The password of the selected user. |
---|
27 | |
---|
28 | Default: blank |
---|
29 | |
---|
30 | |
---|
31 | spassword - The share-level password of the selected user. |
---|
32 | |
---|
33 | Default: blank |
---|
34 | |
---|
35 | |
---|
36 | master - The name of the browse master server or workgroup, used to |
---|
37 | get the list of available workgroups when the workgroup and server |
---|
38 | have not been specified. |
---|
39 | |
---|
40 | Default: WORKGROUP |
---|
41 | |
---|
42 | |
---|
43 | mastertype - The type of master selected (1 = workgroup; 0 = server) |
---|
44 | |
---|
45 | Default: 1 |
---|
46 | |
---|
47 | |
---|
48 | cto - The time in seconds for which the cache is valid. Once the |
---|
49 | timeout is reached, the client re-reads the directory. For a |
---|
50 | directory with many files, it may be better to increase the timeout |
---|
51 | (rule of thumb: per 500-800 files 10 seconds). Max: 600 |
---|
52 | |
---|
53 | Default: 10 |
---|
54 | |
---|
55 | |
---|
56 | cld - The number of directories the cache should hold. Be aware that |
---|
57 | the higher the value, the more memory consumed. Max: 96 |
---|
58 | |
---|
59 | Default: 32 |
---|
60 | |
---|
61 | |
---|
62 | easupport - (Boolean) Support OS/2 Extended Attributes in the target |
---|
63 | filesystem (and by the target server). |
---|
64 | |
---|
65 | Default: 1 |
---|
66 | |
---|
67 | |
---|
68 | krb5support - (Boolean) Support Kerberos authentication. You will |
---|
69 | need to have a valid ticket for this resource. If enabled, User ID |
---|
70 | and Password are ignored. |
---|
71 | |
---|
72 | Note: If 1, ntlmv1support must be 0 |
---|
73 | |
---|
74 | Default: 0 |
---|
75 | |
---|
76 | |
---|
77 | ntlmv1support - (Boolean) Authenticate using the older NTLM protocol. |
---|
78 | Newer Samba releases default to NTLMv2, which may not be understood |
---|
79 | by some older servers. |
---|
80 | |
---|
81 | Note: If 1, KRB5 and supportencryption must both be 0 |
---|
82 | |
---|
83 | Default: 0 |
---|
84 | |
---|
85 | |
---|
86 | encryptionsupport - (Boolean) Enable transport encryption over SMB3 |
---|
87 | links. Although Samba servers have supported encrypted transport |
---|
88 | connections using the UNIX extensions for many years, selecting SMB3 |
---|
89 | transport allows encrypted transport connections to Windows servers |
---|
90 | that support SMB3, as well as Samba servers. |
---|
91 | |
---|
92 | Note: If 1, ntlmv1support must be 0 |
---|
93 | |
---|
94 | Default: 0 |
---|
95 | |
---|
96 | |
---|
97 | Example: |
---|
98 | |
---|
99 | src = 'workgroup=homegroup;server=192.168.178.2;share=data; \ |
---|
100 | user=test;password=pass;spassword=;master=homegroup; \ |
---|
101 | mastertype=1;cto=30;cld=64;easupport=1;krb5support=0; \ |
---|
102 | ntlmv1support=0;encryptionsupport=1' |
---|
103 | |
---|
104 | This assumes a Samba resource of \\192.168.178.2\data using NTLMv2 |
---|
105 | authentication over SMB3 supporting encryption, with support for |
---|
106 | extended attributes in the target filesystem and by the Samba host |
---|
107 | server, in the homegroup workgroup. |
---|