Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ChangeIPAddress.command




On 24/07/2008, at 2:21 AM, Stewart Lawler wrote:
FWIW, i just used changeip on a (10.5.4) box to change the hostname only, not the IP, and even that was a bit ... meh. Box is only running AFP & OD at this point (bound to AD so i unbound first of course) and it all seemed to run without complaint -- but then after restarting i still had to change the name in System Prefs->Sharing by myself. What's with that eh? (no you don't have to answer that :-)

..so i'll answer it myself, having spent the last few hours getting more friendly with the changeip process than i'd really been planning to..


when i first ran changeip i pointed it at the local directory using the '-' operator. could've been my fatal mistake. whilst trying to work out why clients couldn't log in i discovered a whole bunch of references to the old hostname still in /etc/openldap/ files, so realising my error i ran changeip against /LDAPv3, and that went smoothly. all refs to old hostname now gone from /etc/openldap. lovely. only clients still can't log in. after more sleuthing, the one remaining reference to the old hostname that i can find is in the LDAP Search base, which isn't changeable via the ServerAdmin gui or cli tools (for good reason i'm sure), but from my googling so far it seems the server role demotion/promotion trick is about the only choice i have other than reinstalling to get it corrected.

so yeah, my advice is when it comes to changing the IP and/or hostname of a server - don't :-) there's other ways of doing what you're trying to do... but if you have to use changeip - be very, veeeeerrrry careful. what seems like such a simple quick easy job can, as it just has for me, explode out of all proportion by virtue of one careless action, leaving my cat without her dinner, or breakfast probably now to by the looks of it....

..S.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >ChangeIPAddress.command (From: Ian Masters <email@hidden>)
 >Re: ChangeIPAddress.command (From: Eli Bach <email@hidden>)
 >Re: ChangeIPAddress.command (From: Ian Masters <email@hidden>)
 >Re: ChangeIPAddress.command (From: Simon Slavin <email@hidden>)
 >Re: ChangeIPAddress.command (From: Ansgar Wiechers <email@hidden>)
 >Re: ChangeIPAddress.command (From: Stewart Lawler <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.