Page 1 of 1

change of domain name

Posted: Mon Dec 05, 2005 4:02 pm
by jleq
I've never managed a Scalix server before, so I'm a bit clueless on this. Due to a conflict with a fired system administrator (who happens to be the registrant of our primary domain), we need to change the domain for all Scalix users to a new one. Is there a quick way to accomplish this? There are nearly 400 users, and I really don't have time to go through each account making the changes.

Thanks!
John L.
Lakeland R-III School District
Deepwater, MO

Posted: Mon Dec 05, 2005 6:38 pm
by ScalixSupport
Hi John,

See the section titled "Updating Scalix After Changing the Name of the Server" on page 282 of the admin guide. Also check the sxmodfqdn man page for information on other issues after hostname changes.

Thanks,
Don

Posted: Tue Dec 06, 2005 12:02 am
by ScalixSupport
Hi John,

My first response pointed you in a direction you will have to cover. As I got to thinking about my response I realized I didn't really answer your question. As I attempt to answer your question about how to batch modify user's internet address I'm also considering that you are new to Scalix administration. As such, you may want to consider purchasing a support incident or professional services to assist you with the tasks involved with changing your domain as they are not trivial for someone inexperienced with the product.

That said after you've compeleted the tasks of changing the domain name of the server as pointed out to you in my first post you will then want to log into SAC. Once in SAC go to the Settings tab. There you will see the Default Domain under the Server Domain setting. Make sure that is set to the appropriate value. Further down the page where it says Mail Address Settings make sure that it is set to the appropriate value.

Now you are ready to run this script that Rachel gave me...

Code: Select all

omshowu -m all|sed -e 's/\(.*\)/ommodu -o "\1" -A /' >modaddr.sh


That command will generate a file called modaddr.sh and it will contain ommodu commands like the following for each of your users.

ommodu -o "Fred Flintstone /bedrock/CN=Fred Flintstone" -A
ommodu -o "Barney Rubble /bedrock/CN=Barney Rubble" -A
ommodu -o "Wilma Flintstone /bedrock/CN=Wilma Flintstone" -A

Make the modaddr.sh file executable (chmod 755 modaddr.sh), run it (./modaddr.sh) and the internet addresses should all be changed.

Do you have mailing lists and/or public folders with internet addresses? What are your authentication id's based on?

Best Wishes,
Don

Posted: Tue Dec 06, 2005 12:42 am
by jleq
Hello Don,
Thank you very much for your reply. I was able to import all of the users using the script you posted.

Thus far, I am very impressed with this software. I do some consulting work, and I'll be informing many people about my experiences with Scalix. I'm glad that I now have an alternative to Exchange that is actually worth talking about!

-John