Home Forums OS X Server and Client Discussion Active Directory Panther and automounting smb shares at AD login

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #359332
    playdrums
    Participant

    Hey folks:

    I have a client who is doing very well logging into an AD domain. Their AD designated home is mounting properly on the Desktop. Single sign-on is obviously working well – when connecting to other shares on the domain AD users are not prompted for a user credentials.

    My biggest problem is that I want the mounting of the additional shares to be automated using the user’s own credentials at login as well.

    I’ve tried various loginhook solutions that partly work. The most recent one uses mount_smbfs and this works very well. Except that when the logged in user tries to copy a document to the shares the Finder reports that there is not enough free space on the share. All shares behave normally when using the Finder’s “Connect to Server” mechanism so I don’t understand the discrepancy.

    The other loginhook solution I have tried attempts to leverage the fact that “Connect to Server” does work fine. I have the loginhook using osascript to attempt to get the shares to mount with the user’s AD credentials. For some reason when using this solution shares don’t mount at all. However, the same script works fine if the user is already logged in. This makes me think that either the Finder or applescripting are not really available at the time loginhooks are called.

    Does anyone have working solutions for automounting shares other than the smb home at login?

    #359442
    AllanMarcus
    Participant

    Have you tried just creating an alias to the mounts and dragging the aliases to the login items window in system prefs?

    #359642
    playdrums
    Participant

    [QUOTE BY= AllanMarcus] Have you tried just creating an alias to the mounts and dragging the aliases to the login items window in system prefs?[/QUOTE]

    When you’re dealing with a couple hundred users that isn’t really an option. I can’t set up each of their login items. Well, I might be able to by scripting but I’d much rather have shell scripts running that just mount their shares.

    #366023
    tcomputerchip
    Participant

    I was wondering if you had solved this issue of many users that are logging in.

    We need a script that mounts on login. Possibly through the loginhook?

    Thanks for any information

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Comments are closed