How to Integrate iRedMail Roundcube with Samba4 AD DC
How to Integrate iRedMail Roundcube with Samba4 AD DC
Page created by : Md Nazmul Hasan
This is part of Authentication and Authorization course.
Introduction
The idea of this how to is to create a fresh SAMBA Active Directory Domain Controller in virtual Box and integrate iRedmail (mail server) installed on CENT OS 7.
Installing Ubuntu server 16.04 on Virtual Box
- Create a virtual machine and install Ubuntu server 16.04 click here for installtion guide
Virtual box networking
For installing Samba we need to set static IP Address on ubuntu server 16.04. So we need to add two network adapter on virtual box. In one adapter we need set the static IP and in another on will be in DHCP to get the internet access.
- Set the first adapter as host only
- Set the second adapter as NAT
- Login to Ubuntu server as root
run ifconfig
Make sure that both of the adapter is visible
Don't panic if you cannot see one of the adapter
Now run this command
nano /etc/network/interfaces
Set static IP on primary network interface and second network interface as DHCP
Installing Samba4 on Ubuntu server 16.04
Now install SAMBA as follows:
Installing Windows 10 on Virtual box
Create another virtual machine with two network adapter.
- Host only and NAT
- Install windows 10
- Set static IP on first adapter and same DNS server as Ubuntu server 16.04