Samba protocol in Mac OS 10.12 uses ACLs in a similar way as Windows OS Samba. To get Samba ACL works in Mac OS and Window OS, suppose Samba server runs in Redhat OS 7, then in smb.conf, the following lines should be added to the global or the corresponding share section. Install MacPorts using the instructions on macports.org. Bind 9 with Dynamic Updates. Edit the Portfile in MacPorts to build Bind 9.9.0 for Samba 4 dynamic updates. After installing the OS X Snow Leopard 10.6.3 update, I found that I could no longer write to Samba (SMB) volumes shared from my Linux server (running Ubuntu 9.10 Karmic Koala) that I had mounted on OS X.
Please note that while this article specifically defines the steps necessary to connecting to an ECN drive, it can be used to connect to other SMB and CIFS servers from a Mac as well. Follow the same steps, remembering though to swap out the domain of 'ECN' in the authentication prompt seen below for the domain related to your other server.
Or if you wish to connect to ITaP home directory servers, information from ITaP's KnowledgeBase pages may be helpful. Check out the link below for more details:
NOTE: If connecting from off campus to an ECN shared drive, you will need a VPN connection.
Navigate to the link below to obtain/update the required software, if it isn't already installed on your system:
This FAQ will demonstrate how to use OS X to connect to SMB and CIFS shared volumes on the ECN network. These instructions can be applied to OS X 10.13.x (as well as other OS X versions reaching back to OS X 10.3.x). Once mapped, the volume should appear on your Desktop. If not, check out the following set of instructions on how to (re)add it there:
NOTE: The following screenshots were taken with Mac OS X 10.11.x (El Capitan), although the instructions and images are applicable to older versions (again reaching back to OS X 10.3.x).
Samba Server For Mac Os X El Capitan
In the Finder, navigate to your Go menu and select Connect to Server...
Samba Server On Windows
In the new dialog box, enter the path to the intended server. Typically, the
cifs
protocol is related to Windows shares where as smb
is associated with UNIX. That being said, the smb protocol will work with both OS types. In this example, I will use the server
pier
and the share name joesmith
. The server address in this case would then besmb://pier.ecn.purdue.edu/joesmith
All other shares will follow the same format as seen below. If you have questions about whether to use cifs or smb, contact ECN.
smb://servername.ecn.purdue.edu/
sharename
cifs://servername.ecn.purdue.edu/
sharename
NOTE:IP addresses are also suitable in place of DNS names. Please remember to always use fully qualified domain names as well (//pier.ecn.purdue.edu/sharename as opposed to //pier/sharename).
![Samba Samba](/uploads/1/2/6/5/126585075/484125747.png)
Click the Connect button. OS X will contact the server and then display a system authentication dialog. Your input will vary depending on whether your local machine account name matches your ECN Career Account alias exactly. If it does, you can simply type the following information to sign in.
- Name: username
- Password: (your ECN password)
If not, you will need to alter the Name field to look like the following:
- Name: ECNusername
- Password: (your ECN password)
You may also wish to check 'Remember this password in my keychain,' if you plan to connect frequently or automatically when you log into your machine. Otherwise, you will be asked to enter your password every time.
Click Connect, and the shared drive will mount on your computer. You can find it either on the Desktop with an icon of a three people encased in a clear cube or in your Finder as noted earlier.
If the drive does not automatically appear on the Desktop, check out the following link for instructions on how to display it there:
Additionally, it is possible to have the drive automatically mount every time you log in. To do so, first find the drive icon on the Desktop or via Finder. Next, open up System Preferences... from the Apple menu.
Select the Users & Groups icon. Then, click on your user name, and jump to the Login Items tab.
Drag the icon of your shared drive into the list of items, and it will be added and connect automatically when you log in.
One last note! Once you've mapped the drive you need, you should consider creating a shortcut under your 'Favorites' section of Finder (drag and drop the selected folder under 'Favorites.'
![Samba Server For Mac Os X Samba Server For Mac Os X](/uploads/1/2/6/5/126585075/699502411.png)
Not only will this make your directories easier to access, but it will also help to avoid navigation issues related to permissions within subfolders of your share drives when using File-->Open functionality in various applications.
Please note though that every time you disconnect from a share or lose a network connection to it, you will need to re-add the desired folder(s) to your 'Favorites.'
Samba For Mac
Last modified: 2017/10/03 18:49:34.025539 GMT-4 by jerry.j.rubright.1
Created: 2007/11/06 13:52:33.284000 US/Eastern by brian.r.brinegar.1.
Created: 2007/11/06 13:52:33.284000 US/Eastern by brian.r.brinegar.1.
Categories
- Knowledge Base > OS > Mac > OS X
- Knowledge Base > OS > Mac
Search
Type in a few keywords describing what information you are looking for in the text box below.
Admin Options: Edit this Document
10.6: Fix Samba write access from OS X to Linux servers | 9 comments | Create New Account
Click here to return to the '10.6: Fix Samba write access from OS X to Linux servers' hint |
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Fix Samba write access from OS X to Linux servers
What I find most interesting is that the errors only occur when using finder. If I was working with files from a shell prompt, no problems at all.
10.6: Fix Samba write access from OS X to Linux servers
I found several 'smb.conf' files in my Ubuntu 9.10, but I can't figure it out which one to modify. Could you just give me the path to the file?
Thank you.
Thank you.
10.6: Fix Samba write access from OS X to Linux servers
Samba Server Mac Os X
I replied to skeeks by email before I saw this comment, so for anyone else with the same question the Ubuntu Samba config file is found at
/etc/samba/smb.conf
. In other Linux distros it is typically found either there or at /etc/smb.conf
. 10.6: Fix Samba write access from OS X to Linux servers
unix extensions have never been working with osx, especially when acls are used.
http://bugs.contribs.org/show_bug.cgi?id=4164
http://serverfault.com/questions/43977/mac-os-x-clients-cannot-see-extended-acls-through-samba-or-netatalk-on-a-debian-s
http://bugs.contribs.org/show_bug.cgi?id=4164
http://serverfault.com/questions/43977/mac-os-x-clients-cannot-see-extended-acls-through-samba-or-netatalk-on-a-debian-s
10.6: Fix Samba write access from OS X to Linux servers
Several people have written to me to point out that there are advantages to having Unix extensions on. That's true and this should be considered a workaround rather than a fix. When (if?) Apple fixes the underlying problem you should turn Unix extensions back on in your Samba server.
10.6: Fix Samba write access from OS X to Linux servers
WOW! I was going through a lot of this when I recently set up a FreeNas box and was getting extremely frustrated with it. My solution was to manually upload everything via FTP to the server, but that did take a while.
Next time I have files to copy over, I will see if this works. Thanks for the awesome and timely tip!
Next time I have files to copy over, I will see if this works. Thanks for the awesome and timely tip!
10.6: Fix Samba write access from OS X to Linux servers
I hit this problem the other day after upgrading to 10.6.3.
I did a little bit of digging and discovered that it's apparently due to extended attributes on the files.
I was trying to copy some dmg images to my file server (Ubuntu 9.10, Samba 3.4.0) and it wouldn't work. If I tried to copy them via 'cp', I'd get an error about extended attributes.
I used 'xattr' on the affected files at the command line to remove all the extended attributes, and after that I was able to copy the files to my file server without a problem.
I thought maybe this hint would also fix the issue, but I didn't have a chance to test that before this hint about unix extensions came along (which works great, btw).
10.6: Fix Samba write access from OS X to Linux servers
Hmm, so you need to adapt the external machine in order to correct a bug in OSX..? not very encouraging.
I am still stucked with the 'numerical passwords only' bug in SL. When connecting to my NAS (on a Linux box) I only get access if a I choose a password with numbers. Any character there will give me a 'non correct password' error in OSX 10.6.3 :-(
I am still stucked with the 'numerical passwords only' bug in SL. When connecting to my NAS (on a Linux box) I only get access if a I choose a password with numbers. Any character there will give me a 'non correct password' error in OSX 10.6.3 :-(
Mac Os X Server Download
10.6: Fix Samba write access from OS X to Linux servers
Samba Client Mac
Hi,
Still i'm having the same issue after adding unix extensions = no. Still i can't rename the sub directories of my shared folder.
I'm using Snow leopard 10.6.3 client and Ubuntu 9.10 Samba server.
Looking forward your support.
Thanks,
Gulab Pasha
Still i'm having the same issue after adding unix extensions = no. Still i can't rename the sub directories of my shared folder.
I'm using Snow leopard 10.6.3 client and Ubuntu 9.10 Samba server.
Looking forward your support.
Thanks,
Gulab Pasha