How to Integrate iRedMail Roundcube with Samba4 AD DC

From ICO wiki
Revision as of 15:31, 14 June 2017 by Mdhasan (talk | contribs)
Jump to navigationJump to search

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:

Follow the instruction here

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



- Now join the with windows 10 to Samba Domain as follows

Follow the instructions

- Restart and login as a domain user

- Now download and install Remote Server Administration Tools for Windows 10

Download RSAT

- Now open active directory users and computers

- Now you will able to control the Active directory Domain controller from Windows 10 using GUI

Install CENT OS 7 on virtual box

Create another virtual machine with two network adapter as like Windows and Ubuntu server

Follow these instructions to install cent OS 7 and join to Samba domain

Install iRedmail on Cent OS