Configuring Winbind on a Samba AD DC on Debian 9

Posted on Tue 26 February 2019 in blog

In the previous post, we set up a Samba 4 DC. In this post, we'll configure Winbind on that Linux machine so all of the Samba-controlled UIDs/GIDs will resolve to their AD names. We'll also set things up so we can SSH and sudo appropriately.


We'll assume that …

Continue reading

Setting up a Samba 4 Domain Controller on Debian 9

Posted on Mon 11 February 2019 in blog

Let's set up Samba 4 to serve as an Active Directory (AD) Domain Controller (DC) on Debian 9.


We'll start with a headless install of Debian 9, selecting only "SSH server" and "standard system utilities" during Software selection.

We'll also assume that your server is set up with the …

Continue reading

Windows-Python-PyInstaller GitLab CI Runner

Posted on Wed 16 November 2016 in blog

Here I'll explain how to configure a Windows Server VM to act as a Python (PyInstaller) build server, running as a GitLab CI runner.


Install Windows Server 2012 R2 "Server Core"

This is left as an exercise to the reader :-)

Enable Remote Desktop

Simply follow this detailed guide:

Windows …

Continue reading

Fun experiences using Wine in Docker (part 2)

Posted on Thu 14 April 2016 in blog

After the last post about running Wine in Docker, it was time to try and actually use the image to perform a build.

The first time I tried, the build crashed due to some sort of exception. It turns out the following sequence of events was to blame:

  • NMAKE, running …

Continue reading

Fun experiences using Wine in Docker

Posted on Wed 13 April 2016 in blog


I sometimes work with a legacy codebase that targets both Windows and Linux; the build system is GNU Make-based, and builds on Linux. For the Windows components, the build system invokes NMAKE, using Wine. Yes, it's messy; yes I want to replace it; but no there's no time budgeted …

Continue reading