Mac Thread, Mounting shares on login in Technical; As our network expands, teachers want more stuff 'there' for them - currently we have a shared folder mounted as ...
11th November 2009, 08:51 AM #1
Mounting shares on login
As our network expands, teachers want more stuff 'there' for them - currently we have a shared folder mounted as the group folder through OD but cant figure out how to add anymore? Is there any way to add more shares to the login items managed preference?
Or if it can be accompished via a script, thats fine as well.
Groups are managed by OD, but users are authenticated against AD
11th November 2009, 09:40 AM #2
Which server OS are you running?
Server 2008 will allow you to map shares as drive letters in Group Policy Preferences.
Or a script with multiple mappings defined?
Example of a VBS script we run here to map multuple drives to shares:
Last edited by DaveP; 11th November 2009 at 09:48 AM.
Reason: Correct spelling mistake.
11th November 2009, 10:44 AM #3
I would normally run a start up script in active directory and attach it to the OU that holds the users that I want it to apply to. In active directory I have an OU that contains all staff and it maps the shares that staff need, but the students get different ones.
My script for mapping drives looks like this.
net use s: /delete
net use s: \\servername\shared
The first line deletes the share and the second one maps it. You need this if different groups have the same drive letter but its mapped to a different place.
11th November 2009, 10:46 AM #4
Open directory it's posted in the mac section so I guess it applies to them.
Not windows server guys.
11th November 2009, 11:30 AM #5
what kinda extra shares are you looking to add?
In workgroup manager 10.6 can just add extra items to the items list. Do you means like a folder on a windows server?
If this is the case, what I did was mount the server directory you want to mount on the administrating machine, go to wgm, login, items, click plus on the list and browse for the mounted directory on your machine... then for good luck, highlight it and click on the authenticate selected share point with users username and password.
Is this what you meant?
Thanks to jamesmay from:
sidewinder (11th November 2009)
11th November 2009, 11:39 AM #6
Add the mounts to the OD group, and have it use the users credentials to connect.
Edit: I think you need to mount it first on the machine running WGM for it to appear as an option to add.
Thanks to DMcCoy from:
sidewinder (11th November 2009)
11th November 2009, 02:00 PM #7
Ah, I think thats my problem, I'm running WGM on the server with the shares on it, and obviously a server cant mount itself. I'll run off another machine.
Edit: yeah that was a case. what an idiot. cheers jamesmay/dmccoy
Last edited by sidewinder; 11th November 2009 at 02:07 PM.
11th November 2009, 02:19 PM #8
Actually, not quite done.
Shares from one server add fine, they are listed as volumes.
Shares from another, even though it is mounted the same way and via AFP, show as a URL.
This is now running WGM from my own mac rather than a server.
Why is this?
11th November 2009, 02:22 PM #9
could you post a screen grab?
11th November 2009, 02:25 PM #10
just tried this on our network and even though it says url, it still works fine!
11th November 2009, 02:35 PM #11
infact just checked back to see what happens when i mount smb and afp shares.... both come up as urls...... i connect to my servers using the go>connect to server command then sticking in smb:// or afp:// before the server address and this seems to work fine...
11th November 2009, 02:36 PM #12
I tend to use the connect to server option in finder and mount the shares that way. I then use WGM on that machine and then drag and drop them to the managed login item prefs.
I also add these items to the dock as well on the folders side so when they log in they get the stacks method of browsing through the shares. It works really well if you have a set of folders, one for each year. I have a pupil share which mounts automatically and then using the stack users can navigate straight to their folder using the dock. Works quite well and show a no entry sign on the ones they cannot access.
11th November 2009, 02:44 PM #13
They're both doing it now (I rebooted)
Maybe it is ok, its just that URL doesnt convince me it'll work as much as volume does.
Originally the same share from ks-macsrv came up as volume, now its doing this
11th November 2009, 02:48 PM #14
Mine are url too so I wouldn't worry about it.
11th November 2009, 02:50 PM #15
Fair enough, cheers. Strange it came up as a volume the first time.
Last Post: 29th July 2009, 02:07 PM
By craig88 in forum Hardware
Last Post: 14th May 2009, 10:21 PM
By crc-ict in forum Hardware
Last Post: 6th November 2007, 11:41 AM
Last Post: 25th October 2007, 11:34 AM
By ZeroHour in forum How do you do....it?
Last Post: 18th January 2006, 09:55 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)