Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-5939: Automount CIFS shares via autofs

12 April,16 at 11:44 AM

Applies to all versions of Centrify DirectControl on all platforms


How can I utilize autofs to automount CIFS shared home directories (or other shares) hosted via Samba?


Unfortunately, this is not a supported configuration due to limitations in mount.cifs. The autofs daemon is running as root and presents the following problems:

(1) root (local user) has no Kerberos credentials of its own

(2) Because of this, the share cannot mount as the (AD) user who holds the necessary credentials

You can certainly work around the above two points by running the autofs daemon as an AD user, or migrating root to AD and this will allow the share(s) to be automounted. However, because the daemon still runs as this user and shares are mounted as this user, everyone will be mounting as the single designated user and the share will be accessed as this single user, with files created owned by the same. Thus, this workaround is not feasible.