This is a support problem I hear fairly often: a Kerio® demo was setup with a fake domain and then later the real domain is added and set as the primary. The administrator logs out, but when he tries to login again the next day, he can't. Panic! He's certain he knows the password, but it keeps refusing to let him login!
Actually this is almost always simple. The password is correct; it's the user name that is wrong because it needs the domain. If your fake domain was called "localhost", that's where the default admin user was created. You can login as "admin@localhost" (or whatever name you used).
You can also stop the mail server and manually edit the "users.cfg" file. You'll be looking for the section that looks something like this:
<listitem>
<variable name="Name">Admin</variable>
<variable name="Domain">localhost</variable>
<variable name="Account_enabled">1</variable>
<variable name="Guid">4234551A-E3FF-4573-8B1B-E1646BEFFFD7</variable>
<variable name="Auth_type">0</variable>
<variable name="Password">D3S:22f2cd1e9dbf80f0bc09c221169bdba92d4ab7445c3daeca</variable> <variable name="PIN"></variable>
<variable name="Rights">3</variable>
<variable name="ForwardMode">0</variable>
<variable name="HomeServer"></variable>
<variable name="MailboxLocation"></variable>
<variable name="Qstorage">0</variable>
<variable name="Qmessage">0</variable>
<variable name="MaxOutgoingMessageSize">0</variable>
<variable name="DefSpamFilter">1</variable>
<variable name="PreferredAddress"></variable>
<variable name="ReplyToAddress"></variable>
<variable name="Fullname">Administrator</variable>
<variable name="Description"></variable>
<variable name="KrbUserPrincipalName"></variable>
</listitem>
See that "<variable name="Domain">localhost</variable>" ? You'd want to change that to whatever your primary domain is. If you have other users here that you want to transfer, you want to change those also.
As of Kerio Connect 7.0, you could have just renamed "localhost" to what you want it to be.
As long as you are in here, you could also reset the password if you have forgotten it. You'd change
D3S:22f2cd1e9dbf80f0bc09c221169bdba92d4ab7445c3daeca
to
NUL:NewPassword
That "NUL" lets you use plain text. You should then change it through the admin to restore it as encrypted.
Note: if you are using Unix/Linux "vi", you have to be aware that this is a "dos" file. Your session should recognize that, but if you are creating sections to read into the file, you need to ":set ff=dos" to set NL/CR correctly.
Restart the server after your changes and you are set to go.
Kerio®, and related trademarks, names and logos are the property of Kerio Technologies, Inc. and are registered and/or used in the U.S. and other countries. Used under license from Kerio Technologies, Inc.
More Articles by Anthony Lawrence - Find me on Google+
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Fri Oct 7 10:09:59 2011: 9933 anonymous
its not working
Fri Oct 7 13:20:08 2011: 9937 TonyLawrence
Then you don't know your password.
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar