Connecting to server at login (newbie)

I am trying to setup accounts for teachers at our school that would allow them to login in to a local account, but automatically allow them to connect to the server to get at their documents. The reason for this is to bypass the necessity of the teachers to wait for the slowness of the login process, and to not have them need to manually enter in the connect to server, or apple+k command (trust me, it is easier without that!). Ideally, I would like to have that available on these options occur on the Guest account.
Thanks for any help!!

mrsmittys wrote:
I'll give it a try tomorrow at school. The next question is where do I add this script to have work at login? It looks like I should be able to copy it to an appropriate place in the Guest directory?
don't even bother with adding anything to the guest directory. It will be promptly deleted on logout.
From your admin account make a Users Agent using [Lingon|http://lingon.sourceforge.net>. When creating it check the box to run it when somebody logs in. Make it run an application (you'll have to make one) that mounts the server. You can use the automator to make that app as others suggested but I would use Apple Script.
The Script should look something like this:
set UN to do shell script "whoami"
if UN is "Guest" then
--this is to make sure the script only does something if Guest is logged in
mount volume "afp:10.1.1.21/path/to/share/"
end if
You'll have to modify the afp part -I'm still confused about how you want it to work.
Thanks, that looks like the script that I need, and you are completely correct about not needing the username:password syntax. (assuming it works)
Thanks for the suggestion about adding a launchd. You guys ROCK!!
Message was edited by: mrsmittys

Similar Messages

  • Email security Q: Connection to server succeeded; login not required

    Hi everyone
    I ran the Mail Connection Doctor on my mac at home this morning as I was having trouble sending an email.  One of my email accounts (SMTP) has come back with:
    "Connection to server succeeded; login not required. "
    I am just wondering what that means security wise? As it is my work email I am a bit worried that perhaps the IT people didn't set it up right? They've been having a lot of trouble with someone spoofing the boss's email too. 
    Does that mean that anyone who knows this email servers details can just use it?  
    All my other email accounts come back with "Connection and login to server succeeded". 

    Dear Samir,
    In order to try to resolve the issue, please do the following steps :-
    1. Go to Add/Remove Program --> Uninstall SAP Business One Client.
    2. Go to C:\Program Files\SAP, then take a backup of the SAP Business One Folder and
        then delete the SAP Business One folder.
    3. Go to Start --> Run --> %UserProfile%\AppData\Local\SAP\
        Then delete the SAP Business One Folder.
    4. Now reinstall the SAP Business One Client application from the B1_SHR.
    Now you can login and enter all the details information and then log out from SAP Business One
    application. You can open the application again and check this issue.
    Note : Please make sure that the Windows user has read and write access to the above two folders
              as per step (2) and (3).
    Regards,
    Rakesh Pati
    SAP Business One Forum Team.

  • Automatically Connects to Server on login

    When we log in to the Student account of some of our school MacBooks they automatically go to the 'Authenticate to Kerberos' box you would normally see after having clicked 'Connect' in 'Connect to Server'. They are trying to log in as particular students. Does anyone know how we can stop this?

    1. If the problem occurs with a particular user each time you log in no matter which Mac-book, he most likely has a link to the server in his start-up items.
    2. If it happens on a Group of units that are on the same "Computer List" or the Users are all members of the same login group, You most likely have an auto mount setting in WGM.
    3. The only other place to look that I can think of is a Login hook that may have been setup, but that seems out of the realm of what you describing.

  • Connecting to server at login -- different subnet

    Here's my situation. I have a ethernet LAN with IP addresses 192.168.0.xxx. I have added a wireless router/bridge withg IP addresses 192.168.2.xx.
    I have a Mac Mini at 192.168.0.103 and an iMac at 192.168.2.2.
    I can connect to the MacMini from the iMac using the "connect to server" option.
    If I drag the Volume into the Login section of Account options it does not automatically connect. Instead, I have to do this manually.
    Any ideas how I can mount this volume automatically at login?
    Many Thanks
    Ian

    mrsmittys wrote:
    I'll give it a try tomorrow at school. The next question is where do I add this script to have work at login? It looks like I should be able to copy it to an appropriate place in the Guest directory?
    don't even bother with adding anything to the guest directory. It will be promptly deleted on logout.
    From your admin account make a Users Agent using [Lingon|http://lingon.sourceforge.net>. When creating it check the box to run it when somebody logs in. Make it run an application (you'll have to make one) that mounts the server. You can use the automator to make that app as others suggested but I would use Apple Script.
    The Script should look something like this:
    set UN to do shell script "whoami"
    if UN is "Guest" then
    --this is to make sure the script only does something if Guest is logged in
    mount volume "afp:10.1.1.21/path/to/share/"
    end if
    You'll have to modify the afp part -I'm still confused about how you want it to work.
    Thanks, that looks like the script that I need, and you are completely correct about not needing the username:password syntax. (assuming it works)
    Thanks for the suggestion about adding a launchd. You guys ROCK!!
    Message was edited by: mrsmittys

  • Cannot connect to SERVER. Login failed for user 'DOMAIN\user'. (Microsoft SQL Server, Error 18456) - SQL Server 2012 on Windows Server 2008 R2

    I've seen multiple blogs and forums with similar problems and SQL 2012 or 2008. But no solutions that work for me.
    I have installed SQL Server in mixed mode (SQL and Windows authentication). I can create new Login accounts in either mode. However, I cannot get an AD security group Login account to work. I am trying to add group 'DOMAIN\Domain Admins' or 'SERVER\Administrators'
    as a Login so that any of the domain's administrator accounts can open SQL Server Management Studio and act as an 'sa' account on this server.
    I have deleted the SQL account 'DOMAIN\Domain Admins'.
    I have restarted SQL.
    I have restarted the Win2K8r2 server.
    I have launched SSMS as Administrator from the desktop of SERVER.
    I have launched SSMS as another user (and used 'DOMAIN\user' to lauch it) from the desktop of SERVER.
    I can create a login account named 'DOMAIN\user' (who happens to be a member of the 'DOMAIN\Domain Admins' group) and give this account 'sa' security, and when I do that, this account works as expected...
    How do I add a security group as a Login account and give all members of that group the ability to be an 'sa' account?

    Hi geoperkins,
    Are you getting the following error message?
    Error: 18456, Severity: 14, State: 11
    Login failed for user <Domain\user>. Reason: Token-based server access validation failed with an infrastructure error.
    If that is the case, the issue could be due to that the Windows login has no profile or that permissions could not be checked due to UAC. Please disable UAC firstly and check if it is successful to log in SQL Server.
    Another reason could be that the domain controller could not be reached. You may need to resort to re-creating the login. Create a new group in AD, add users to the new group, then add the group to the local admin group and create login for the group in SQL
    Server.
    There is a connect item describing similar issue for your reference.
    https://connect.microsoft.com/SQLServer/feedback/details/680705/cant-login-to-sql-using-windows-authentication-when-user-is-in-a-domain-security-group
    For more details about above error, please review the following blog.
    http://sqlblogcasts.com/blogs/simons/archive/2011/02/01/solution-login-failed-for-user-x-reason-token-based-server-access-validation-failed-and-error-18456.aspx
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Can't paste password in "connect to server" login box

    I need to connect to a webDAV site that assigns temporary login passwords to my established ID. (The temp password lasts 8 hours and is 30+ characters long.)
    In Leopard 10.5.6, I can't copy the assigned password from the resulting web page and paste it into the "connect to server" login password box. I can, however, paste the password into a text file. (Can't paste that into the box either.)
    Pasting the password works with a Tiger installation on another machine and with a crappy XP laptop. I've tried to use it on my Leopard installation in a brand new account with no luck either.
    Huh?

    Catherine,
    You can provide feedback to Apple on that issue if you wish. http://www.apple.com/feedback/
    Chris

  • Connecting to Server with alias, how to get login to popup?

    I have one computer, not really a server. One computer i have an alias that goes to a folder on that other computer. If im not connected, ill open the alias and ill get the login prompt without having to do the whole "Connect to server" thing. on another computer, i have the exact same aliasgoing to the same place. When its clicked on that computer, i get an error about the alias not being correct or file no present or something. I want it to work the same way where i get the login prompt.
    What is preventing that from popping up automatically when trying to connect with the alias?

    I was just going through all the computers that need an alias folder on their desktop to connect to this one computer. All the computers automatically prompt for the login right away when not connected to the main computer except for one. Ive deleted and recreated the alias several times and no change. here is the exact error im getting...
    "The volume for "name of alias" cannot be found"
    "Insert the disk or connect to the server volume and wait for it to appear on the desktop, then try again"
    With the other computers, it puts the volume on the desktop right then when opening the alias, again except for this one computer. What am i overlooking?

  • SAP client requires re-connecting to SQL Server every login

    Hi Experts
    I have one PC where the user always has to enter the SQL server details every time they login.
    Is there a reason this would happen?  The client PC in question is running Vista.
    Thanks
    Greig

    Hi Greig,
    You mat check this thread first:
    terminal server connection reset after each login to local server
    Thanks,
    Gordon

  • Untrusted apps are not allowed to connect to or launch Window Server before login.

    I'm getting this with the Citrix Receiver uninstaller from the command line... but not on all Mountain Lion 10.8.5 systems.  Googling turns up a lot of ideas about a problem with the app or in pre/post-flight scripts, but since it works on some, I wonder.  What is the mechanism that generates this error?  I'm guessing there's some setting or condition that exists on one system that isn't true on the other.  How do I find out?
    Sep 25 10:55:21 palms sudo[74325]:  joliver : TTY=ttys000 ; PWD=/Users/joliver ; USER=root ; COMMAND=/Volumes/Citrix Receiver/Uninstall Citrix Receiver.app/Contents/MacOS/Uninstall Citrix Receiver --nogui
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: 3891612: (connect_and_check) Untrusted apps are not allowed to connect to or launch Window Server before login.
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: kCGErrorFailure: This user is not allowed access to the window system right now.
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: kCGErrorInvalidConnection: CGSGetEventPort: Invalid connection
    Sep 25 10:55:21 --- last message repeated 3 times ---
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: CGSRegisterConnectionNotifyProc called with invalid connection
    Sep 25 10:55:21 --- last message repeated 2 times ---
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: kCGErrorInvalidConnection: CGSGetDockRect: Invalid connection
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: CGSGetCurrentDisplayMode: Invalid display 0x00000000
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: CGSGetDisplayBounds: Invalid display 0x00000000
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: CGSGetDisplayBounds: Invalid display 0x00000000
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: CGSGetDisplayBounds: Invalid display 0x00000000
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: CGSGetDisplayBounds: Invalid display 0x00000000
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: kCGErrorInvalidConnection: CGSGetEventPort: Invalid connection
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: kCGErrorInvalidConnection: CGSSetConnectionProperty: Invalid connection
    Sep 25 10:55:21 palms Uninstall Citrix Receiver[74326]: kCGErrorInvalidConnection: Error enabling suspendResume handling

    Contact Wacom. Unless they have updated drivers there is no workaround.
    Update or remove Quicksilver.
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger and Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now restart normally.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.

  • Lion - spurious connect to server request on login

    When I log in to my mac Lion account, it seems that it is attempting to connect to a server that isn't there as it gives me an error message 'Cannot connect to server (servername)'
    I have check my login profile and there's no connect to server quest there, nor is it in 'Sharing', nor is it (as far as I can tell) hurried in Finder.
    Where can this connect request be coming from? (the named server used to be on my network but has since been removed).
    It may be in a startup script somewhere, but where? And how c an I see my startup and login scripts?
    Any ideas please?
    Thanks

    Pierre
    Taking your suggestions from the bottom:
    There are no spurious apps in the dock - all of the apps are valid;
    A few apps open automatically - none should do any server connections - but I will check that out thanks;
    I don't known what you mean by the 'old alias' - you may have something but there have been no machine users deleted since the machine was set up.
    Is there any way to view the startup and login logs? If I could get hold of them I would be able to debug it and sort this out!
    Thanks again

  • Connect to Server Login Name Problem

    I have been troubleshooting some problems on two computers my father-in-law has.
    One is an 2GHz Intel Core Duo iMac running Mac OS 10.4.11. We'll call this iMac 2G.
    The second is an 800 MHz PowerPC G4 iMac running Mac OS 10.4.11. We'll call this iMac 800M.
    I am attempting to file share the two computers. I can connect iMac 800M to the iMac 2G via "Connect to Server" fine. When I try to do the reverse, iMac 2G to the iMac 800M, the "Connect to Server" login window want to use the "Short Name" listed in the "Account" panel for the login name instead the full name.
    Is there a way to fix this so that it will work with the full name will work in the login window?
    Thanks.
    BTW - I do not know if this matters but I used the "ChangeShortName" (version 1.3) utility to fix the short name problem in the iMac 2G. Everything work fine after running the program.

    Never mind, there were two login information stored in the keychain. Deleting the old one seem to correct the problem.

  • Connect to Server Login Item

    On my dual 2GHz Powermac, I set mine up by connecting to the server via AFP. Once connected, I drag the server from the desktop to the Login Items window. Has worked perfectly for me for about six months.
    Now I'm setting up a new dual core 2GHz Powermac for a co-worker... Used the same procedure but get an error dialog saying "Connection failed...The server may not exist or it is not operational at this time. Check the server name or IP address and try again." It's almost like the it's trying to connect before all the protocols are turned on. This only happens when I first start up the computer. If I start up, then log out and log back in to the account, it connects automatically just fine.
    Can anyone enlighten me on my problem?
    Powermac Dual Core G5 2.0   Mac OS X (10.4.3)  

    Thanks Kevin.
    Appletalk is active and I did connect to the server using the method you described. The problem persisted. For a quick fix, I just turned off automatic login and gave her a blank user password. So when the login screen comes up, all she has to do is click once on her name. This seems to offset the timing just enough to allow the Connect to Server login item to work correctly.
    This new computer must just be too fast for its own good!

  • Hi,I lost my iphone 5,n trying to log in to icloud so that I can locate it but every time I try login in I get a message that an error occured while trying to connect to server.Pls advice what to do to locate it.Thank you.

    Hi I lost my iphone 5,and each time I try to log in to icloud to locate it I get a message that error while connecting to server.Pls advice on what to do to locate ot.Thank you.

    what browser? have you tried another browser could be your browser settings which cause it you can also try another computer

  • Trying to login and getting message of connecting to server problems?

    Having issues with Icloud logging in for the first time.  Keeps telling me having issues connecting with server?  Router is working fine and so is the net...

    Please,  run the DirectX diagnostics tool.
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

  • Connect to Server using TOAD

    I am a newb to the DBA side of Oracle and have never setup an instance of it or installed it for that matter. I have TOAD and I would like to connect to the server using it. I have installed TOAD 7.6 on my workstation and that is all. I have not installed anthing else. The oracle database is on a server on our network.
    Do I need to install some client tools on my workstation to connect to the database server? When I try using ToAD to connect using the correct login, I get an iniitialization error - Could not locate OCI.DLL. I looked on the TOAD website and it mentioned briefly about an 'Oracle Client'.?
    Please assist me in getting connected to the server just by what I need locally on my workstation. Is it the same as SQL Server and just installing the Client Tools? If so, where can I find these tools for version 9.2.x.x (I think).
    Thanks,
    Greg

    Hi,
    I would stick to old full client install not instant as this will include all the extra you may need for visual studio i.e. odbc and ole....
    I've never used instant client and am not sure if its supported against visual studio, toad... , plus it is very cut down in what it offers

Maybe you are looking for

  • Is there a way to open the istore in the appstore instead of in music?

    In iTunes, when I click on the iTunes Store in the left panel, it takes me to the music store and I have to wait around while it loads, then click on AppStore at the top to go to the apps page. I rarely want to see the music page, so I'd like to just

  • Preview Printing Crash - 1 case solved

    Mac OS 10.7.4 + Xerox 8750DN + Preview = crash. Printing is just fine from Acrobat, TextEdit, BBEdit, Mail, etc., etc. Played the file permissions games mentioned by others to no avail. The crash report is posted at the end of this post, just in case

  • Building reports into word document from web application

    Is there any package that allows easy report generation into microsoft word from any part of ur application. thank yuo

  • Service object creation

    I was asked to create rules with the following TCP ports: 41000, 41002, 41025. Since these ports did not exists, I just created new TCP service objects. The issue is I put the those ports as source port/range and destination port/range in the Add Ser

  • Middleware settings to map CRM Z table fields with ECC material master flds

    Hi, We want to create  a Z table in CRM,this table willl have 2 fields External Material Group and Old Material Number.These 2 fields in CRM table are corresponding to same material master (MM03) fields in ECC.The changes to these fields done in ECC