Mac OSX auto mount user's network drive

Post November 26th, 2007, 11:13 pm

hm..i dont recall whether or not the afp protocol needs to be enabled on the server, but either using smb or afp you as long as the user is logged on with an AD user account he/she shouldn't need to reauthenticate.. i.e. after logging on, if you go to connect to server and type: smb://your-server-address/folder OR afp://your-server-has-afp-enabled/folder it should bring up that folder without requiring authentication
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 26th, 2007, 11:13 pm

  • gutter
  • Newbie
  • Newbie
  • No Avatar
  • Joined: 23 Jul 2007
  • Posts: 5
  • Status: Offline

Post December 4th, 2007, 2:38 pm

Here's the general way to solve the problem. Open up the terminal and use mount to mount a specified users home folder. Once you've figured out how to do that from the command line try making a script to do it automatically, substituting $1 for the user name. Finaly, once you have that working, drop your script into your login hook and enjoy.

There is one very important thing that you have to remember however, the mount command will not automatically grab the users password from anywhere. If you're trying to circumvent the normal network user login process (I'm a longtime proponent of OSX and I'll be the first to start bitching about how broken it is) you will have to get the user to type in their password somewhere and use that to mount their server share.

Good luck.

Post December 4th, 2007, 7:41 pm

In my case, where the Mac was joined to AD and a network share was being mounted after login, AD credentials were not required to be provided after the user had logged in with their AD account.
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • anilth
  • Newbie
  • Newbie
  • No Avatar
  • Joined: 15 Nov 2007
  • Posts: 6
  • Status: Offline

Post February 20th, 2008, 9:02 am

Hello Anarch,

Sorry for late reply but my mounting things are sorted according to your suggestion. Now here i am with another issue. I want to add the printer with script authentication against AD.

I am just thinking to create some script to do this. Ask user to download whenever they like and run it - supply the password and use the printer. is there any method to do this - or apple script would be fine too.

Thanks

Post February 20th, 2008, 10:19 am

that one i'm at a loss on.. someone more knowledgeable in the osx/applescript area will need to take the lead (O_o)
Image
"In a world without walls and fences, who needs Windows and Gates?"

Post Information

  • Total Posts in this topic: 20 posts
  • Moderator: UNFLUX
  • Users browsing this forum: No registered users and 7 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2008. Driven by phpBB © 2001-2008 phpBB Group.

 
 
 
 

Need a pre-made web design for your website?

Check out our templates here: Ozzu Templates


400+ FREE Website Templates. Download Now!