Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt install autofs keyutils cifs-utils
- /cifs /etc/auto.cifs
- * -fstype=cifs,multiuser,cruid=${UID},sec=krb5 ://server.domain/&
- sudo service autofs reload
- multiuser
- Map user accesses to individual credentials when accessing
- the server. By default, CIFS mounts only use a single set of
- user credentials (the mount credentials) when accessing a
- share. With this option, the client instead creates a new
- session with the server using the user's credentials whenever
- a new user accesses the mount. Further accesses by that user
- will also use those credentials. Because the kernel cannot
- prompt for passwords, multiuser mounts are limited to mounts
- using sec= options that don't require passwords.
Add Comment
Please, Sign In to add comment