+ Post New Thread
Results 1 to 5 of 5
Mac Thread, Inconsistent startup times to get to "Network Account Available" in Technical; We are trying to implement a mac mini server to control desktop, docking, preferences etc. Seems to be working fine ...
  1. #1

    Join Date
    Sep 2007
    Posts
    158
    Thank Post
    15
    Thanked 3 Times in 3 Posts
    Rep Power
    15

    Inconsistent startup times to get to "Network Account Available"

    We are trying to implement a mac mini server to control desktop, docking, preferences etc.

    Seems to be working fine however, oftenly the MACs take up to 10 minutes to turn the login box status icon from red to orange to green on startup.

    only when it's green can a student login and authenticate with AD

    Really confused as to why they are doing this.

    They have a 1gb lan connection to both mac and 2008 r2 servers

    In DNS Manager i have 2 entries for each of my 4 x domain controllers, one A record points to it's static ip address for the network(10.*.*.*), the other points towards its local ip for the SAN unit setup we have (192.*.*.*) - could this be the problem? I have ordered the the name server record to put the 10.*.*.* IP first in it's list but it keeps defaulting back to the 192 san unit address to be first in it's list. Could this be the problem or am i chasing a rabbit hole to nowhere??

  2. #2
    AntonioRocco's Avatar
    Join Date
    Oct 2008
    Location
    South Yorkshire
    Posts
    268
    Thank Post
    10
    Thanked 113 Times in 95 Posts
    Rep Power
    41
    Hi

    Read all of the posts in this thread:

    **Active Directory Authentication How To**

    It's the sticky at the top of the Forum.

    Antonio Rocco (ACSA)

  3. #3

    Join Date
    Sep 2007
    Posts
    158
    Thank Post
    15
    Thanked 3 Times in 3 Posts
    Rep Power
    15
    Thanks i have gone through the guide but still having the same problem, I think it's a DNS issue with my windows server as when i open up Directory Utility the open directory connection is constantly green but the active directory connection alternates from green to red.

    Can you point me in the direction as to what i should be checking for this to be constantly green?

  4. #4
    Carter's Avatar
    Join Date
    Sep 2010
    Location
    Canada
    Posts
    269
    Thank Post
    10
    Thanked 66 Times in 41 Posts
    Rep Power
    20
    I have this set to default via WGM so that users see the status when the computer is at the login screen and for us it will go green within 30 secs after startup. Which version of OS X 10.x are you running on the client computers?


  5. #5

    Join Date
    Sep 2007
    Posts
    158
    Thank Post
    15
    Thanked 3 Times in 3 Posts
    Rep Power
    15
    Quote Originally Posted by Carter View Post
    I have this set to default via WGM so that users see the status when the computer is at the login screen and for us it will go green within 30 secs after startup. Which version of OS X 10.x are you running on the client computers?

    Oooo, wheres the option for that in WGM? We are running latest version of mac OS X and also latest version of snow leopard server.

    I found this fix posted by ephylon in another thread which i'm going to try in the morning, it's my last hope as i've been working this since last thursday and can't afford to spend anymore time on it as people are getting quite miffed about not being able to use these shiny non windows devices :

    create the following directory as root:

    /Library/StartupItems/FixADAuth

    Then chown it to root:wheel and chmod it to 755. These must also be the owner/permissions on the two files it will contain, below:

    Contents of our /Library/StartupItems/FixADAuth/FixADAuth:

    #!/bin/bash
    . /etc/rc.common
    date > /var/log/FixADAuth.log
    n=0
    AuthSuccess=0
    while [ $AuthSuccess != 1 ]
    do
    id Administrator && AuthSuccess=1 || networksetup -setsearchdomains Ethernet "Empty"; networksetup -setsearchdomains Ethernet middlewich.local; n=$(($n+1))
    done
    echo Authentication successful: $AuthSuccess >> /var/log/FixADAuth.log
    echo Operation count: $n >> /var/log/FixADAuth.log
    date >> /var/log/FixADAuth.log

    Contents of our /Library/StartupItems/FixADAuth/StartupParameters.plist:

    {
    Description = "Fixes Active Directory authentication issue";
    Uses = ("Disks");
    }

    Obviously you'll need to change "middlewich.local" to your own domain name (and the network interface name if your connection is wireless). The script checks to see if it can see the user "Administrator" on the domain, as he's a fairly common bloke, but if you've renamed yours for security reasons then pick another one. I've also included some logging functionality for debug purposes, so you can verify how well the script is working if you need to and time it in your environment before telling the users how long to wait. The /var/log/FixADAuth.log file will contain the date/time the process started, the success variable set to 1 (just to verify), how many DNS operations were required to fix the problem, and the date/time it ended. For us the time difference is normally about +30-40 seconds with around 120-180 operations taking place. Once you're happy with the script, you can strip it down to its bare functionality if you like, like so for us:

    #!/bin/bash
    . /etc/rc.common
    AuthSuccess=0
    while [ $AuthSuccess != 1 ]
    do
    id Administrator && AuthSuccess=1 || networksetup -setsearchdomains Ethernet "Empty"; networksetup -setsearchdomains Ethernet middlewich.local
    done


    Fingers crossed

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 24
    Last Post: 22nd July 2010, 03:38 PM
  2. Replies: 12
    Last Post: 6th May 2010, 09:33 AM
  3. Network broadband upgrade - inconsistent speeds
    By speckytecky in forum Wireless Networks
    Replies: 5
    Last Post: 5th February 2010, 10:23 AM
  4. Replies: 14
    Last Post: 2nd November 2007, 08:45 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
  •