-   Linux - Software (
-   -   samba share mounts fine in linux, but not in os x (

TaterSalad 08-30-2011 03:46 PM

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:


    workgroup = MSHOME
    security = user

    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?

raskin 08-30-2011 05:01 PM

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.

TaterSalad 08-30-2011 08:32 PM

Thanks for your suggestion, but it did not work. I can't logon as guest or user austin. Both state auth fails.

raskin 08-31-2011 12:21 AM suggests

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?

All times are GMT -5. The time now is 07:01 AM.