I have Ubuntu 18.04 and CentOS 7 boxes, they are members of Windows domain (using sssd). Linux users need to mount CIFS shares from domains fileservers. What should be done in order to provide passwordless mount, using Kerberos? (I see a similar question, unfortunately without accepted answer Ubuntu map CIFS / SMB share using active domain credentials without password file)


Done, using pam_mount (Ubuntu18.04, part of MS Windows domain based on sssd):

  • apt install keyutils libpam-mount
  • Added to /etc/security/pam_mount.conf.xml

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.