Apple Support Communities > Servers and Enterprise Software > Mac OS X Server v10.4 and earlier > Discussions
This discussion is archived
1781 Views 18 Replies Latest reply: Feb 27, 2006 8:34 PM by Andrew Steinberg
Currently Being ModeratedSep 23, 2005 9:52 PM (in response to Matt Vlasach)Finally, after much struggling:
Being used to the client version of Mac OS X, I changed the IP of the server without using changeip from the command line first. I followed the directions given in "man changeip" INCLUDING THE HOSTNAME:
changeip /LDAPv3/127.0.0.1 <myOldServerIp> <myNewServerIp> myhostname myhostname
It would not work any other way. In fact, it almost hosed my system the first time I used this script, because I didn't know that it would toy with the input administrator and directory administrator names/passwords so much. To make a long story short, I input my root admin login info, BECAUSE IT ASKS YOU TO PERFORM THIS AS ROOT, and it subsequently changed my root password type to Open Directory (AKKK!). Luckily I had a backup admin account lying around, and a ssh configured to do authentication based on authorized_keys so I could mess up the administrator account and still have some chance of getting everything working again.
In defiance of the manual page, I did not change my network settings before doing the changeip the second time, and it worked!
YMMV (I'm using 10.4.2). Here's my process:
execute the following from the command line from an administrative root account-
changeip /LDAPv3/127.0.0.1 <myOldIpAddress> <myNewIpAddress> <myHostName> <myHostNameRepeatedAgainBecauseThisScriptWontWorkUnlessIPutAnotherHostNameHere>
you will then be prompted for your admin name and password (on 10.4.2 this is your directory administrative name/password for the OpenDirectory master).
You should see some line confirming that stuff is going to be done
You should see no errors.
When everything is done, assuming the script didn't fail you utterly the way it did me the first time, you should execute:
And then hopefully everything will be okay your end.
Over and out
Currently Being ModeratedSep 28, 2005 9:26 PM (in response to Matt Vlasach)I was just having the same issue with slowness. XP machines connecting to samba shares on OSX. took a long time to connect. I added winbind separator = + to the smb.conf and it suddenly sped up and opening shared was almost instant.
I'm using a 2003 AD controller to authenticate the XP and OSX boxes, and OSX server to host home folders and manage the osx clients.
Could be a co-incidence...but please post if it helped you.
Currently Being ModeratedDec 19, 2005 8:17 AM (in response to Matt Vlasach)Could this be contributing to it for those on 10.3.x?
http://docs.info.apple.com/article.html?artnum=107899Various, Mac OS X (10.4.3)
Currently Being ModeratedFeb 27, 2006 8:34 PM (in response to Etidorhpa)THANK YOU THANK YOU THANK YOU.....
I was struggling with this issue for over a week and overlooked your post - This is why these forums are an excellent source of info!
The ChangeIP command worked perfectly. I have my 10.4.4 server acting as PDC and was dealing with horribly slow logins from 2 other Win 2k3 servers.
The fix worked according to plan - did the reboot - then logged in on the Windows box and it took less than 5 seconds.
And all from the comfort of my couch at home with ARD & RDC.