Reference: http://www.mac-forums.com/forums/os-x-operating-system/85454-login-script-mount-smb-drive-desktop.html#post532690
The new Lion 10.7.1 seems to have an issue with reconnection with saved credentials to a Samba share. It wants to try as the logged in user's name and not the saved credential username. Here is one workaround. Create a text file in the users /Users/username directory and call it 'smbmount.command'. Put the following in it (modifying the appropriate variables).
Showing posts with label Samba. Show all posts
Showing posts with label Samba. Show all posts
Wednesday, September 14, 2011
Thursday, August 11, 2011
Using Symlinks in Samba
Recently I had to move some data to external eSATA drive array and then make just some of the directories on the external array available to Samba. The directories had to appear within a certain folder structure. Using symlinks on the Linux side and enabling them in the smb.conf is normally a pretty straightforward thing to do by having the following in smb.conf:
But after having Samba reload the config and trying to access the symlinked directory, I kept getting an error stating the directory wasn't accessible and the access is denied. After doing a little digging, it seems that Samba changed the default for one of its [Global] options and that default breaks symlink access for Windows clients. Adding the following to the [Global] section allowed the symlinks to function properly again:
follow symlinks = yesBut after having Samba reload the config and trying to access the symlinked directory, I kept getting an error stating the directory wasn't accessible and the access is denied. After doing a little digging, it seems that Samba changed the default for one of its [Global] options and that default breaks symlink access for Windows clients. Adding the following to the [Global] section allowed the symlinks to function properly again:
unix extensions = no
Subscribe to:
Posts (Atom)
















