Revert "Switch to systemd automount ..." and "krb5.conf from ..."
SMB automount seems to have major problems with multiuser mounts. For the first logged in user, everything seems to be fine. For every following logged in user, strange things will happen (e.g. firefox has problems showing the webdev console). This reverts following commits: -9df6c93636(Switch to systemd automount for /srv/samba/schools/default-school) -f08c06d7a6(krb5.conf from package krb5-user ist require)
This commit is contained in:
parent
5c1d2d0ce5
commit
14822ebb47
3 changed files with 26 additions and 68 deletions
|
|
@ -5,8 +5,6 @@
|
|||
- sssd-ad
|
||||
- sssd-tools
|
||||
- adcli
|
||||
- kstart
|
||||
- krb5-user
|
||||
|
||||
- name: Provide user identities from AD
|
||||
ansible.builtin.template:
|
||||
|
|
@ -24,23 +22,3 @@
|
|||
when: >
|
||||
ansible_cmdline.adpw | default('') | length > 0 or
|
||||
adpw.user_input | default('') | length > 0
|
||||
|
||||
- name: Set CCache file name
|
||||
ansible.builtin.lineinfile:
|
||||
dest: /etc/krb5.conf
|
||||
line: ' default_ccache_name = FILE:/tmp/krb5cc_%{uid}'
|
||||
insertbefore: '\[realms\]'
|
||||
state: present
|
||||
|
||||
- name: Create kstart systemd service for obtaining machine ticket
|
||||
ansible.builtin.template:
|
||||
src: kstart.service.j2
|
||||
dest: /etc/systemd/system/kstart.service
|
||||
mode: '0644'
|
||||
when: not nfs4
|
||||
|
||||
- name: Enable kstart service
|
||||
ansible.builtin.systemd:
|
||||
name: kstart.service
|
||||
enabled: true
|
||||
when: not nfs4
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
[Unit]
|
||||
Description=K5Start Kerberos Ticket Renewal
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/k5start -f /etc/krb5.keytab -K 1 -u {{ ansible_hostname | upper }}$
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue