Add samba folder to favorite into finder sidebar I have client stations (OS X Yosemite) bound into Active Directory services. When the user was authorized I prepared his profile from /System/Library/User\ Template/English.lproj/* and settings for machine is synced from Open Directory (practices named magic triangle.)

The record in AD contains samba shared folder for every user. When I enable Show Connected Server in Finder preferences on Desktop, they have icons for this disk on desktop.

How do I add this link into favorites in Finder sidebar?

In section Servers there is a general link to Share Disk and I need link to a specific folder for every logged-in user as a link on their Desktops.

Are there best practices I should be following? 

Without practise when every user drag and drop the link from desktop to favorite? My users every day change the working place and this practise is wrong.

thanks for all answers.
I found out, that the following process adds a folder mounted on a samba share to the sidebar/favorites in my finder. They 'survive' a restart of my mac. I guess they also work as intended if you reboot the NAS/server/whatever. To achieve that, do execute the following steps:


Mount the shared folder (it should be listed in the sidebar under 'Shared' within the finder).
Within the finder, go to View -> Show Path Bar
Navigate to the folder within your SMB share so that you are in the folder that you wish to add to the sidebar.
Grab the icon at the bottom above your status bar left of the name of the folder you are in and drag it to your sidebar.
With a click on this sidebar folder you should land/stay in your desired folder on your samba share.
(optional step) Go to View -> 'Hide Path Bar' if you don't like this additional information.