Eu resolvi o problema corrigindo o arquivo ~ / .smbcredentials .
Antes, o conteúdo do arquivo ~ / .smbcredentials é:
username=TMGRID/AppControlTeam
password=************
Corri sudo mount
causará a mensagem de erro
[acteam@irv-guen] - [~] - [2017-08-04 00:54:59]
[32] sudo mount -vvv -t cifs -o credentials=/home/acteam/.smbcredentials,sec=ntlm //10.2.3.111/Files /media/IRV-GUEN-WINF_Files
mount: fstab path: "/etc/fstab"
mount: mtab path: "/etc/mtab"
mount: lock path: "/etc/mtab~"
mount: temp path: "/etc/mtab.tmp"
mount: UID: 0
mount: eUID: 0
mount: spec: "//10.2.3.111/Files"
mount: node: "/media/IRV-GUEN-WINF_Files"
mount: types: "cifs"
mount: opts: "credentials=/home/acteam/.smbcredentials,sec=ntlm"
mount: external mount: argv[0] = "/sbin/mount.cifs"
mount: external mount: argv[1] = "//10.2.3.111/Files"
mount: external mount: argv[2] = "/media/IRV-GUEN-WINF_Files"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw,credentials=/home/acteam/.smbcredentials,sec=ntlm"
mount.cifs kernel mount options: ip=10.2.3.111,unc=\10.2.3.111\Files,sec=ntlm,user=TMGRID/AppControlTeam,pass=********
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
O / var / log / syslog é
Aug 4 00:59:03 irv-guen kernel: [50881.183164] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
Aug 4 00:59:03 irv-guen kernel: [50881.183171] CIFS VFS: Send error in SessSetup = -13
Aug 4 00:59:03 irv-guen kernel: [50881.183363] CIFS VFS: cifs_mount failed w/return code = -13
Depois de modificar o conteúdo do arquivo ~ / .smbcredentials para:
username=AppControlTeam
password=***********
domain=tmgrid.local
e executou sudo mount
o resultado é
[acteam@irv-guen] - [~] - [2017-08-04 00:59:03]
[32] sudo mount -vv -t cifs -o credentials=/home/acteam/.smbcredentials,sec=ntlm //10.2.3.111/Files /media/IRV-GUEN-WINF_Files
domain=tmgrid.local
mount.cifs kernel mount options: ip=10.2.3.111,unc=\10.2.3.111\Files,sec=ntlm,user=AppControlTeam,,domain=tmgrid.local,pass=********
Agora posso navegar pela pasta compartilhada do Windows montada
[acteam@irv-guen] - [~] - [2017-08-04 01:02:58]
[0] l /media/IRV-GUEN-WINF_Files
total 8.0K
drwxr-xr-x 2 root root 4.0K Aug 3 02:14 .
drwxr-xr-x 5 root root 4.0K Aug 4 00:53 ..
drwxr-xr-x 2 root root 0 Jul 10 02:11 Archive
drwxr-xr-x 2 root root 0 Jul 27 04:21 ExtractedDirectory
drwxr-xr-x 2 root root 0 Aug 3 02:14 GUEN_Linux
drwxr-xr-x 2 root root 0 Aug 2 06:58 GUEN_QA
drwxr-xr-x 2 root root 0 Jul 10 02:14 PackageDirectory
drwxr-xr-x 2 root root 0 Jul 31 01:46 SamplesForQATesting