LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-30-2011, 02:46 PM   #1
TaterSalad
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Rep: Reputation: 0
Exclamation samba share mounts fine in linux, but not in os x


I have a NAS server running Arch Linux configured to share a minimal / simple samba share. My smb.conf looks like this:

Code:
[global]
    workgroup = MSHOME
    security = user

[External]
    comment = Welcome to tower!
    path = /mnt/user/External 
    read list = nobody               
    write list = austin                      
    read only = No                   
    guest ok = Yes
This share is configured to allow guest (meaning no user/pass or anonymous access) read-only rights. The user 'austin' can write to the share however.

On another box running Ubuntu, I can mount the share as both anonymous and as the user austin via smbmount. Anonymous access can read, but not write to the share. Mounting with user austin, I can read and write. All is good.

On my MacBook (running Lion 10.7), the share refuses to mount. Trying to mount from the CMD+K option in Finder to Connect to Server, I am prompted to either select Guest access or enter a username and password. If I select Guest, access is denied. If I connect with user austin and my password, the login information is reject and access is denied. I also tried mounting from the command line using mount_smbfs, but I get authentication error for both guest and user austin.

What gives? I can't decide if this is a client problem or a sever problem. Is there something in my smb.conf that OS X doesnt like?
 
Old 08-30-2011, 04:01 PM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
As for authenticated access, smbpasswd can help. Maybe Samba just fails to access /etc/passwd

I would try to remove "read list" - it may be that MacOS tries to login as "guest" or something like that.
 
Old 08-30-2011, 07:32 PM   #3
TaterSalad
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for your suggestion, but it did not work. I can't logon as guest or user austin. Both state auth fails.
 
Old 08-30-2011, 11:21 PM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
http://m.techrepublic.com/blog/opens...amba-share/173 suggests
Code:
browsable = yes
public = yes
I never had to do this to make Samba shares accessible from Windows, so I don't know what Samba version they mean..

What Samba logs say about MacOS attempts?
 
  


Reply

Tags
mac, samba


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
debian joined AD fine, want a samba share with windows permissions k0r54 Linux - Software 3 12-28-2007 03:44 AM
Samba Share Mounts but Permission Denied pccdrussell Linux - Software 1 12-16-2007 06:21 AM
NFS share mounts with ro rather than rw for a new client dustymugs Linux - Server 1 10-08-2007 05:23 PM
Samba mounts share under wrong username Marinus Linux - Server 4 01-09-2007 08:25 AM
SMB4K mounts share then disappears vientorio Linux - Newbie 0 12-19-2006 05:26 AM


All times are GMT -5. The time now is 04:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration