How to Integrate iRedMail Roundcube with Samba4 AD DC

From ICO wiki
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

Installing Samba4 on Ubuntu server 16.04

Installing Windows 1]]0 on Virtual box

Joining Windows 10 to Samba Active Directory Domain Controller

Install

Install CENT OS 7 on virtual box

Connect CENT OS 7