Again thank you for the advice. I tried it and unfortunately it didnt work.
But thankfully i found the right solution.
Replace:
<volume fstype=“cifs” server=“192.168.178.31” options=“sec=krb5,vers=3.0” path="%(USER)" mountpoint="~/"> <not><user> root </user></not> <not><user>sddm</user></not> <not><user>nx</user></not> </volume>
With:
<volume fstype=“cifs” server=“192.168.178.31” options=“vers=3.0” sec=“krb5i” path="%(USER)" mountpoint="~/"> <not><user> root </user></not> <not><user>sddm</user></not> <not><user>nx</user></not> </volume>
worked for me.
I got this from: Ubuntu 20.04 AD-Join (SSSD&Kerberos) with pam_mount (CIFS)
Nonetheless thank you for the help. I am really overwhelmed by this forum.
Synrom