Guest User

Untitled

a guest
Nov 8th, 2017
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. root@xxxehpvld05 ~ $ mount.cifs -vv //zhp-nas.xxx.com/perspectives /mnt/secure/cifs -o credentials=/etc/cifs.creds
  2. mount error(13): Permission denied
  3. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
  4. root@xxxehpvld05 ~ $ dmesg | tail
  5. CIFS VFS: cifs_mount failed w/return code = -13
  6. Status code returned 0xc000006a NT_STATUS_WRONG_PASSWORD
  7. CIFS VFS: Send error in SessSetup = -13
  8. CIFS VFS: cifs_mount failed w/return code = -13
  9. Status code returned 0xc000006a NT_STATUS_WRONG_PASSWORD
  10. CIFS VFS: Send error in SessSetup = -13
  11. CIFS VFS: cifs_mount failed w/return code = -13
  12. Status code returned 0xc000006a NT_STATUS_WRONG_PASSWORD
  13. CIFS VFS: Send error in SessSetup = -13
  14. CIFS VFS: cifs_mount failed w/return code = -13
  15.  
  16. root@xxxehpvld05 ~ $ smbclient -L //zhp-nas.xxx.com/perspectives -A /etc/cifs.creds
  17. Domain=[XXX] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
  18.  
  19. Sharename Type Comment
  20. --------- ---- -------
  21. IPC$ IPC Remote IPC
  22. ZHPSubmit-dev Disk
  23. [...snip...]
  24.  
  25. -A|--authentication-file=filename
  26. This option allows you to specify a file from which to read the
  27. username and password used in the connection. The format of the file is
  28.  
  29. username = <value>
  30. password = <value>
  31. domain = <value>
  32.  
  33. Make certain that the permissions on the file restrict access from
  34. unwanted users.
  35.  
  36. credentials=filename
  37. specifies a file that contains a username and/or password and
  38. optionally the name of the workgroup. The format of the file is:
  39.  
  40. username=value
  41. password=value
  42. domain=value
  43.  
  44. mount.cifs -vvv //host/path /local/path -o credentials=/path/creds
  45.  
  46. # mount.cifs -vvv //host/path /local/path -o credentials=/path/creds.spacy
  47. mount error(13): Permission denied
  48. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
  49.  
  50. auto,rw,credentials=/usr/local/etc/smb.credentials,vers=3.0,file_mode=0664,dir_mode=0775,uid=myuser,gid=users
  51.  
  52. username=myuser
  53. password=****
  54. domain=mydomain
Add Comment
Please, Sign In to add comment