Windows 7 hates OMV 1.x ACL's

    • OMV 1.0
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Windows 7 hates OMV 1.x ACL's

      OK. I finally decided to switch to an Intel setup so I could actually upgrade to Wheezy with OMV 1.x. Currently on 1.12. I've had a number of issues like MySQL not shutting down to configure, but I found workarounds for that.

      What I am having issues with today is that regardless of Permissions settings, ACL's, or any other shared folder setting, Windows 7 can not access or even see any of the shared folders in Samba. I have used the reset. Afterwards, I used ACL to set all shared folders to the "nobody" user for guest access to them. I left my username unchecked. The only shared folders that are not set to "nobody" but my username and group in ACL are clonezilla and personal.

      Now, Windows can't access any share at all. Can't even see them. As soon as I double click the OMV machine in Network on the WIN7 cpu, it prompts me for a password. Also, my username and password are the same on both the WIN7 and OMV machines.

      Here's the smb.conf

      Source Code

      1. #======================= Global Settings =======================
      2. [global]
      3. workgroup = WORKGROUP
      4. server string = %h server
      5. dns proxy = no
      6. log level = 0
      7. syslog = 0
      8. log file = /var/log/samba/log.%m
      9. max log size = 1000
      10. syslog only = yes
      11. panic action = /usr/share/samba/panic-action %d
      12. encrypt passwords = true
      13. passdb backend = tdbsam
      14. obey pam restrictions = yes
      15. unix password sync = no
      16. passwd program = /usr/bin/passwd %u
      17. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
      18. pam password change = yes
      19. socket options = TCP_NODELAY IPTOS_LOWDELAY
      20. guest account = nobody
      21. load printers = no
      22. disable spoolss = yes
      23. printing = bsd
      24. printcap name = /dev/null
      25. unix extensions = yes
      26. wide links = no
      27. create mask = 0777
      28. directory mask = 0777
      29. map to guest = Bad User
      30. use sendfile = yes
      31. aio read size = 16384
      32. aio write size = 16384
      33. null passwords = no
      34. local master = yes
      35. time server = no
      36. wins support = no
      37. #======================= Share Definitions =======================
      38. [xbmc]
      39. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/xbmc/
      40. guest ok = yes
      41. read only = no
      42. browseable = yes
      43. inherit acls = yes
      44. inherit permissions = no
      45. ea support = no
      46. store dos attributes = no
      47. printable = no
      48. create mask = 0755
      49. force create mode = 0644
      50. directory mask = 0755
      51. force directory mode = 0755
      52. hide dot files = yes
      53. read list =
      54. write list =
      55. [Videos]
      56. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/Videos/
      57. guest ok = yes
      58. read only = no
      59. browseable = yes
      60. inherit acls = yes
      61. inherit permissions = no
      62. ea support = no
      63. store dos attributes = no
      64. printable = no
      65. create mask = 0755
      66. force create mode = 0644
      67. directory mask = 0755
      68. force directory mode = 0755
      69. hide dot files = yes
      70. read list =
      71. write list =
      72. [TVShows]
      73. path = /media/9a1aeafe-7406-45a5-890e-56b42d132ba9/TVShows/
      74. guest ok = yes
      75. read only = no
      76. browseable = yes
      77. inherit acls = no
      78. inherit permissions = no
      79. ea support = no
      80. store dos attributes = no
      81. printable = no
      82. create mask = 0755
      83. force create mode = 0644
      84. directory mask = 0755
      85. force directory mode = 0755
      86. hide dot files = yes
      87. read list =
      88. write list =
      89. [Temporary]
      90. path = /media/3a3b968b-cbc4-44e6-9419-9ec4d3a0c619/Temporary/
      91. guest ok = yes
      92. read only = no
      93. browseable = yes
      94. inherit acls = yes
      95. inherit permissions = no
      96. ea support = no
      97. store dos attributes = no
      98. printable = no
      99. create mask = 0755
      100. force create mode = 0644
      101. directory mask = 0755
      102. force directory mode = 0755
      103. hide dot files = yes
      104. read list =
      105. write list =
      106. [ROM]
      107. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/ROM/
      108. guest ok = yes
      109. read only = no
      110. browseable = yes
      111. inherit acls = yes
      112. inherit permissions = no
      113. ea support = no
      114. store dos attributes = no
      115. printable = no
      116. create mask = 0755
      117. force create mode = 0644
      118. directory mask = 0755
      119. force directory mode = 0755
      120. hide dot files = yes
      121. read list =
      122. write list =
      123. [PS2SMB]
      124. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/PS2SMB/
      125. guest ok = yes
      126. read only = no
      127. browseable = yes
      128. inherit acls = yes
      129. inherit permissions = no
      130. ea support = no
      131. store dos attributes = no
      132. printable = no
      133. create mask = 0755
      134. force create mode = 0644
      135. directory mask = 0755
      136. force directory mode = 0755
      137. hide dot files = yes
      138. read list =
      139. write list =
      140. [Programs]
      141. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/Programs/
      142. guest ok = yes
      143. read only = no
      144. browseable = yes
      145. inherit acls = yes
      146. inherit permissions = no
      147. ea support = no
      148. store dos attributes = no
      149. printable = no
      150. create mask = 0755
      151. force create mode = 0644
      152. directory mask = 0755
      153. force directory mode = 0755
      154. hide dot files = yes
      155. read list =
      156. write list =
      157. [Pictures]
      158. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/Pictures/
      159. guest ok = yes
      160. read only = no
      161. browseable = yes
      162. inherit acls = yes
      163. inherit permissions = no
      164. ea support = no
      165. store dos attributes = no
      166. printable = no
      167. create mask = 0755
      168. force create mode = 0644
      169. directory mask = 0755
      170. force directory mode = 0755
      171. hide dot files = yes
      172. read list =
      173. write list =
      174. [Personal]
      175. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/Personal/
      176. guest ok = no
      177. read only = no
      178. browseable = yes
      179. inherit acls = yes
      180. inherit permissions = no
      181. ea support = no
      182. store dos attributes = no
      183. printable = no
      184. create mask = 0755
      185. force create mode = 0644
      186. directory mask = 0755
      187. force directory mode = 0755
      188. hide dot files = yes
      189. valid users = "bootleg",@"bootleg"
      190. invalid users =
      191. read list =
      192. write list = "bootleg",@"bootleg"
      193. [Music]
      194. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/Music/
      195. guest ok = yes
      196. read only = no
      197. browseable = yes
      198. inherit acls = yes
      199. inherit permissions = no
      200. ea support = no
      201. store dos attributes = no
      202. printable = no
      203. create mask = 0755
      204. force create mode = 0644
      205. directory mask = 0755
      206. force directory mode = 0755
      207. hide dot files = yes
      208. read list =
      209. write list =
      210. [Movies]
      211. path = /media/f038462d-c3c2-4aaf-97a8-23357c044f6c/Movies/
      212. guest ok = yes
      213. read only = no
      214. browseable = yes
      215. inherit acls = no
      216. inherit permissions = no
      217. ea support = no
      218. store dos attributes = no
      219. printable = no
      220. create mask = 0755
      221. force create mode = 0644
      222. directory mask = 0755
      223. force directory mode = 0755
      224. hide dot files = yes
      225. read list =
      226. write list =
      227. [Downloads]
      228. path = /media/3a3b968b-cbc4-44e6-9419-9ec4d3a0c619/Downloads/
      229. guest ok = yes
      230. read only = no
      231. browseable = yes
      232. inherit acls = yes
      233. inherit permissions = no
      234. ea support = no
      235. store dos attributes = no
      236. printable = no
      237. create mask = 0755
      238. force create mode = 0644
      239. directory mask = 0755
      240. force directory mode = 0755
      241. hide dot files = yes
      242. read list =
      243. write list =
      244. [Documents]
      245. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/Documents/
      246. guest ok = yes
      247. read only = no
      248. browseable = yes
      249. inherit acls = yes
      250. inherit permissions = no
      251. ea support = no
      252. store dos attributes = no
      253. printable = no
      254. create mask = 0755
      255. force create mode = 0644
      256. directory mask = 0755
      257. force directory mode = 0755
      258. hide dot files = yes
      259. read list =
      260. write list =
      261. [Console]
      262. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/Console/
      263. guest ok = yes
      264. read only = no
      265. browseable = yes
      266. inherit acls = yes
      267. inherit permissions = no
      268. ea support = no
      269. store dos attributes = no
      270. printable = no
      271. create mask = 0755
      272. force create mode = 0644
      273. directory mask = 0755
      274. force directory mode = 0755
      275. hide dot files = yes
      276. read list =
      277. write list =
      278. [clonezilla]
      279. path = /media/3a3b968b-cbc4-44e6-9419-9ec4d3a0c619/clonezilla/
      280. guest ok = no
      281. read only = no
      282. browseable = yes
      283. inherit acls = yes
      284. inherit permissions = no
      285. ea support = no
      286. store dos attributes = no
      287. printable = no
      288. create mask = 0755
      289. force create mode = 0644
      290. directory mask = 0755
      291. force directory mode = 0755
      292. hide dot files = yes
      293. valid users = "bootleg",@"bootleg"
      294. invalid users =
      295. read list =
      296. write list = "bootleg",@"bootleg"
      Display All


      And finally some screen shots of what I've been dealing with:











      If anyone could help me resolve this so that windows could actually use the shares, I would appreciate. This is frustrating. Oh, my HTPC with an Ubuntu variant (KodiBuntu) can see shares just fine.
    • Don't use ACL (i can't even remember how many times this has been indicated in the forum). Flush those ACL with the reset permission tab in shared folder.

      Then next, go to shared folder and USE PRIVILEGES please.

      Read the first sticky post in this section
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • @subzero79 - Before posting, I did read as much as I could take in via site search and Google. Of course with that, sifting through it all to find useful information can be a task within it self. At this point, ACL is no longer used. (And in my opinion, should be completely disallowed from OMV's webgui to prevent users like me from accessing it.)

      @ james_h - Oh, I restarted Samba numerous times meticulously changing settings one at a time to get it to work. Thank you, but that didn't cure it.

      After a week of searching google, I stumbled upon a relatively simple solution, (while doesn't correct all of my issue,) that does work.

      In my smb.conf, I had to enter the simple variable in the global section after checking allow null passwords.

      Source Code

      1. security = share


      Then of course restart samba.

      This finally allowed windows to see the omv machine, and actually access all the guest shares with read/write permissions. However, I am still unable to access any protected shares. This includes using the correct user name and password. I'm sure I will correct that at some point.
    • By your smb.conf i've noticed you configured your shares as semipublic (guest allowed).

      I don't see any valid users there.

      If your have identical username password (win-linux) and want to access as guest you need to type nobody as login and no password.
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • Guest access is no longer an issue. Windows doesn't ask for a password to even see or access the OMV samba shares now. It only ask for passwords for the two protected shares. clonezilla and Personal. And yes, my username and passwords are identical between Linux and Windows.

      The updated smb.conf the system is currently using.

      Source Code

      1. #======================= Global Settings =======================
      2. [global]
      3. workgroup = WORKGROUP
      4. server string = %h server
      5. dns proxy = no
      6. log level = 2
      7. syslog = 2
      8. log file = /var/log/samba/log.%m
      9. max log size = 1000
      10. syslog only = yes
      11. panic action = /usr/share/samba/panic-action %d
      12. encrypt passwords = true
      13. passdb backend = tdbsam
      14. obey pam restrictions = yes
      15. unix password sync = no
      16. passwd program = /usr/bin/passwd %u
      17. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
      18. pam password change = yes
      19. socket options = TCP_NODELAY IPTOS_LOWDELAY
      20. guest account = nobody
      21. load printers = no
      22. disable spoolss = yes
      23. printing = bsd
      24. printcap name = /dev/null
      25. unix extensions = yes
      26. wide links = no
      27. create mask = 0777
      28. directory mask = 0777
      29. map to guest = Bad User
      30. use sendfile = yes
      31. aio read size = 16384
      32. aio write size = 16384
      33. null passwords = no
      34. local master = yes
      35. time server = no
      36. wins support = no
      37. security = share
      38. #======================= Share Definitions =======================
      39. [xbmc]
      40. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/xbmc/
      41. guest ok = yes
      42. read only = no
      43. browseable = yes
      44. inherit acls = no
      45. inherit permissions = yes
      46. ea support = no
      47. store dos attributes = no
      48. printable = no
      49. create mask = 0755
      50. force create mode = 0644
      51. directory mask = 0755
      52. force directory mode = 0755
      53. hide dot files = yes
      54. read list =
      55. write list =
      56. [Videos]
      57. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/Videos/
      58. guest ok = yes
      59. read only = no
      60. browseable = yes
      61. inherit acls = no
      62. inherit permissions = yes
      63. ea support = no
      64. store dos attributes = no
      65. printable = no
      66. create mask = 0755
      67. force create mode = 0644
      68. directory mask = 0755
      69. force directory mode = 0755
      70. hide dot files = yes
      71. read list =
      72. write list =
      73. [TVShows]
      74. path = /media/9a1aeafe-7406-45a5-890e-56b42d132ba9/TVShows/
      75. guest ok = yes
      76. read only = no
      77. browseable = yes
      78. inherit acls = yes
      79. inherit permissions = yes
      80. ea support = no
      81. store dos attributes = no
      82. printable = no
      83. create mask = 0755
      84. force create mode = 0644
      85. directory mask = 0755
      86. force directory mode = 0755
      87. hide dot files = yes
      88. read list =
      89. write list =
      90. [Temporary]
      91. path = /media/3a3b968b-cbc4-44e6-9419-9ec4d3a0c619/Temporary/
      92. guest ok = yes
      93. read only = no
      94. browseable = yes
      95. inherit acls = no
      96. inherit permissions = yes
      97. ea support = no
      98. store dos attributes = no
      99. printable = no
      100. create mask = 0755
      101. force create mode = 0644
      102. directory mask = 0755
      103. force directory mode = 0755
      104. hide dot files = yes
      105. read list =
      106. write list =
      107. [ROM]
      108. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/ROM/
      109. guest ok = yes
      110. read only = no
      111. browseable = yes
      112. inherit acls = yes
      113. inherit permissions = no
      114. ea support = no
      115. store dos attributes = no
      116. printable = no
      117. create mask = 0755
      118. force create mode = 0644
      119. directory mask = 0755
      120. force directory mode = 0755
      121. hide dot files = yes
      122. read list =
      123. write list =
      124. [PS2SMB]
      125. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/PS2SMB/
      126. guest ok = yes
      127. read only = no
      128. browseable = yes
      129. inherit acls = yes
      130. inherit permissions = no
      131. ea support = no
      132. store dos attributes = no
      133. printable = no
      134. create mask = 0755
      135. force create mode = 0644
      136. directory mask = 0755
      137. force directory mode = 0755
      138. hide dot files = yes
      139. read list =
      140. write list =
      141. [Programs]
      142. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/Programs/
      143. guest ok = yes
      144. read only = no
      145. browseable = yes
      146. inherit acls = no
      147. inherit permissions = yes
      148. ea support = no
      149. store dos attributes = no
      150. printable = no
      151. create mask = 0755
      152. force create mode = 0644
      153. directory mask = 0755
      154. force directory mode = 0755
      155. hide dot files = yes
      156. read list =
      157. write list =
      158. [Pictures]
      159. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/Pictures/
      160. guest ok = yes
      161. read only = no
      162. browseable = yes
      163. inherit acls = no
      164. inherit permissions = yes
      165. ea support = no
      166. store dos attributes = no
      167. printable = no
      168. create mask = 0755
      169. force create mode = 0644
      170. directory mask = 0755
      171. force directory mode = 0755
      172. hide dot files = yes
      173. read list =
      174. write list =
      175. [Personal]
      176. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/Personal/
      177. guest ok = no
      178. read only = no
      179. browseable = yes
      180. inherit acls = no
      181. inherit permissions = yes
      182. ea support = no
      183. store dos attributes = no
      184. printable = no
      185. create mask = 0755
      186. force create mode = 0644
      187. directory mask = 0755
      188. force directory mode = 0755
      189. hide dot files = yes
      190. valid users = "bootleg"
      191. invalid users =
      192. read list =
      193. write list = "bootleg"
      194. [Music]
      195. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/Music/
      196. guest ok = yes
      197. read only = no
      198. browseable = yes
      199. inherit acls = no
      200. inherit permissions = yes
      201. ea support = no
      202. store dos attributes = no
      203. printable = no
      204. create mask = 0755
      205. force create mode = 0644
      206. directory mask = 0755
      207. force directory mode = 0755
      208. hide dot files = yes
      209. read list =
      210. write list =
      211. [Movies]
      212. path = /media/f038462d-c3c2-4aaf-97a8-23357c044f6c/Movies/
      213. guest ok = yes
      214. read only = no
      215. browseable = yes
      216. inherit acls = no
      217. inherit permissions = yes
      218. ea support = no
      219. store dos attributes = no
      220. printable = no
      221. create mask = 0755
      222. force create mode = 0644
      223. directory mask = 0755
      224. force directory mode = 0755
      225. hide dot files = yes
      226. read list =
      227. write list =
      228. [Downloads]
      229. path = /media/3a3b968b-cbc4-44e6-9419-9ec4d3a0c619/Downloads/
      230. guest ok = yes
      231. read only = no
      232. browseable = yes
      233. inherit acls = no
      234. inherit permissions = yes
      235. ea support = no
      236. store dos attributes = no
      237. printable = no
      238. create mask = 0755
      239. force create mode = 0644
      240. directory mask = 0755
      241. force directory mode = 0755
      242. hide dot files = yes
      243. read list =
      244. write list =
      245. [Documents]
      246. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/Documents/
      247. guest ok = yes
      248. read only = no
      249. browseable = yes
      250. inherit acls = no
      251. inherit permissions = yes
      252. ea support = no
      253. store dos attributes = no
      254. printable = no
      255. create mask = 0755
      256. force create mode = 0644
      257. directory mask = 0755
      258. force directory mode = 0755
      259. hide dot files = yes
      260. read list =
      261. write list =
      262. [Console]
      263. path = /media/4e9a818f-61b4-4571-8899-c8e3a9083a38/Console/
      264. guest ok = yes
      265. read only = no
      266. browseable = yes
      267. inherit acls = no
      268. inherit permissions = yes
      269. ea support = no
      270. store dos attributes = no
      271. printable = no
      272. create mask = 0755
      273. force create mode = 0644
      274. directory mask = 0755
      275. force directory mode = 0755
      276. hide dot files = yes
      277. read list =
      278. write list =
      279. [clonezilla]
      280. path = /media/3a3b968b-cbc4-44e6-9419-9ec4d3a0c619/clonezilla/
      281. guest ok = no
      282. read only = no
      283. browseable = yes
      284. inherit acls = no
      285. inherit permissions = yes
      286. ea support = no
      287. store dos attributes = no
      288. printable = no
      289. create mask = 0755
      290. force create mode = 0644
      291. directory mask = 0755
      292. force directory mode = 0755
      293. hide dot files = yes
      294. valid users = "bootleg"
      295. invalid users =
      296. read list =
      297. write list = "bootleg"
      Display All