+ Post New Thread
Results 1 to 6 of 6
Mac Thread, Can't forcibly unbind Xserve from old AD domain in Technical; Hello all We have an Xserve that was bound to our AD domain until just 2 days ago when we ...
  1. #1

    Join Date
    Jul 2010
    Posts
    7
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Can't forcibly unbind Xserve from old AD domain

    Hello all

    We have an Xserve that was bound to our AD domain until just 2 days ago when we decided to recreate the entire curriculum domain again from scratch (it was a crazy two days!). I came in this morning and our 2 Mac labs weren't finding their network accounts, so I assumed it was because the bind between the Xserve and AD was still looking at the old domain.

    I have tried to unbind the Xserve, left it for about 3 hours and it gets stuck with the little spinning wheel saying "Removing this computer from Active Directory" I tried and force quit, it locks up the Xserve. I even tried putting in incorrect credentials and clicks Force Unbind, but the same thing happens. The Xserve freezes up on unbinding and I have to turn it off at the switch (something I don't like doing to a server)

    Please if anyone has an ideas about what I can do (such as diving into some far off plist files to edit something) then it would save my life! I need to get these Mac labs back up and running ASAP :-)

    Thanks,

    Jaime Klein

  2. #2
    Rick2134's Avatar
    Join Date
    Feb 2009
    Location
    Leeds
    Posts
    30
    Thank Post
    16
    Thanked 5 Times in 5 Posts
    Rep Power
    11
    The commands you should be running are:

    sudo –s

    Provide the local admin name and password. You won’t see it being typed as there is no echo in Terminal.

    The commands you run thereafter are:

    rm –R –v /Library/Preferences/DirectoryService

    rm –R –v /Library/Preferences/SystemConfiguration

    rm –R –v /Library/Preferences/edu.mit.kerberos

    rm –R –v /Library/Managed\ Preferences

    This should remove all network settings and AD seetings

  3. Thanks to Rick2134 from:

    jaimeklein (7th February 2011)

  4. #3

    Join Date
    Jul 2010
    Posts
    7
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Thanks for the advice, I will try it tomorrow and let you know how it goes,

  5. #4

    Join Date
    Jul 2010
    Posts
    7
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    0
    I have tried these commands and it got rid of all my Open Directory preferences such as the users I had in OD, and deleted OD from the Directory Utility window, but the AD entry was still there, and still bound. I tried unbinding again and the same thing happened....the server just froze.

    Any ideas?

    Thanks

  6. #5
    Carter's Avatar
    Join Date
    Sep 2010
    Location
    Canada
    Posts
    269
    Thank Post
    10
    Thanked 64 Times in 41 Posts
    Rep Power
    18
    Quote Originally Posted by Rick2134 View Post
    The commands you should be running are:

    sudo –s

    Provide the local admin name and password. You won’t see it being typed as there is no echo in Terminal.

    The commands you run thereafter are:

    rm –R –v /Library/Preferences/DirectoryService

    rm –R –v /Library/Preferences/SystemConfiguration

    rm –R –v /Library/Preferences/edu.mit.kerberos

    rm –R –v /Library/Managed\ Preferences

    This should remove all network settings and AD seetings
    When I'm looking for a quick method to dump my AD & OD settings I run the following command that "Rick2134" mentioned but when you do so immediately restart your server.

    rm –R –v /Library/Preferences/DirectoryService


  7. #6
    TomH's Avatar
    Join Date
    Jan 2010
    Location
    Nottingham
    Posts
    47
    Thank Post
    0
    Thanked 5 Times in 5 Posts
    Rep Power
    11
    Have you tried using dsconfigad with the -f flag to force the unbind in the command line, much more reliable than the GUI..

    Tom

SHARE:
+ Post New Thread

Similar Threads

  1. The XServe RAID
    By iSteve in forum Mac
    Replies: 1
    Last Post: 5th January 2011, 10:50 AM
  2. Apple 'abandon' Xserve
    By nicklec in forum Mac
    Replies: 3
    Last Post: 5th November 2010, 04:57 PM
  3. AD and Xserve
    By LukeC in forum Mac
    Replies: 12
    Last Post: 19th April 2010, 12:08 AM
  4. Updating Mac's via Xserve
    By theeldergeek in forum Mac
    Replies: 6
    Last Post: 11th May 2009, 12:19 PM
  5. RM CC3 and Xserve
    By damien.deakes in forum Mac
    Replies: 9
    Last Post: 11th March 2009, 11:59 AM

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
  •