Category Archives: Networking

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: 10.1.200.3
  • Domain: BLACK
  • Realm: BLACK.DRAGON.LAB
  • 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

Simple anti-spam Measure for Email

I use a very simple system with my incoming email addresses that reduce spam to almost zero.

If you have your own domain or if your ISP allows you to setup aliases/forwrding to your real email address it is simple.

Whenever you deal with a new company, set-up a new email address. Whenever you have to open an account with a company say its called spammers inc. 🙂 After all most, if not all companies only want your details to spam you with marketing or pass your details on for a profit. Anyway, create a forwarding address to your real email address called from_spammers_inc@yourdomain.co.uk If you later start to get junk mail from anyone other than spammers inc on that address you know they have passed your email address on.

Continue reading

Installing and Configuring ssh

I install openssh server and sort out the configuration of ssh so I can login to other machines locally without a password. This is a security risk! I also want to use Xwindows programs installed and run on one machine while actually running on another, hence the ForwardX11 bit. Also considered a security risk by some.

Continue reading

Installing and Configuring Zentyal 3.3 on Ubuntu 12.04-LTS Part 3

Welcome to part three. If you missed part 1, Initial installation and configuration you can see it here. The second part setting up users and domains is here

In part three we will be setting up

  • Email
  • Securing Web Based Email
  • Anti-Spam/Virus Measures
  • Grey Listing

Continue reading

Installing a Mailserver on Ubuntu 12.04 LTS Part 2

In this part we will be adding to the mail server created in Installing A Mailserver on Ubuntu 12.04 LTS Part 1, in this part we will be building on that and adding anti-virus and anti-spam software and a tool to greylist emails to cut down on the work our server has to do. This will be added to postfix via amavis-new.

The server called mailserver will end up running the following servers and services. Once all the parts of this series posts are completed.

Continue reading

Installing and Configuring Zentyal 3.3 on Ubuntu 12.04-LTS Part 2

Welcome to part two of my Zentyal howto. If you missed part 1, you can see it here. it covers the initial configuration installation and getting the network up and usable.

In part two we will be setting up

  • Users
  • Groups
  • File sharing
    • Limited access File sharing
  • Adding machines to the domain.
    • Windows
    • Linux
  • Backing up the Zentyal configuration
  • AND Restoring the Zentyal configuration
  • Continue reading