13 Commits

Author SHA1 Message Date
497cb6cbf5 style 💎: Update samba provision settings to show password
Updated the `no_log` setting in the `tasks/provision.yml` file to display passwords, allowing for easier debugging and troubleshooting.
2025-11-03 18:26:30 +01:00
7e7c8a4b2d style 💎: Update samba provision task to remove log option
Updated the `no_log` option in the `samba_provision` task to always display passwords, making it easier to debug and understand the provisioning process.
2025-11-03 18:24:17 +01:00
8406e1eab6 feat : Added optional command to show cached Kerberos ticket
Updated verify.yml to include an optional command to display the cached Kerberos ticket, utilizing the 'klist' command and registering its output. This change enhances the flexibility of the verification process.
2025-11-02 19:50:44 +01:00
50dcdfdfbe docs 📝: Update defaults/main.yml documentation
Updated the default values for authentication domain, admin password and IP settings in the main.yml file to ensure consistency with the latest Ansible host configuration.
2025-11-02 19:28:13 +01:00
36a4ac99ed fix 🐛: Update Samba AD DC role for Debian-based systems
Updated the Ansible role to support Debian-based systems (Debian, Ubuntu, etc.) and added new features such as static /etc/resolv.conf, per-host backup of Samba config files, and Molecule tests for both present and absent states.
2025-11-02 19:22:39 +01:00
e6e7f22592 refactor ♻️: Update Samba domain info and provision process
Updated the `samba_domain_info` section to use the new authentication domain and netbios domain. Also updated the `tasks/provision.yml` file to reflect these changes, including the correct realm, domain, server role, and interfaces for the Samba domain.
2025-11-02 18:16:05 +01:00
570500c886 feat : Check domain before provisioning Samba AD DC
Added a check to ensure the domain is not already provisioned before running the samba-tool domain provision command. This prevents duplicate provisions and ensures consistency in the domain setup.
2025-11-02 17:42:35 +01:00
843ebd52a8 feat : Add Samba configuration to defaults/main.yml
Added Samba domain information and package installation to the defaults/main.yml template, allowing for easier setup of a Samba Active Directory Domain Controller. This change enables the use of Samba as an alternative to OpenLDAP for authentication purposes.
2025-11-02 17:37:21 +01:00
6078e8d9b9 feat : Add new feature to configure Samba AD DC DNS settings
This commit adds a new feature to the playbook that configures DNS settings for a Samba AD DC. It includes changes to the `defaults/main.yml` file, `tasks/install.yml`, `tasks/preparing.yml`, `tasks/verify.yml`, and `templates/resolv.conf.j2` files.
2025-10-21 21:10:30 +02:00
6c75e2910b patch undefined: Updated the DNS configuration in the resolv.conf.j2 template to include both the local host and the Ansible-managed DNS server.
Added a new line to the `resolv.conf.j2` template to specify the Ansible-managed DNS server (`{{ addc_ansible_host }}`). This ensures that the system uses both the local host and the managed DNS server for DNS resolution.
2025-10-19 22:25:19 +02:00
0104e69124 feat : Add main.yml file for Samba AD DC setup
This commit adds a new configuration file `main.yml` to the `meta` directory, which sets up an Active Directory Domain Controller (AD DC) using Samba. The file includes details such as author information, description, and dependencies.
2025-10-11 09:00:31 +02:00
26dd315bc0 First draft generated by LLM 2025-09-30 17:40:18 +02:00
a889e06231 Initial commit 2025-09-29 17:38:00 +02:00