Warning, /network/smb4k/core/smb4kmountsettings_linux.kcfg is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
0003       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
0004       xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
0005                           http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
0006   <include>KUser</include>
0007   <include>QDir</include>
0008   <kcfgfile name="smb4krc" />
0009   
0010   <group name="Mounting">
0011     <entry name="CifsUnixExtensionsSupport" type="Bool">
0012       <label>All or most of the servers support the CIFS Unix extensions</label>
0013       <whatsthis>Most versions of Samba support the CIFS Unix or POSIX extensions. For these servers, some options are not needed, because the right values are negotiated during the mount process. For other servers, you might want to uncheck this option, so that predefined values can be passed to the server. Please note that if your computer is located in a Windows dominated network neighborhood with only a few Samba servers, you can safely uncheck this option and define custom options for the Samba servers.</whatsthis>
0014       <default>true</default>
0015     </entry>
0016     <entry name="UseUserId" type="Bool">
0017       <label>User ID:</label>
0018       <whatsthis>This is the user ID (a number) that the files and directories of the mounted share will have. If you are using the CIFS filesystem under Linux and the remote server supports the CIFS Unix Extensions, this setting will be ignored unless the assignment of the user ID is forced.</whatsthis>
0019       <default>true</default>
0020     </entry>
0021     <entry name="UserId" type="String">
0022       <whatsthis>This is the user ID (a number) that the files and directories of the mounted share will have. If you are using the CIFS filesystem under Linux and the remote server supports the CIFS Unix Extensions, this setting will be ignored unless the assignment of the user ID is forced.</whatsthis>
0023       <default code="true">KUserId::currentUserId().toString()</default>
0024     </entry>
0025     <entry name="UseGroupId" type="Bool">
0026       <label>Group ID:</label>
0027       <whatsthis>This is the group ID (a number) that the files and directories of the mounted share will have. If you are using the CIFS filesystem under Linux and the remote server supports the CIFS Unix Extensions, this setting will be ignored unless the assignment of the group ID is forced.</whatsthis>
0028       <default>true</default>
0029     </entry>
0030     <entry name="GroupId" type="String">
0031       <whatsthis>This is the group ID (a number) that the files and directories of the mounted share will have. If you are using the CIFS filesystem under Linux and the remote server supports the CIFS Unix Extensions, this setting will be ignored unless the assignment of the group ID is forced.</whatsthis>
0032       <default code="true">KGroupId::currentGroupId().toString()</default>
0033     </entry>
0034     <entry name="UseFileMode" type="Bool">
0035       <label>File mode:</label>
0036       <whatsthis>This is the file mode that will be used for creating files. It must be defined in octal. In case the CIFS file system is used, this setting only takes effect if the server does not support the CIFS Unix Extensions.</whatsthis>
0037       <default>true</default>
0038     </entry>
0039     <entry name="FileMode" type="String">
0040       <whatsthis>This is the filemode that will be used for creating files. It must be defined in octal. In case the CIFS file system is used, this setting only takes effect if the server does not support the CIFS Unix Extensions.</whatsthis>
0041       <default>0755</default>
0042     </entry>
0043     <entry name="UseDirectoryMode" type="Bool">
0044       <label>Directory mode:</label>
0045       <whatsthis>This is the directory mode that will be used for creating directories. It must be defined in octal. In case the CIFS file system is used, this setting only takes effect if the server does not support the CIFS Unix Extensions.</whatsthis>
0046       <default>true</default>
0047     </entry>
0048     <entry name="DirectoryMode" type="String">
0049       <whatsthis>This is the directory mode that will be used for creating directories. It must be defined in octal. In case the CIFS file system is used, this setting only takes effect if the server does not support the CIFS Unix Extensions.</whatsthis>
0050       <default>0755</default>
0051     </entry>
0052     <entry name="UseRemoteFileSystemPort" type="Bool">
0053       <label>File system port:</label>
0054       <whatsthis>This is the port that is exclusively used to mount shares from remote servers. The default value is 445 (CIFS file system).</whatsthis>
0055       <default>false</default>
0056     </entry>
0057     <entry name="RemoteFileSystemPort" type="Int">
0058       <whatsthis>This is the port that is exclusively used to mount shares from remote servers. The default value is 445 (CIFS file system).</whatsthis>
0059       <min>1</min>
0060       <max>65535</max>
0061       <default>445</default>
0062     </entry>
0063     <entry name="UseClientCharset" type="Bool">
0064       <label>Client character set:</label>
0065       <whatsthis>This is the character set that is used by the client side (i.e. your side) either to convert local path names to and from Unicode (CIFS, Linux) or for codepage to charset translations (SMBFS, FreeBSD). If you keep the default setting, Smb4K will try to automatically determine the charset by looking up the "unix charset" option in the smb.conf.</whatsthis>
0066       <default>false</default>
0067     </entry>
0068     <entry name="ClientCharset" type="Enum">
0069       <whatsthis>This is the character set that is used by the client side (i.e. your side) either to convert local path names to and from Unicode (CIFS, Linux) or for codepage to charset translations (SMBFS, FreeBSD). If you keep the default setting, Smb4K will try to automatically determine the charset by looking up the "unix charset" option in the smb.conf.</whatsthis>
0070       <choices>
0071         <choice name="default_charset">
0072           <label>default</label>
0073         </choice>
0074         <choice name="iso8859_1">
0075           <label>iso8859-1</label>
0076         </choice>
0077         <choice name="iso8859_2">
0078           <label>iso8859-2</label>
0079         </choice>
0080         <choice name="iso8859_3">
0081           <label>iso8859-3</label>
0082         </choice>
0083         <choice name="iso8859_4">
0084           <label>iso8859-4</label>
0085         </choice>
0086         <choice name="iso8859_5">
0087           <label>iso8859-5</label>
0088         </choice>
0089         <choice name="iso8859_6">
0090           <label>iso8859-6</label>
0091         </choice>
0092         <choice name="iso8859_7">
0093           <label>iso8859-7</label>
0094         </choice>
0095         <choice name="iso8859_8">
0096           <label>iso8859-8</label>
0097         </choice>
0098         <choice name="iso8859_9">
0099           <label>iso8859-9</label>
0100         </choice>
0101         <choice name="iso8859_13">
0102           <label>iso8859-13</label>
0103         </choice>
0104         <choice name="iso8859_14">
0105           <label>iso8859-14</label>
0106         </choice>
0107         <choice name="iso8859_15">
0108           <label>iso8859-15</label>
0109         </choice>
0110         <choice name="utf8">
0111           <label>utf8</label>
0112         </choice>
0113         <choice name="koi8_r">
0114           <label>koi8-r</label>
0115         </choice>
0116         <choice name="koi8_u">
0117           <label>koi8-u</label>
0118         </choice>
0119         <choice name="koi8_ru">
0120           <label>koi8-ru</label>
0121         </choice>
0122         <choice name="cp1251">
0123           <label>cp1251</label>
0124         </choice>
0125         <choice name="gb2312">
0126           <label>gb2312</label>
0127         </choice>
0128         <choice name="big5">
0129           <label>big5</label>
0130         </choice>
0131         <choice name="euc_jp">
0132           <label>euc-jp</label>
0133         </choice>
0134         <choice name="euc_kr">
0135           <label>euc-kr</label>
0136         </choice>
0137         <choice name="tis_620">
0138           <label>tis-620</label>
0139         </choice>
0140       </choices>
0141       <default>default_charset</default>
0142     </entry>
0143     <entry name="UseWriteAccess" type="Bool">
0144       <label>Write access:</label>
0145       <whatsthis>Here you can choose if the shares should be mounted in read-write or read-only mode.</whatsthis>
0146       <default>false</default>
0147     </entry>
0148     <entry name="WriteAccess" type="Enum">
0149       <whatsthis>Here you can choose if the shares should be mounted in read-write or read-only mode.</whatsthis>
0150       <choices>
0151         <choice name="ReadWrite">
0152           <label>read-write</label>
0153         </choice>
0154         <choice name="ReadOnly">
0155           <label>read-only</label>
0156         </choice>
0157       </choices>
0158       <default>ReadWrite</default>
0159     </entry>
0160     <entry name="ForceUID" type="Bool">
0161       <label>Definitely assign the UID</label>
0162       <whatsthis>Instruct the client (i.e. your side) to ignore any user ID (UID) provided by the server for files and directories and to always assign the owner to be the value of the transmitted UID.</whatsthis>
0163       <default>false</default>
0164     </entry>
0165     <entry name="ForceGID" type="Bool">
0166       <label>Definitely assign the GID</label>
0167       <whatsthis>Instruct the client (i.e. your side) to ignore any group ID (GID) provided by the server for files and directories and to always assign the owner to be the value of the transmitted GID.</whatsthis>
0168       <default>false</default>
0169     </entry>
0170     <entry name="PermissionChecks" type="Bool">
0171       <label>Do permission checks</label>
0172       <whatsthis>The client side (i.e. your side) will check if you have the right UID/GID to manipulate a file or directory. You might want to switch this feature off if the server(s) support the CIFS Unix Extensions and you are not allowed to access the files and directories. This setting does not affect the normal ACL check.</whatsthis>
0173       <default>false</default>
0174     </entry>
0175     <entry name="ClientControlsIDs" type="Bool">
0176       <label>Attempt to set UID and GID</label>
0177       <whatsthis>In case the server supports the CIFS Unix Extensions, the client side (i.e. your side) attempts to set the effective UID and GID of the current process on newly created files, directories and devices. If this feature is turned off, the server will set the UID and GID to the default for the share. It is recommended that you read the manual page of mount.cifs before you change this setting.</whatsthis>
0178       <default>false</default>
0179     </entry>
0180     <entry name="ServerInodeNumbers" type="Bool">
0181       <label>Use server inode numbers</label>
0182       <whatsthis>Use inode numbers (unique persistent file identifiers) returned by the server instead of automatically generating temporary inode numbers on the client side.</whatsthis>
0183       <default>true</default>
0184     </entry>
0185     <entry name="NoLocking" type="Bool">
0186       <label>Do not send byte range lock requests</label>
0187       <whatsthis>Do not send byte range lock requests to the server. This is necessary for certain applications that break with CIFS style mandatory byte range locks (and most CIFS servers do not yet support requesting advisory byte range locks).</whatsthis>
0188       <default>false</default>
0189     </entry>
0190     <entry name="TranslateReservedChars" type="Bool">
0191       <label>Translate reserved characters</label>
0192       <whatsthis>Translate six of the seven reserved characters (including the colon, question mark, pipe, asterisk, greater than and less than characters but not the backslash) to remap range (above 0xF000). This allows you to open files that were created with such characters. This has no effect if the server does not support Unicode.</whatsthis>
0193       <default>false</default>
0194     </entry>
0195     <entry name="UseSmbProtocolVersion" type="Bool">
0196       <label>SMB protocol version:</label>
0197       <whatsthis>Define which version of the SMB protocol is to be used.</whatsthis>
0198       <default>false</default>
0199     </entry>
0200     <entry name="SmbProtocolVersion" type="Enum">
0201       <whatsthis>Define which version of the SMB protocol is to be used.</whatsthis>
0202       <choices>
0203         <choice name="OnePointZero">
0204           <label>1.0 (Classic CIFS/SMBv1 protocol)</label>
0205         </choice>
0206         <choice name="TwoPointZero">
0207           <label>2.0 (Windows Vista SP1/Windows Server 2008)</label>
0208         </choice>
0209         <choice name="TwoPointOne">
0210           <label>2.1 (Windows 7/Windows Server 2008R2)</label> 
0211         </choice>
0212         <choice name="ThreePointZero">
0213           <label>3.0 (Windows 8/Windows Server 2012)</label>
0214         </choice>
0215         <choice name="ThreePointZeroPointTwo">
0216           <label>3.0.2 (Windows 8.1/Windows Server 2012R2)</label>
0217         </choice>
0218         <choice name="ThreePointOnePointOne">
0219           <label>3.1.1 (Windows Server 2016)</label>
0220         </choice>
0221         <choice name="ThreeAndAbove">
0222           <label>3 (Version 3.0 and above)</label>
0223         </choice>
0224         <choice name="Default">
0225           <label>default (Negotiate the highest version)</label>
0226         </choice>
0227       </choices>
0228       <default>Default</default>
0229     </entry>
0230     <entry name="UseCacheMode" type="Bool">
0231       <label>Cache mode:</label>
0232       <whatsthis>Define how read and write requests are handled. In case you choose to not cache file data at all, the client never utilizes the cache for normal reads and writes. It always accesses the server directly to satisfy a read or write request. If you choose to follow the CIFS/SMB2 protocol strictly, the cache is only trusted if the client holds an oplock. If the client does not hold an oplock, then the client bypasses the cache and accesses the server directly to satisfy a read or write request. Choosing to allow loose caching semantics can sometimes provide better performance on the expense of cache coherency. This option might cause data corruption, if several clients access the same set of files on the server at the same time. Because of this, the strict cache mode is recommended.</whatsthis>
0233       <default>false</default>
0234     </entry>
0235     <entry name="CacheMode" type="Enum">
0236       <whatsthis>Define how read and write requests are handled. In case you choose to not cache file data at all, the client never utilizes the cache for normal reads and writes. It always accesses the server directly to satisfy a read or write request. If you choose to follow the CIFS/SMB2 protocol strictly, the cache is only trusted if the client holds an oplock. If the client does not hold an oplock, then the client bypasses the cache and accesses the server directly to satisfy a read or write request. Choosing to allow loose caching semantics can sometimes provide better performance on the expense of cache coherency. This option might cause data corruption, if several clients access the same set of files on the server at the same time. Because of this, the strict cache mode is recommended.</whatsthis>
0237       <choices>
0238         <choice name="None">
0239           <label>Do not cache file data at all</label>
0240         </choice>
0241         <choice name="Strict">
0242           <label>Follow the CIFS/SMB2 protocol strictly</label>
0243         </choice>
0244         <choice name="Loose">
0245           <label>Allow loose caching semantics</label>
0246         </choice>
0247       </choices>
0248       <default>Strict</default>
0249     </entry>
0250     <entry name="UseSecurityMode" type="Bool">
0251       <label>Security mode:</label>
0252       <whatsthis>Security mode for mount.cifs. To be able to use this mode, the CIFS kernel module 1.40 or later is required.</whatsthis>
0253       <default>false</default>
0254     </entry>
0255     <entry name="SecurityMode" type="Enum">
0256       <whatsthis>Security mode for mount.cifs. To be able to use this mode, the CIFS kernel module 1.40 or later is required.</whatsthis>
0257       <choices>
0258         <choice name="None">
0259           <label>Connect as a null user (no name)</label>
0260         </choice>
0261         <choice name="Krb5">
0262           <label>Kerberos 5 authentication</label>
0263         </choice>
0264         <choice name="Krb5i">
0265           <label>Kerberos 5 authentication and packet signing</label>
0266         </choice>
0267         <choice name="Ntlm">
0268           <label>NTLM protocol</label>
0269         </choice>
0270         <choice name="Ntlmi">
0271           <label>NTLM protocol and packet signing</label>
0272         </choice>
0273         <choice name="Ntlmv2">
0274           <label>NTLMv2 protocol</label>
0275         </choice>
0276         <choice name="Ntlmv2i">
0277           <label>NTLMv2 protocol and packet signing</label>
0278         </choice>
0279         <choice name="Ntlmssp">
0280           <label>NTLMSSP protocol</label>
0281         </choice>
0282         <choice name="Ntlmsspi">
0283           <label>NTLMSSP protocol and packet signing</label>
0284         </choice>
0285       </choices>
0286       <default>Ntlmssp</default>
0287     </entry>
0288     <entry name="UseCustomCifsOptions" type="Bool">
0289       <label>Additional options:</label>
0290       <whatsthis>Here you can enter advanced options for the CIFS file system in a comma-separated list (refer to the manual page of mount.cifs to learn more). The list will be added AS IS to the "-o" argument of mount.cifs. Please do not enter options that have already been defined in the configuration dialog.</whatsthis>
0291       <default>false</default>
0292     </entry>
0293     <entry name="CustomCIFSOptions" type="String">
0294       <whatsthis>Here you can enter advanced options for the CIFS file system in a comma-separated list (refer to the manual page of mount.cifs to learn more). The list will be added AS IS to the "-o" argument of mount.cifs. Please do not enter options that have already been defined in the configuration dialog.</whatsthis>
0295       <default></default>
0296     </entry>
0297     <entry name="MountPrefix" type="Url">
0298       <label>Mount prefix:</label>
0299       <whatsthis>This is the prefix where Smb4K will create the mount points and mount the remote shares.</whatsthis>
0300       <default code="true">QUrl::fromLocalFile(QDir::homePath()+QStringLiteral("/smb4k/"))</default>
0301     </entry>
0302     <entry name="ForceLowerCaseSubdirs" type="Bool">
0303       <label>Force generated subdirectories to be lower case</label>
0304       <whatsthis>All names of the subdirectories created by Smb4K below the mount prefix will be lowercase.</whatsthis>
0305       <default>false</default>
0306     </entry>
0307     <entry name="UnmountSharesOnExit" type="Bool">
0308       <label>Unmount all personal shares on exit</label>
0309       <whatsthis>Unmount all shares that belong to you when the program exits. Shares that are owned by other users are ignored.</whatsthis>
0310       <default>false</default>
0311     </entry>
0312     <entry name="RemountShares" type="Bool">
0313       <label>Remount shares</label>
0314       <whatsthis>Remount all your shares that were mounted when you exited the program or changed a profile. If the remounting of a share fails, Smb4K will retry the next time it is started. Shares that were mounted by other users are ignored. Please note that this setting does not affect the automatic remounting of shares when your computer woke up from a sleep state.</whatsthis>
0315       <default>false</default>
0316     </entry>
0317     <entry name="RemountAttempts" type="Int">
0318       <label>Number of remount attempts:</label>
0319       <whatsthis>Set the number of attempts that are made to remount shares before Smb4K gives up.</whatsthis>
0320       <min>1</min>
0321       <max>100</max>
0322       <default>1</default>
0323     </entry>
0324     <entry name="RemountInterval" type="Int">
0325       <label>Interval between remount attempts:</label>
0326       <whatsthis>Set the time that elapses between attempts to remount shares.</whatsthis>
0327       <min>1</min>
0328       <max>30</max>
0329       <default>5</default>
0330     </entry>
0331     <entry name="UnmountForeignShares" type="Bool">
0332       <label>Allow the unmounting of shares that are owned by other users</label>
0333       <whatsthis>Allow the unmounting of shares that were mounted by other users. Please think before you enable this option.</whatsthis>
0334       <default>false</default>
0335     </entry>
0336     <entry name="ForceUnmountInaccessible" type="Bool">
0337       <label>Force the unmounting of inaccessible shares</label>
0338       <whatsthis>Force the unmounting of inaccessible shares (Linux only). In case a share is inaccessible, a lazy unmount is performed. Before the actual unmount is performed, a warning dialog is shown asking to approve the unmount.</whatsthis>
0339       <default>false</default>
0340     </entry>
0341     <entry name="DetectAllShares" type="Bool">
0342       <label>Detect all shares that are mounted on the system</label>
0343       <whatsthis>You will not only see the shares that were mounted and are owned by you, but also all other mounts using the SMBFS and CIFS file system that are present on the system.</whatsthis>
0344       <default>false</default>
0345     </entry>
0346   </group>
0347 </kcfg>