Commit Graph

14 Commits

Author SHA1 Message Date
ba75d48ea6 feat : Stop Samba services before provisioning
Added a new task to stop relevant Samba services before provisioning, ensuring a clean environment for the AD DC setup. This change improves the overall stability and reliability of the provisioning process.
2025-11-03 19:46:40 +01:00
42da69befb style 💎: Improve service configuration for samba-ad-dc
Updated the service configuration to ensure proper stopping of samba-ad-dc before provisioning, improving overall installation stability and consistency.
2025-11-03 19:32:57 +01:00
f85c420c14 style 💎: Update install.yml to use consistent boolean values
Updated the 'ignore_errors' variable from 'yes' to a boolean value 'true' for consistency in the installation script.
2025-11-03 19:26:59 +01:00
d1961671d2 style 💎: Update package manager to use 'pkg' instead of 'pkf'
Switched from 'pkf' to 'pkg' in the Ansible playbook for installing required packages, ensuring consistency with other package managers.
2025-11-03 19:01:33 +01:00
d7efdd1d9a style 💎: Update package installation for samba packages
Updated the Ansible playbook to use apt instead of package for installing samba packages, adding additional options for improved efficiency and cleanup.
2025-11-03 18:42:52 +01:00
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
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
26dd315bc0 First draft generated by LLM 2025-09-30 17:40:18 +02:00