Do not attempt to follow any notes typed up so far
GOALS:
* Create an Active Directory Domain Controller
* Allow Windows PCs to authenticate against the domain
* Allow Windows PCs to join the domain
* Share files on Linux to Windows PCs
Outline
- DONE - Install Ubuntu Server
- DONE - Prerequisites
- DONE - Samba DC Install (Primary)
- NOT STARTED - Samba DC Install (Secondary)
- DONE - Domain user management
- DONE - Setup file shares
- NOT STARTED - Backup / Restore domain
- NOT STARTED - DNS
- NOT STARTED - DHCP
- NOT STARTED - ?
- Phase 1 = DC1
- Phase 2 = DNS
- Phase 3 = DHCP
- Phase 4 = File Shares
- Phase 5 = DC2
- Phase 6 = Backups
BeyondTrust direct download (Likewise-Open) - GitHub
Windows AD Note: Guide on how to join to MS AD
Old Outline when I "thought" I would be doing OpenLDAP and Samba Active Directory:
- IN PROGRESS - Directory Design
- DONE - Install Ubuntu Server
- DONE - Prerequisites
- DONE - Hostname / Domain name resolution
- DONE - Install Apache web server
- NOT STARTED - Create self-signed SSL certificate
- NOT STARTED - Apply SSL to Apache
- DONE - Install OpenLDAP
- IN PROGRESS - Configure OpenLDAP
- NOT STARTED - Configure organizational units via command-line
- NOT STARTED - Configure organizational units via web-interface
- NOT STARTED - Configure users via command-line
- NOT STARTED - Configure users via web-interface
- NOT STARTED - Join Windows computers to the domain
- NOT STARTED - Join Linux computers to the domain
- NOT STARTED - Backup / Restore
- NOT STARTED - Redundant server
Greetings and salutations,
I hope this thread will be helpful to those who follow in my foot steps as well as getting any advice based on what I have done / documented.
To discuss this thread, please participate here: Ubuntu Forums >>need to create thread<<
High-level overview
This thread will cover installation of a dedicated Ubuntu server as an Active Directory server. Samba will be used as the authentication and file-sharing service (separately). The server will be installed inside a virtual machine in vSphere running on ESXi servers. Notes will also be supplied for doing the same thing for VirtualBox on a Windows 7/8/10 PC. Although there are some VMware-specific and VirtualBox-specific steps, they are very few and the majority of this documentation will work for other Virtual Machines or even directly installed onto a physical machine (e.g. bare-metal install). If you have any advice on doing things better, please let me know by replying to >>this thread on the Ubuntu forums<< (need to create).
Tools utilized in this process
- Ubuntu Server 18.04.3 LTS, 64-bit
- Samba 4.3.11
- Portable PuTTY 0.72
- VMware vSphere 6.0.0
- VirtualBox 6.0.12
The list below are sources of information that was helpful in the creation of this document.
- Single Sign-On
- Ubuntu Documentation
- Ubuntu Firewall Basics
- Samba Documentation
- Setting up Samba as an active domain controller
- Avorix DC Install script (only for useful snippets)
This documentation will need to make use of some very-specific information that will most-likely be different for each person / location. And as such, this information will be noted in this section. They will be highlighted in red throughout the document as a reminder that you should plug-in your own value rather than actually using these "place-holder" values.
Under no circumstance should you use the actual values listed below. They are place-holders for the real thing. This is just a checklist template you need to have answered before you start the install process.
Wherever you see RED in this document, you need to substitute it for you will use in your environment.
- Domain Name: mydomain.local
- Ubuntu Server name: dc1
- Server FQDN: dc1.mydomain.local
- Domain Admin Password: MyDomainAdminPass
- Internet domain: mydomain.local
- Ubuntu Server IP address: 192.168.107.99
- Ubuntu Server IP subnet mask: 255.255.255.0
- Ubuntu Server IP gateway: 192.168.107.1
- Internal DNS Server 1: 192.168.107.212
- Internal DNS Server 2: 192.168.107.213
- External DNS Server 1: 8.8.8.8
- Ubuntu Admin ID: administrator
- Ubuntu Admin Password: myadminpass
- Email Server (remote): 192.168.107.25