Each user should be able to access a cifs group share using his own credentials when navigation to a specific folder ~/groupdrive inside his home folder. The credentials are stored in a ~/.cifs_credentials file.
I implemented this using pam_mount but I'm stuck with tons of duplicate and not properly unmounted mounts.
How can I implement this behaviour using autofs? Is it possible to mount share multiple times on the same mountpoint eg /mnt/groupdrive with different credentials and symlinking to it from the home folder?