cifs_mount失败w /返回码= -111表示什么?

Ada*_*nas 4 mount cifs

命令:

sudo mount -t cifs //<server>/<share> -o username=user@domain,password=**** /mnt/<mountpoint>

错误信息:

Unable to find suitable address.

系统日志有:

CIFS VFS: Error connecting to socket. Aborting operation. CIFS VFS: cifs_mount failed w/return code = -111

当我查看mount via的文档时 man mount

我看到有关错误代码的以下信息:

   RETURN CODES
   mount has the following return codes (the bits can be ORed):

   0      success
   1      incorrect invocation or permissions
   2      system error (out of memory, cannot fork, no more loop devices)
   4      internal mount bug
   8      user interrupt
   16     problems writing or locking /etc/mtab
   32     mount failure
   64     some mount succeeded
Run Code Online (Sandbox Code Playgroud)

那么-111和1的意思相同吗?如果是这样,您如何诊断它的权限或命令是否正确?

Tan*_*n六四 6

111 = 64+32+8+4+2+1

所以它意味着告诉你除了16之外你都会遇到每个错误.

在我的Ubuntu 14.04上,我不得不添加-o sec=ntlmv2或者它总是会给我111错误,但我不需要在我的Ubuntu 15.04上使用该选项.这不是很困惑吗?