From 06973c015b0e2d064e1de2f2b07cd0a1c6f9d659 Mon Sep 17 00:00:00 2001 From: "Andreas B. Mundt" <andi@debian.org> Date: Tue, 14 Jun 2022 10:41:21 +0200 Subject: [PATCH] Fix sambox-client. --- README | 9 ++++++--- roles/smbsshfsclient/defaults/main.yml | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README b/README index 37fff9c..9760129 100644 --- a/README +++ b/README @@ -19,6 +19,9 @@ offers ansible playbooks and instructions for the following machines: • kerberox-client: the client for the kerberized LAN + • sambox and -client: comparable to the kerberox setup, but + home directories are shared via sshfs or the smb protocol. + • cloudbox: nextcloud server in the basement - setup of a home cloud server - dynamic DNS name @@ -31,7 +34,7 @@ offers ansible playbooks and instructions for the following machines: - reasonable defaults - temporary home directory on tmpfs, reset at boot - • edubox: deploy a set of containers for teaching (edubox.yml) + • edubox: deploy a set of containers for training/teaching Contributions like patches, suggestions, pull requests and/or further profiles are highly appreciated! @@ -56,8 +59,8 @@ Installbox • the installbox can be used to install all other profiles -Kerberox -~~~~~~~~ +Kerberox, Sambox +~~~~~~~~~~~~~~~~ • standard Debian installation: - user 'ansible' in sudo group - WAN interface configured and connected diff --git a/roles/smbsshfsclient/defaults/main.yml b/roles/smbsshfsclient/defaults/main.yml index 19fe2da..d2c6c70 100644 --- a/roles/smbsshfsclient/defaults/main.yml +++ b/roles/smbsshfsclient/defaults/main.yml @@ -1,4 +1,4 @@ -basedn: "{{ 'dc=' + ( ansible_dns['domain'] | default('intern') | replace('^.','') | replace('.$','') | replace('.',',dc=')) }}" +basedn: "{{ 'dc=' + ( ansible_domain | replace('^.','') | replace('.$','') | replace('.',',dc=')) }}" ldap_server: ldap home_server: homes min_id_sssd: 5000