Skip to content

Instantly share code, notes, and snippets.

@emptythevoid
emptythevoid / gist:a38944fd43a2bc92523606ad1de7ba1c
Last active February 18, 2026 11:41
Install Samba AD DC on Debian 12

All of these steps are completed on a fresh install of Debian 12 without GUI. Include SSH server during installation.

For this example, my domain will be samba.lan, my domain controller is dc1.samba.lan and the IP address is 192.168.122.190

During the Debain 12 setup, go ahead and name your server dc1

For domain, go ahead and put in samba.lan

After install, confirm you have internet and DNS working. Go ahead and apt update and install any pending updates.

[Description]
Before Thornberry Ndoc version 8.0, laptop clients and the server have default
database (Cache) users set up with a single password. This password is
left behind in a cleartext log file during client installation on
laptops. This password can be used to gain full admin/system access to
client devices (if no firewall is present) or the Ndoc server itself.
Once the password is known to an attacker, local access is not
required.
------------------------------------------