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

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 (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

  • "Connect to Server" using a different user

    Hi,
    When I want to connect to a share on another Mac on my local network I use the Finder's "Go->Connect to Server" command.
    I am always prompted for a username/password when I do this. Is there a way to cache this information somehow so it always knows which account info I want to use?
    Thanks!
    BT

    You have the option to add the password to your keychain.
    Just check the 'remember password in keychain' option.

  • I am trying to connect Dashboard shared variables to a server on a different subnet. Any ideas?

    My goal is to control a device that is connected to our wired network using an Android tablet via Dashboard.  I have created a vi with shared variables that controls the device as expected when it runs on a computer that is connected to the same wired network.  The problem is that my Android tablet running the Dashboard app cannot connect to the shared variables on the PC running the vi on the wired network.
    Our wireless network is on a separate subnet from our wired network.  I am able to ping my Android tablet from the PC on the wired network but when I try to connect a variable in Dashboard, the PC running the SVE cannot be found.  I tried listing it in the alternative server settings window and it still did not work.  The only way I have been able to get around this is to run the vi which launches the server on a laptop that is connected to the wireless network and the wired network at the same time.  My tablet can then find the server and my VI can connect to the instrument that is connected to the wired network.  The laptop is somehow acting as a bridge between the subnets.  I need to find a way for the Dashboard app to connect directly to the PC on the wired network.  My PC IP address is 192.168.0.105.  My Android IP address is 192.168.10.93.

    Data Dashboard doesn't care about subnets, but it has to be able to access the server using the right ports. There is probably a firewall blocking the shared variable ports. This document explains how to configure a firewall to allow shared variables to be accessed. Your challenge will probably be to figure out where the firewall is and how to configure it.
    It is also possible that the router that your Android device is connected to doesn't know how to route to the other network. Again, that is an issue with your router that you need to resolve.

  • 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

  • Connecting to Server from a different VLAN

    Hi,
    Is it is possible to connect to Oracle Server when the server and client are in differnt VLANs? If possible how is the client and server has to be configured? Any help is highly appreciated.
    Thanks and Rgds
    Muneer

    Hi,
    Not sure related but BC did experience some issues with connection issues relating to a couple things noted on the status page below.
    - http://status.businesscatalyst.com/
    If still having troubles with this please reach out to direct chat support ASAP so they can attempt to replicate and assist you further. 
    - http://helpx.adobe.com/business-catalyst.html
    Kind regards,
    -Sidney

  • Seed mailbox database copy through replication network (DAG members on different subnets in different sites)

    Good afternoon
    I currently operate a two node DAG in our primary site supporting one mailbox database. I plan to introduce a third DAG node in our datacenter which is in a different Active Directory site. Both current DAG members replicate over a dedicated replication
    network to keep the traffic separate from the MAPI traffic. The third DAG member will also have a dedicated replication network adapter (of course, on a different subnet). Ideally I would like to seed the database at a time of my choosing, rather than at the
    moment I add the mailbox database copy (I know how to achieve this), but I would like to specify which network the data replicates over.
    According to the following (see below link) under the 'Seeding and Networks' section as my two DAG members will be on different subnets in different sites Exchange will make the decision to use the MAPI network adapters of the target and source server.
    'If the source server and target server are on different subnets, even if a replication network that contains those subnets has been configured, the client (MAPI) network will be used for seeding.'
    http://technet.microsoft.com/en-us/library/dd335158%28v=exchg.150%29.aspx
    Am I able to force Exchange to use the replication network adapters of both source and target server when I initiate the seeding process? I have a 200+ GB mailbox database that will need to replicate over a 100Mbps internet connection to our secondary
    site and I would like to keep that traffic to the replication network I have configured.
    Any insight would be helpful.

    Hi,
    If you want to specify the networks for seeding, you can use the
    Network parameter when running the
    Update-MailboxDatabaseCopy cmdlet and specify the DAG networks that you want to use.
     If you don't use the Network parameter, then the system uses the following default behavior for selecting a network to use for the seeding operation:
    If the source server and target server are on the same subnet and a replication network has been configured that includes the subnet, the replication network will be used.
    If the source server and target server are on different subnets, even if a replication network that contains those subnets has been configured, the client (MAPI) network will be used for seeding.
    If the source server and target server are in different datacenters, the client (MAPI) network will be used for seeding.
    So please use the Update-MailboxDatabaseCopy cmdlet with
    NetWork parameter to specify which DAG network should be used for seeding.
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Belinda Ma
    TechNet Community Support

  • WDS PXE DHCP, Clients on different subnet

    Hello,
    We are having a lot of trouble trying to get pxe imaging working from our WDS server on different subnets.  We have an existing Zenworking imaging setup working as of right now, but WDS is causing more issues than I care to troubleshoot.  I have read
    blog after blog, forum post after forum post and everyone says just install it and it works!  I guess we have run into some sort of problem that nobody else has.
    Enviroment:
    2x DC's, Server 2012 R2, both run DNS, 10.5.0.101, 10.5.0.102
    1x DHCP Server, 2012 R2, 10.5.0.105
    1x WDS Server, 2012 R2, 10.5.0.41
    If I put a client on the same subnet as all of the servers it seems to work, except for the fact that it takes a while for the client to get an IP and continue to load wdsnbp.com.  I would say around 20-30 seconds.  In our zenworks enviroment it takes
    no more than 1 second to get an IP.  As for the dhcp server itself, clients receive normal dhcp offers instantly.  So that part is working properly.
    Now when I try an access the WDS pxe server from a different subnet other than the one that all of the servers are on, noting that I do have the ip helper address setup on our layer 3 switch:
    interface Vlan2025
     ip address 10.200.20.1 255.255.255.0
     ip helper-address 10.5.0.105
     ip helper-address 10.5.0.41
    It always says failed to receive boot file.  But as I said earlier, clients in windows receive dhcp leases from 10.5.0.105 without issue.
    Setting the client options in the DHCP server with options 66 and 67 works sortof, but we found that it was unreliable and often finicky.  Like having the system repeatedly ask to press f12, and even if you did press f12 it would still ask to press f12
    again.
    So I continued to do a wirehark packet capture on the port where the device was trying to get the dhcp/pxe info from the DHCP / WDS servers.  The first packet here is from the DHCP server and the second is from the WDS server.
    Bootstrap Protocol
        Message type: Boot Reply (2)
        Hardware type: Ethernet (0x01)
        Hardware address length: 6
        Hops: 0
        Transaction ID: 0xd6c565d2
        Seconds elapsed: 0
        Bootp flags: 0x8000 (Broadcast)
        Client IP address: 0.0.0.0 (0.0.0.0)
        Your (client) IP address: 10.200.20.117 (10.200.20.117)
        Next server IP address: 10.5.0.105 (10.5.0.105)
        Relay agent IP address: 10.200.20.1 (10.200.20.1)
        Client MAC address: Hewlett-_c5:65:d2 (78:e7:d1:c5:65:d2)
        Client hardware address padding: 00000000000000000000
        Server host name not given
        Boot file name not given
        Magic cookie: DHCP
        Option: (53) DHCP Message Type
            Length: 1
            DHCP: Offer (2)
        Option: (1) Subnet Mask
            Length: 4
            Subnet Mask: 255.255.255.0 (255.255.255.0)
        Option: (58) Renewal Time Value
            Length: 4
            Renewal Time Value: (21600s) 6 hours
        Option: (59) Rebinding Time Value
            Length: 4
            Rebinding Time Value: (37800s) 10 hours, 30 minutes
        Option: (51) IP Address Lease Time
            Length: 4
            IP Address Lease Time: (43200s) 12 hours
        Option: (54) DHCP Server Identifier
            Length: 4
            DHCP Server Identifier: 10.5.0.105 (10.5.0.105)
        Option: (3) Router
            Length: 4
            Router: 10.200.20.1 (10.200.20.1)
        Option: (6) Domain Name Server
            Length: 8
            Domain Name Server: 10.5.0.101 (10.5.0.101)
            Domain Name Server: 10.5.0.102 (10.5.0.102)
        Option: (15) Domain Name
            Length: 8
            Domain Name: domain.com
        Option: (255) End
            Option End: 255
    Bootstrap Protocol
        Message type: Boot Reply (2)
        Hardware type: Ethernet (0x01)
        Hardware address length: 6
        Hops: 0
        Transaction ID: 0xd2c565d2
        Seconds elapsed: 4
        Bootp flags: 0x8000 (Broadcast)
        Client IP address: 0.0.0.0 (0.0.0.0)
        Your (client) IP address: 0.0.0.0 (0.0.0.0)
        Next server IP address: 10.5.0.41 (10.5.0.41)
        Relay agent IP address: 10.200.20.1 (10.200.20.1)
        Client MAC address: Hewlett-_c5:65:d2 (78:e7:d1:c5:65:d2)
        Client hardware address padding: 00000000000000000000
        Server host name: wds1.domain.com
        Boot file name not given
        Magic cookie: DHCP
        Option: (54) DHCP Server Identifier
            Length: 4
            DHCP Server Identifier: 10.5.0.41 (10.5.0.41)
        Option: (97) UUID/GUID-based Client Identifier
            Length: 17
            Client Identifier (UUID): eb8daa31-8e62-11df-bbd8-d1c565d278e7
        Option: (60) Vendor class identifier
            Length: 9
            Vendor class identifier: PXEClient
        Option: (53) DHCP Message Type
            Length: 1
            DHCP: Offer (2)
        Option: (255) End
            Option End: 255
    What I find interesting is that the WDS server is not handing out a boot file name:
    "Boot file name not given"
    Could this be the reason why we receive the no boot file received error when trying to boot a client into pxe?
    The other thing that I noticed was that the WDS server is also responding with the:
    "    Option: (60) Vendor class identifier
            Length: 9
            Vendor class identifier: PXEClient
    Why would it be responding with this, when the dhcp is on a separate server.  Is this option only if you have DHCP and WDS on the same server?
    Any help would be appreciated as there has been too much time already spent on getting nowhere.
    Thanks,
    Dan.

    Dan,
    10 months later and not one reply...  I'm having the same issue, did you ever figure this out?  DHCP server is my Cisco Switch, WDS/PXE is on another network.  The WDS and PXE is working fine as I can do so from the same network as the WDS/PXE
    server.  I can also get the WDS/PXE to work if I have a MS DHCP server on a different network and populate the option 66 and option 67.  I cannot get this to work using Cisco ip helper-address for some reason.
    Thanks,

  • Is it OK to have two SBS Servers with same name, on different subnets but connected over a VPN?

    Hi Everyone,
                       I'm just about to connect up two SBS 2011 Servers with the same server name but on different subnets & domains over a VPN.
    So for example both servers will have the name Server01, one would have an ip address of 192.168.85.5, the other 192.168.86.5, they both then would be connected over a VPN.
    Can anyone foresee any issues with this configuration, like DNS & DHCP requests, adding new machines to the domain, mapping drives etc.
    Many thanks,
    Nick

    Hi Larry & Strike First,
                      Thank you for your responses. I understand that this is an unusual situation. Basically I've recently taken over the IT support for this client. The client has just had a new phone system installed
    & are asking if they can speak to each office internally, which can easily be done once I setup the VPN.
    However I noticed whilst looking at this further that the Server names are the same, hence my question?
    Am I right in saying that providing the workstations  have a trust relationship with their own domain controllers through their individual domains on separate subnets, that hopefully there shouldn't be any DNS issues between the two domains and Servers?
    I could build a new VM if you feel it would be better practice to do so?
    Many thanks for your assistance,
    Nick

  • 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

  • Windows Client Binding Failure in a different subnet - Snow Leopard Server

    hi all,
    We are running SL 10.6.6 mini mac on a subnetted domain - The svr subnet is 10.20.10.xxx
    Clients (mac & win xp) are in subnets 10.20.12.xxx & 10.20.13.xxx
    Linux Firewalls separate the subnets although for the purposes of this topic and setup i have set the default policy to accept with no drop rules prior.
    The issue is that a win xp client cannot see the SL server. The win XP client does a NETLOGON broadcast i.e. (10.20.13.255 UDP 137) which does not make it to the netlogon service being advertised by the SL Server.
    If i put the win xp client in the 10.20.10.xxx (the SL Svr subnet) all works fine and the win xp client authenticates correctly.
    Is anyone out there running a similar setup (different subnets with Win XP Clients) I'm interested in how you got the binding/auth process working.
    Some side info on the SL Svr - Its a PDC domain master which has 2 replica's attached. All instructions appear to have been followed correctly as per 10.6 OD admin guide. I have all the Mac OS server essentials book and have been trolling through them for answers.
    I have setup SMB and configured it as per a previous thread http://discussions.apple.com/thread.jspa?threadID=2014572&tstart=0
    Any help/thoughts/ pearls of wisdom would be appreciated.
    Cheers
    Cowan

    Problem Fixed. Windows XP client did not have WINS server IP address is TCP/IP properties.

  • Connect WiFi to one subnet & the Ethernet port to a different subnet? (OJ Pro 8600)

    Hello all,
    I have an OfficeJet Pro 8600, which has both WiFi and an Ethernet port.
    I have two routers at home: one for a fibre boradband line for business use and another for an ADSL line which the family use.
    The fibre router has a 172.17.17.x subnet and the family router has a 172.17.18.x subnet.  I would like to connect the printer wirless to the family router via WiFi and ALSO to the business router via an Ethernet cable.  If I do the above;
    Should I be able to print from both networks?
    Is there a risk of the printer "Bridging" the two subnets in any way? (I like to keep businenss / family traffic seperate)
    Any advice greatly apprecaited.
    Al.
    PS: I use a NetGear ProSafe Dual WAN router to sit across the fibre line & the ADSL line (it's configured to fail-over to ADSL in the even the fibre fails).  Whilst the business & home networks are on seperate subnets; I do have the option to set-up static routing between them (only for the specific protocols & ports that the printer needs to work).  Would this be a better idea than connecting the printer to two different networks?

    Hi,
    There was a discussion on the following link:
      http://h30434.www3.hp.com/t5/Printer-Networking-an​d-Wireless/Printer-Setup-2-Networks-1-Wireless-AIO​...
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Unable to connect to Server at servername . enter a different URL and try again (only on client machine)

    Hello All,
    We are getting "Unable to connect to Server at <<servername>>. enter a different URL and try again" error, if we are trying to connect to report server in report builder.
    This issue is appearing only on 2-3 client machines only. Rest on other client machines and server URL is working fine.
    Please suggest
    Thanks in Advanace
    -Regards
    -Kumud Vaish

    I would suggest looking at what might be different between those clients and the others that work.  Do they run the same antivirus version?  Did they receive any recent updates (windows or AV)?  Are they potentially on a different network
    (sometimes a wireless network is configured to be different from the wired)?  Are they getting any different group policies?
    We've seen the antivirus web control block access before in my environment.

Maybe you are looking for

  • Acrobat Pro 10 Actions Not Applying Fast Web View

    Acrobat Pro 10 actions are pretty useful overall, however they are not applying Fast Web View all the time. In my opinion, all PDFs generated today should be Fast Web View by default, but among the many applications which allow for PDF creation, not

  • Problem in AR Line Item IDOC method

    Hello Guys , iam migrating open AR Line Items using lsmw Idoc method.when i uploaded the flat file and converted the file .at step 10 display converted data it is not displaying the values for the field  net duedate(FAEDN) and amount(BETRW)  but when

  • Exception during client synchronization in Mobile 7.1

    Hello, We are working with Mobile 7.1. We changed one of the records from the client side in the table M45NOTIFICATION (the automatically created table for NOTIFICATION Data Object). During the synchronization with the DOE, the changes passed success

  • Roles Creating and assigning to user

    Hi all, Am creating a role as venki & granting some privileges to that role i.e, create session,create table... Then am creating a user & assigning a role "venki" to the created user. then after connecting to the user am unable to create a table in t

  • Modify second mandant - is it possible to transport in production ?

    Helllo, my system, in development, have 2 mandant : 010 and 020. The 010 allow modify, the 020 not. So it's run ok... Now, the system administratior has add the mandant 030 that also allow modifiy: I make a modify on 030, ( all other modify are done