Guest User

Untitled

a guest
Apr 19th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. sudo apt install autofs keyutils cifs-utils
  2.  
  3. /cifs /etc/auto.cifs
  4.  
  5. * -fstype=cifs,multiuser,cruid=${UID},sec=krb5 ://server.domain/&
  6.  
  7. sudo service autofs reload
  8.  
  9. multiuser
  10. Map user accesses to individual credentials when accessing
  11. the server. By default, CIFS mounts only use a single set of
  12. user credentials (the mount credentials) when accessing a
  13. share. With this option, the client instead creates a new
  14. session with the server using the user's credentials whenever
  15. a new user accesses the mount. Further accesses by that user
  16. will also use those credentials. Because the kernel cannot
  17. prompt for passwords, multiuser mounts are limited to mounts
  18. using sec= options that don't require passwords.
Add Comment
Please, Sign In to add comment