Citadel Email – LDAP Setup: HOW TO
I am using Armbian Ubuntu Server img
Burn to a USB or convert img to vdi and use with VirtualBox. Expand with VBOx Menu Media Manager from about 3.5GB to anything you need if you are going to use/test on VBox
Once you are at the prompt and already setup your user (in my example dit) and root passwords.
Change user to root: su and enter the root password
You will see below:
Now we run the Easy setup script as per the citadel web site
option
Click on it and you will see
TIP:
Its faster if you use SSH to copy paste the commands and run the setup
Run sudo armbian-config and go to
network, remove backup dhcp setting and set your static IP for the new server,
gateway, dns and rest default
Now lets start the setup:
curl https://easyinstall.citadel.org/install | bash
you will see this
Press ENTER
Accept the terms: Y and ENTER
If you are upgrading or re-run the setup (as I do – not worried as it’s a clean installation) you will see below warning
Press ENTER on the new installation
Press ENTER
It will install all dependencies etc (it
might take a while so wait)
You will see this next:
Since we are going to use an Active Directory connection, you type the username of the user that will be the admin of your citadel. MUST be a real AD user (example your domain admin).
If you plan to use local internal authentication (for example a home lab) the default user is “admin” and you will be asked to set a password for it.
Once you selected your AD username press ENTER
I just used the user I created for the Armbian server during the setup
Type username and press ENTER
Press ENTER again on both below
Now we reached the Authentication selection. Since we going to connect to AD, we need option 3 (LDAP – AD)
Type 3 and Press ENTER (default is 0)
Next you will be asked for your domain controller IP.
In a command prompt type nslookup -type=all _ldap._tcp and will give you the IP address ldap domain needed below
Type it and Press ENTER
Unless you have changed your LDAP port, just press ENTER on below
Next you need to enter your domain ldap base dn. For example if your domain in AD is shown as domain.local you need to type dc=domain,dc=local
If is lets sat superstar.com you type dc=superstar,dc=com
You can see it in your AD browser or also if you typed the cmd command above
Now at next prompt you will need an account with access to AD. You can used a domain admin account username and
Finally the setup will come to the last
step(s) and request the default web ports
for example you can use 80 and 4444 for HTTPS like me
Type the ports and press ENTER
CITADEL SERVER is ready to connect to its web interface
Open your web browser and got to
https://192.168.x.x:4444 or without the http://192.168.x.x
And login with the admi account (your set above) and its ad password to
access the email and admin site…
Hope this made your life easier