Unable to mount Windows Shares using valid credentials using the Linux Ram Disk

  • 7021123
  • 26-Jul-2017
  • 27-Nov-2017

Environment


PlateSpin Migrate

Situation

When attempting to mount a Windows share using the Linux Ram disk the following (or similar) message may be displayed:

mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Resolution

To avoid this error it is recommended to switch to the helper console and manually mount the windows share.

To do so, complete the following steps:

1.  Switch to the debug console by hitting ALT+F7
2. Create a directory to service as the mount point for the share using the mkdir command:

    mkdir /mnt/[SHARE NAME]

3. issue the mount command using the following (subsituting inforomation as needed):

    mount --t //[SHARE IP]/[SHARE NAME] -o username=[WINDOWS USERNAME],password=[USER PASSWORD],domain=[DOMAIN NAME],nounix,noserverinode,sec=[SECURITY MODE] /mnt/[SHARE NAME]

    where:
   
    [SHARE IP] = IP address of the server the share is on.
    [WINDOWS USERNAME] = account username used to access the share
    [DOMAIN NAME] = the name of a the domain the server is associated with. Omit this parameter if the server is not part of a domain.
    [SECURITY MODE] = the authentication protocol used on the server.   Select one of the following:

                krb5  - Kerberos version 5 authentication
                krb5i - Kerberos authentication and packet signing
                ntlm - NTLM password hashing (this is the default, )
                ntlmi - NTLM password hashing with signing
                ntlmv2 - NTLMv2 password hashing
                ntlmv2i - NTLMv2 password hashing with packet signing

Cause

The mount command used in the helper script does not specify an NTLM security mode.