You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

168 lines
6.6 KiB

  1. ;******************************************************************************
  2. ; File to define cifsd configuration parameters which are comparable with
  3. ; samba's ones
  4. ;
  5. ; Supported [global] level parameters list:
  6. ; - server string
  7. ; This controls what string will show up in browse lists next
  8. ; to the machine name
  9. ; - workgroup
  10. ; This controls what workgroup your server will appear to be
  11. ; in when queried by clients
  12. ; - netbios name
  13. ; This sets the NetBIOS name by which a SMB server is known.
  14. ; By default it is the same as the first component of the host's
  15. ; DNS name. If a machine is a browse server or logon server this
  16. ; name (or the first component of the hosts DNS name) will be
  17. ; the name that these services are advertised under.
  18. ; - server min protocol
  19. ; This setting controls the minimum protocol version that the
  20. ; server will allow the client to use.
  21. ; - server max protocol
  22. ; The value of the parameter (a string) is the highest protocol
  23. ; level that will be supported by the server.
  24. ; - server signing
  25. ; This controls whether the client is allowed or required to use
  26. ; SMB1 and SMB2 signing. Possible values are default, auto,
  27. ; mandatory and disabled.
  28. ; - guest account
  29. ; This is a username which will be used for access to services
  30. ; which are specified as guest ok.
  31. ; - max active sessions
  32. ; This option allows the number of simultaneous connections to
  33. ; a service to be limited.
  34. ; - ipc timeout
  35. ; This option specifies the number of seconds server will wait
  36. ; for the userspace to reply to heartbeat frames. If user space
  37. ; is down for more than `ipc timeout` seconds the server will
  38. ; reset itself - close all sessions and all TCP connections.
  39. ; - restrict anonymous
  40. ; The setting of this parameter determines whether user and
  41. ; group list information is returned for an anonymous connection.
  42. ; - map to guest
  43. ; This parameter can take four different values, which tell cifsd
  44. ; what to do with user login requests.(bad user
  45. ; - bind interfaces only
  46. ; This global parameter allows the cifsd admin to limit what
  47. ; interfaces on a machine will serve SMB requests.
  48. ; - interfaces
  49. ; This option allows you to override the default network
  50. ; interfaces list that cifsd will use for browsing. The option
  51. ; takes only list of interface name.
  52. ; - deadtime
  53. ; The value of the parameter (a decimal integer) represents
  54. ; the number of minutes of inactivity before a connection is
  55. ; considered dead, and it is disconnected. The deadtime only
  56. ; takes effect if the number of open files is zero.
  57. ;
  58. ; Supported [share] level parameters list:
  59. ; - comment
  60. ; comment string to associate with the new share
  61. ; - path
  62. ; This parameter specifies a directory to which the user of the
  63. ; service is to be given access.
  64. ; - guest ok
  65. ; If this parameter is yes for a service, then no password is
  66. ; required to connect to the service.
  67. ; - read only
  68. ; If this parameter is yes, then users of a service may not
  69. ; create or modify files in the service's directory.
  70. ; - browseable
  71. ; This controls whether this share is seen in the list of
  72. ; available shares in a net view and in the browse list.
  73. ; - write ok
  74. ; - writeable
  75. ; Inverted synonym for read only.
  76. ; - store dos attributes
  77. ; If this parameter is set cifsd attempts to first read DOS
  78. ; attributes (SYSTEM, HIDDEN, ARCHIVE or READ-ONLY) from a
  79. ; filesystem extended attribute, before mapping DOS attributes
  80. ; to UNIX permission bits (such as occurs with map hidden and
  81. ; map readonly).
  82. ; - oplocks
  83. ; This boolean option tells cifsd whether to issue oplocks
  84. ; (opportunistic locks) to file open requests on this share.
  85. ; - create mask
  86. ; When a file is created, the necessary permissions are calculated
  87. ; according to the mapping from DOS modes to UNIX permissions, and
  88. ; the resulting UNIX mode is then bit-wise 'AND'ed with this
  89. ; parameter.
  90. ; - directory mask
  91. ; This parameter is the octal modes which are used when converting
  92. ; DOS modes to UNIX modes when creating UNIX directories.
  93. ; - force group
  94. ; This specifies a UNIX group name that will be assigned as
  95. ; the default primary group for all users connecting to this
  96. ; service.
  97. ; - force user
  98. ; This specifies a UNIX user name that will be assigned as
  99. ; the default user for all users connecting to this service.
  100. ; - hide dot files
  101. ; This is a boolean parameter that controls whether files starting
  102. ; with a dot appear as hidden files.
  103. ; - hosts allow
  104. ; This parameter is a comma, space, or tab delimited set of hosts
  105. ; which are permitted to access a service
  106. ; - hosts deny
  107. ; The opposite of allow hosts - hosts listed here are NOT
  108. ; permitted access to services unless the specific services have
  109. ; their own lists to override this one. Where the lists conflict,
  110. ; the allow list takes precedence.
  111. ; - valid users
  112. ; This is a list of users that should be allowed to login to this
  113. ; service
  114. ; - invalid users
  115. ; This is a list of users that should not be allowed to login to
  116. ; this service.
  117. ; - read list
  118. ; This is a list of users that are given read-only access to
  119. ; a service.
  120. ; - write list
  121. ; This is a list of users that are given read-write access to
  122. ; a service.
  123. ; - max connections
  124. ; This option allows the number of simultaneous connections to
  125. ; a service to be limited.
  126. ; - veto files
  127. ; This is a list of files and directories that are neither visible
  128. ; nor accessible.
  129. ;
  130. ; Veto any files containing the word Security,
  131. ; any ending in .tmp, and any directory containing the
  132. ; word root.
  133. ; veto files = /*Security*/*.tmp/*root*/
  134. ;
  135. ; Veto the Apple specific files that a NetAtalk server
  136. ; creates.
  137. ; veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/
  138. ; - inherit owner
  139. ; The ownership for new files and directories should be controlled
  140. ; by the ownership of the parent directory.
  141. ; Valid options are yes or no.
  142. ; - inherit smack
  143. ; This parameter can be used to ensure that if smack label exist
  144. ; on parent directories.
  145. ; Valid options are yes or no.
  146. ; - force create mode
  147. ; This parameter specifies a set of UNIX mode bit permissions
  148. ; that will always be set on a file created by cifsd.
  149. ; - force directory mode
  150. ; This parameter specifies a set of UNIX mode bit permissions
  151. ; that will always be set on a directory created by cifsd.
  152. ;
  153. ; Rules to update this file:
  154. ; - Every [share] definition should start on new line
  155. ; - Every parameter should be indented with single tab
  156. ; - There should be single spaces around equal (eg: " = ")
  157. ; - Multiple parameters should be separated with comma
  158. ; eg: "invalid users = usr1,usr2,usr3"
  159. ;
  160. ; Make sure to configure the server after making changes to this file.
  161. ;******************************************************************************
  162. [global]
  163. netbios name = CIFSD
  164. [homes]
  165. comment = content server share
  166. path = /tmp