Posted on 12-20-2011 07:31 AM
Hello everyone,
On all of our Lion machines we're unable to mount an AD users network home folder. The network homes will not mount with the AD plugin or manually through the Finder. We could always mount network homes through Finder in Snow Leopard. Personally, I think it's a permissions issue on the Windows server but I'm not exactly sure how things should be set up on the Windows side of things.
Have any of you had this problem?
Jamie Bell
Apple Technology Specialist
The Westminster Schools
Ph: 404-609-6345
Solved! Go to Solution.
Posted on 01-09-2012 11:02 AM
I made an AppleScript that mounts the drives using the mount_smbfs command, works great!
Posted on 12-20-2011 07:36 AM
I think that you should read this article:
http://support.apple.com/kb/HT4829
That usually seems to be the problem.
//P
20 dec 2011 kl. 16:31 skrev Jamie Bell:
Posted on 12-20-2011 08:04 AM
This sounds very promising. I'll get my Network Manager to help me look at the permissions on the server.
Thanks for the help, Patrik!
Jamie Bell
Apple Technology Specialist
The Westminster Schools
Ph: 404-609-6345
Posted on 01-05-2012 09:47 PM
yep thats the problem i have and the kb is correct. Apple changed things in 10.7
I have a Windows NFS share where users home directories are. The machines are bound to AD. The users home share mounts on the desktop. 10.6 is fine but not 10.7.
I cannot change share permission otherwise every one will be able to see and have access to everyone elses home share.
"You must have permission to read Sharepoint, Folder1, and all other directories in the path to Folder2."
For me im screwed at the moment because we use ADmitMac by Thursby Software Systems and even trying the command line as per the kb doesn't work.
Thursby said there is nothing they can do about it :(
Posted on 01-09-2012 11:02 AM
I made an AppleScript that mounts the drives using the mount_smbfs command, works great!
Posted on 01-09-2012 02:43 PM
AppleScript here too: http://macmule.com/2011/09/08/how-to-map-drives-printers-based-on-ad-group-membership-on-osx/
Posted on 01-12-2012 04:16 AM
Hey catfeetstop, I work at school too and all our students use Windows laptops in Active Directory environment. They also use their AD accounts to log on iMacs in the Music Lab. All the iMacs have been joined the AD. We have prepared a different SMB share for students who log on to MAC. And this share is different from other network folder they get in Windows. We want to use this new share only for MAC (it is a smb share reside in Windows platform).
My question is: would you be able to share your script and direct me what's the best practice to mount these Windows Share for AD users logging into MAC.
PS: I am not a great script guy that's why I am having trouble reading the link bentoms provided.
Thanks a lot.
Posted on 01-12-2012 06:08 AM
Hey wangl2, the link bentoms provided is what I originally used to build my script. Are you wanting to mount a user's network home folder upon login or just a specific SMB share? If you just want to mount a specific SMB share upon login it should be super simple. The following could be your AppleScript:
mount volume "smb://server/share"
Save the script as an application and save it to your applications folder. Then, create a LaunchAgent that launches that application at login.
The article bentoms linked to is really really helpful and it breaks down each part of the script very clearly. Keep trying to decipher that script, it'll help a lot!
- Jamie
Posted on 01-12-2012 06:38 AM
Thanks Jamie, it's my site so glad it helped. :))
Leo, what issues are you finding with the blogs steps??
Posted on 01-12-2012 08:20 PM
@Cat,
Thanks for that. So is this launch agent thing done on the local computer? If it is, I might need to prepare it on the reference computer and then package it for distribution.
@Bentom,
I am sure your site is very helpful. I just haven't read it through yet. It looks quite sophisticated for me. I will be studying that and ask you questions.
Btw, do you guys know how to see your post or response? When I log in JAMF nation, I gets no notification. So how do I track what I have posted and responsed to?
Thanks guys.
Posted on 01-12-2012 09:03 PM
@cat
I have done the script and copied to Application folder. Then I am lost about how do you go with this launch agent.
And also your script solution leads me two questions:
1. When the scipt mounts the share, can you place a icon on the desktop?
2. When AD users log in, I would like them to get a mounted share all the way to their own username. So intead of a /server/share_folder/, they will get a /server/share_folder/username. I guess this might need some varible in place. Any advice?
Thanks
Posted on 01-13-2012 07:57 AM
Here is an apple script I used to mount a specific share and then launch an application after said share was mounted. Feel free to use it
tell application "Finder"
mount volume "afp://user:password@fs101.kckps.k12.ks.us/FS101.VOL2"
delay 10
repeat 25 times
if (exists "FS101.VOL2") then
do shell script "open -a TestTaker"
exit repeat
end if
delay 2
end repeat
end tell
Posted on 01-14-2012 05:50 AM
Hi Tlarkin,
Thanks for sharing. Do you apply the script via JSS, trigged by user login and set the frequency as ongoing?
Thanks.
Posted on 03-22-2012 07:46 PM
Hi Catfeetstop
i need your help
we are trying to mount a user's network home folder upon login, is there any script for it.