It seems the files /etc/pam.d/login|xdm|sshd get created in a bad way. 2022-08-04 18:13:15 <3> FQDN.de(1293) [bash] ShellCommand.cc(shellcommand):78 Cannot stat '/etc/pam.d/login': No such file or directory 2022-08-04 18:13:15 <2> FQDN.de(1293) [Ruby] modules/Samba.rb(block in Write):923 pam-config failed for service login 2022-08-04 18:13:15 <3> FQDN.de(1293) [bash] ShellCommand.cc(shellcommand):78 Cannot stat '/etc/pam.d/xdm': No such file or directory 2022-08-04 18:13:15 <2> FQDN.de(1293) [Ruby] modules/Samba.rb(block in Write):923 pam-config failed for service xdm 2022-08-04 18:13:15 <3> FQDN.de(1293) [bash] ShellCommand.cc(shellcommand):78 Cannot stat '/etc/pam.d/sshd': No such file or directory 2022-08-04 18:13:15 <2> FQDN.de(1293) [Ruby] modules/Samba.rb(block in Write):923 pam-config failed for service sshd 2022-08-04 18:13:15 <1> FQDN.de(1293) [Ruby] clients/samba-client.rb(main):172 Samba-client module finished