Reputation: 17
I trying to make mount smb folder on startup.
I do like here - http://aj.tarachanowicz.com/?p=158
But I have error constantly - "Too many user".
May be somebody meet this error?
Thank you.
Upvotes: 0
Views: 8884
Reputation: 26179
My answer is an adaptation of the answer in https://discussions.apple.com/thread/3221944?start=15&tstart=0
The variation is, I moved the mount point from your home directory to a system area (e.g. /smb) and ensuring that the user can create that mount point, i.e. 4755 permissions.
Add this line to the end of /etc/auto_master
:
/- auto_smb
Create parent folder:
sudo mkdir /smb
sudo chmod 4755 /smb
Create /etc/auto_smb
with:
/smb/folder -fstype=smbfs,soft ://domain;user:password@server/folder
Run automount:
automount -vc
The troubleshooting points are:
@
would need to be replaced with %40
.Upvotes: 6