Category Archives: Ubuntu 14.04 LTS

Samba4 AD DC on Ubuntu 14.04

Samba 4 is a good bit of software. If only that last few tweaks could be done to finish it and the documentation off it would be great software. I have found lot of ways to set up Samba4 as a AD DC most of which fail to work only this one series of steps worked. Samba4 configuration is really really flaky! The official Samba documentation is getting better and beginning to cover some of the configuration pitfalls.

For this how to we are building on some of my other howtos.

Continue reading

Add Ubuntu 14.04 to Samba or MS AD Domain [Depreciated]

I no longer use the crippled PBIS software, I use the native Linux software which gives far better functionality.

A better way of Joining an Ubuntu Machine to Samba with Winbind

This was the third part of a series of howtos showing how to setup and use Samba4 as a drop in for MS Active Directory Server. The first part Samba4 AD DC on Ubuntu 14.04 is here. The second part in this series take a look at Administering AD DC via Windows.

In this part we will connect a Linux machine to the domain and then login with users configured with Active Directory. Therefore domain users will always have the same UID and GIDs regardless of the machine they log into.

Active Domain details

  • AD DC host: lab-addc1.dragon.lab
  • ip address:
  • Domain: BLACK
  • netbios name:LAB-ADDC1

To create desktops I used my normal install method, starting with a minimal server and then adding MATE and other packages as required.

Continue reading

DNS with bind9 and DHCP on Ubuntu 14.04

Updated for Ubuntu 14.04-3 LTS. If you are a home user and your network has grown such that you are tired of using all static IP addresses and having to configure the /etc/hosts files by hand, then use the great tool dnsmasq. See my How to set up dnsmasq. Dnsmasq is so much simpler to setup and maintain than bind9.

Continue reading