+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 24
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 ...
  1. #1

    Join Date
    Jul 2006
    Location
    London
    Posts
    2,962
    Thank Post
    159
    Thanked 152 Times in 116 Posts
    Rep Power
    49

    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

  2. #2

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,778
    Thank Post
    351
    Thanked 1,274 Times in 870 Posts
    Blog Entries
    4
    Rep Power
    1126
    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:

    Set objNetwork = CreateObject("WScript.Network")
    on error resume next
    objNetwork.MapNetworkDrive "r:" , "\\ServerName.ChildDomain.Local\Application Resources"
    objNetwork.MapNetworkDrive "s:" , "\\SimsServerName.ChildDomain.Local\simsroot$"
    objNetwork.MapNetworkDrive "t:" , "\\ServerName.ChildDomain.Local\Topics"
    objNetwork.MapNetworkDrive "t:" , "\\ServerName.ChildDomain.Local\%username%\Cached"
    objNetwork.MapNetworkDrive "x:" , \\ServerName.ParentDomain.Local\data
    Last edited by DaveP; 11th November 2009 at 09:48 AM. Reason: Correct spelling mistake.

  3. #3
    ricki's Avatar
    Join Date
    Jul 2005
    Location
    uk
    Posts
    1,475
    Thank Post
    20
    Thanked 164 Times in 157 Posts
    Rep Power
    52
    Whats od?

    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.

    Richard

  4. #4

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,331
    Thank Post
    622
    Thanked 1,578 Times in 1,415 Posts
    Rep Power
    413
    Open directory it's posted in the mac section so I guess it applies to them.

    Not windows server guys.

    Ben

  5. #5

    Join Date
    Aug 2008
    Location
    Medway, Kent
    Posts
    196
    Thank Post
    4
    Thanked 26 Times in 23 Posts
    Rep Power
    17
    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?

    James

  6. Thanks to jamesmay from:

    sidewinder (11th November 2009)

  7. #6
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,424
    Thank Post
    10
    Thanked 488 Times in 428 Posts
    Rep Power
    111
    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.

  8. Thanks to DMcCoy from:

    sidewinder (11th November 2009)

  9. #7

    Join Date
    Jul 2006
    Location
    London
    Posts
    2,962
    Thank Post
    159
    Thanked 152 Times in 116 Posts
    Rep Power
    49
    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.

  10. #8

    Join Date
    Jul 2006
    Location
    London
    Posts
    2,962
    Thank Post
    159
    Thanked 152 Times in 116 Posts
    Rep Power
    49
    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?

  11. #9

    Join Date
    Aug 2008
    Location
    Medway, Kent
    Posts
    196
    Thank Post
    4
    Thanked 26 Times in 23 Posts
    Rep Power
    17
    could you post a screen grab?

  12. #10

    Join Date
    Aug 2008
    Location
    Medway, Kent
    Posts
    196
    Thank Post
    4
    Thanked 26 Times in 23 Posts
    Rep Power
    17
    just tried this on our network and even though it says url, it still works fine!

  13. #11

    Join Date
    Aug 2008
    Location
    Medway, Kent
    Posts
    196
    Thank Post
    4
    Thanked 26 Times in 23 Posts
    Rep Power
    17
    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...

  14. #12

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    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.

  15. #13

    Join Date
    Jul 2006
    Location
    London
    Posts
    2,962
    Thank Post
    159
    Thanked 152 Times in 116 Posts
    Rep Power
    49
    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
    Attached Images Attached Images

  16. #14
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,424
    Thank Post
    10
    Thanked 488 Times in 428 Posts
    Rep Power
    111
    Mine are url too so I wouldn't worry about it.

  17. #15

    Join Date
    Jul 2006
    Location
    London
    Posts
    2,962
    Thank Post
    159
    Thanked 152 Times in 116 Posts
    Rep Power
    49
    Fair enough, cheers. Strange it came up as a volume the first time.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. OS X Side bar not mounting shares.
    By HodgeHi in forum Mac
    Replies: 0
    Last Post: 29th July 2009, 02:07 PM
  2. Mounting Computers ?
    By craig88 in forum Hardware
    Replies: 12
    Last Post: 14th May 2009, 10:21 PM
  3. Help!! Projector Mounting Problem
    By crc-ict in forum Hardware
    Replies: 9
    Last Post: 6th November 2007, 11:41 AM
  4. Replies: 4
    Last Post: 25th October 2007, 11:34 AM
  5. Mounting Printers
    By ZeroHour in forum How do you do....it?
    Replies: 11
    Last Post: 18th January 2006, 09:55 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •