GFI Software

Welcome to the GFI Software community forum! For support please open a ticket from https://support.gfi.com.

Home » OLD forums » Kerio Connect Multi-Server » Creating a new Domain
Creating a new Domain [message #124709] Fri, 02 October 2015 13:24 Go to next message
markus.k1985 is currently offline  markus.k1985
Messages: 11
Registered: September 2015
Hello,

has someone created a new domain in Multi-Server?

How is the Directory Service configured during "Shared-Domain-Creation"?
What is the password for the OpenLDAP Admin user?
Re: Creating a new Domain [message #125482 is a reply to message #124709] Thu, 05 November 2015 04:22 Go to previous messageGo to next message
Phil-Purdue is currently offline  Phil-Purdue
Messages: 1
Registered: November 2015
Location: Auckland New Zealand
I have the same question.
Currently I am testing Multi Server and wish to create a number of new domains for simulated multi domain hosting for a number of clients.
I have tried everything I can think of regarding connecting from the Back End server to the Directory servers LDAP instance but none of the accounts/password created during the install seem to work.

Can someone outline what account is to be used on the Directory Service page of the Domain creation wizard please.

thanks
Phil
Re: Creating a new Domain [message #125576 is a reply to message #124709] Mon, 09 November 2015 18:13 Go to previous message
Stepan Potys (Kerio) is currently offline  Stepan Potys (Kerio)
Messages: 34
Registered: April 2010
Hi,

creating another domain in the multi-server environment is a bit tricky at the moment. Note that we didn't test this scenario yet thus you may face some issues lately. In theory, however, it should work.

1) login to your directory server shell. If you haven't changed the password yet, use the default login root:kerio.
2) navigate to /opt/kerio/openLdapExtension,
3) run the following command:
> ./create_ldap_db.sh <new_domain_name> <new_admin_password>

it will create a new database for <new_domain_name> and user 'admin' with the given <new_admin_password>.

4) Go to Kerio Connect Administration on your first Kerio Connect backend (i.e. the master node) and create new local domain and configure all mandatory fields for an OpenDirectory connection. It will not connect of course - don't worry at the moment. Just save the settings.
5) Login to the first backend (master) shell, stop the server with:
> service kerio-connect stop
and edit mailserver.cfg as follows:
a) find your new domain and change "isLdapManagementAllowed" to "1"
b) find the LDAP connection definition for the domain and change "MapFile" to "openldap.map".
c) save your changes and start the server up again with:
> service kerio-connect start

6) Go to the administration on your master backend and edit your domain directory settings again. Fix username according to your first domain. Don't forget to replace the domain name of course. Do the same with the 'Search suffix' field and test the connection. It should succeed now. Save domain changes.
5) Go around the rest of the Connect nodes (i.e. slaves) and create a distributed domain. A drop-down list appears, just select the new domain and confirm.

You're done. Now you can create new users (on the master back-end only).


I hope this helps.


Stepan Potys
Connect Core team leader
Kerio Technologies
Previous Topic: Directory Server setup question
Next Topic: Import users
Goto Forum:
  


Current Time: Thu Jun 08 22:47:59 CEST 2023

Total time taken to generate the page: 0.01688 seconds