trying to mount an smb share on OS X so that the 'www' user can read files from there.
the SMB share is accessible via an Active Directory account. I can mount the share through the Finder (cmd-k ...)
my basic approach is
# 1) create mountpoint
sudo mkdir /Volumes/www_mdisk
# 2) permissions for mountpoint
sudo chown www:www /Volumes/www_mdisk; sudo chmod 777 /Volumes/www_mdisk
# 3) make a link from apache docroot to mountpoint (http.conf FollowSymlinks is on)
cd /Library/WebServer/Documents; ln -s /Volumes/www_mdisk mdisk
# 4) mount the SMB share using the Active Directory user 'ad_user'
sudo mount_smbfs -O www/www '//DOMAIN;ad_user@smbshare_host/sharepath'
step 4 fails though. I have read the manpages, tried many different combinations (with or without -O switch), but can't get it to work
can you help me get it right? thanks!