Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
samba [2015/06/01 17:24]
steve
samba [2015/06/01 18:09]
steve
Line 207: Line 207:
 I was considering setting up Samba in place of Netatalk for sharing with Mac, and I made a list of blockers that could prevent a stable, efficient setup. ​ Here's the list. :) I was considering setting up Samba in place of Netatalk for sharing with Mac, and I made a list of blockers that could prevent a stable, efficient setup. ​ Here's the list. :)
  
-  - stormy: [[Samba]] testing+  - nas: [[Samba]] testing
     - Setup a share that is not listed for guests (public, private)     - Setup a share that is not listed for guests (public, private)
     - Setup SMB1 (NT1) max protocol -- despite OS X using SMB2 by default, NT1 is far well supported, and has not had issues commonly reported.     - Setup SMB1 (NT1) max protocol -- despite OS X using SMB2 by default, NT1 is far well supported, and has not had issues commonly reported.
Line 214: Line 214:
       - Copying a file from OS X files sometimes (?) creates (and maybe copies?) an EA file       - Copying a file from OS X files sometimes (?) creates (and maybe copies?) an EA file
     - Test running AFP and Samba in tandem     - Test running AFP and Samba in tandem
-    - Initial connect is slow (when selecting ​STORMY ​from left nav in Finder) -- looks like it's using Guest connect by default -- also need to test when there is a save password for the connection+    - Initial connect is slow (when selecting ​NAS from left nav in Finder) -- looks like it's using Guest connect by default -- also need to test when there is a save password for the connection
       - Setting ''​log level = 0 auth:​3''​ in smb.conf helps display issues with Samba connections       - Setting ''​log level = 0 auth:​3''​ in smb.conf helps display issues with Samba connections
       - With ''​username map''​ empty (default Samba configuration),​ this error shows up in logs: ''​check_ntlm_password: ​ Authentication for user [GUEST] -> [GUEST] FAILED with error NT_STATUS_NO_SUCH_USER''​       - With ''​username map''​ empty (default Samba configuration),​ this error shows up in logs: ''​check_ntlm_password: ​ Authentication for user [GUEST] -> [GUEST] FAILED with error NT_STATUS_NO_SUCH_USER''​
Line 226: Line 226:
     - Test files with Word that have macros     - Test files with Word that have macros
     - Talk to Jon and get some example files that he has problems viewing / updating with AFP     - Talk to Jon and get some example files that he has problems viewing / updating with AFP
-    - What effects does disabling NetBIOS (added in smb.conf) have for displaying ​Stormy ​in Network list?  What about changing the avahi configuration?​ +    - What effects does disabling NetBIOS (added in smb.conf) have for displaying ​NAS in Network list?  What about changing the avahi configuration?​ 
-      - I have a possible theory that the network naming and avahi entries could be causing Finder to cycle through possible network connection options when accessing ​STORMY ​for the first time.  Get a closer look at the Samba logs to see what requests are happening client and server side.+      - I have a possible theory that the network naming and avahi entries could be causing Finder to cycle through possible network connection options when accessing ​NAS for the first time.  Get a closer look at the Samba logs to see what requests are happening client and server side.
     - See if it is possible to connect as user "Full Name" as well as "​shortname"​. ​ If it's not possible, then use usermap to map the long ones to the short ones.     - See if it is possible to connect as user "Full Name" as well as "​shortname"​. ​ If it's not possible, then use usermap to map the long ones to the short ones.
       - Yes.  ''​tridge = "​Andrew Tridgell"'' ​ See [[http://​www.samba.org/​samba/​docs/​man/​manpages-3/​smb.conf.5.html#​USERNAMEMAP]]       - Yes.  ''​tridge = "​Andrew Tridgell"'' ​ See [[http://​www.samba.org/​samba/​docs/​man/​manpages-3/​smb.conf.5.html#​USERNAMEMAP]]
Line 234: Line 234:
     - Recommended to enable ''​use sendfile''​     - Recommended to enable ''​use sendfile''​
  
-Also, here is the latest ''​smb.conf''​ file for stormy ​at the time of stopping research:+Also, here is the latest ''​smb.conf''​ file for NAS at the time of stopping research:
  
 <​code>​ <​code>​
Line 278: Line 278:
  
         # Cosmetics         # Cosmetics
-        comment = stormy+        comment = nas
  
         # Possibly relevant if debugging         # Possibly relevant if debugging
Line 295: Line 295:
         ​         ​
         [software]         [software]
-        path = /var/stormy/images+        path = /var/nas/images
         read only = No         read only = No
         guest ok = Yes         guest ok = Yes