Unable to mount smb share on Windows/Mac

justinswood

Cadet
Joined
Dec 27, 2020
Messages
2
Hi everyone, I'm new to Truenas and I just did my first installation which went smoothly until I had to mount the share to access on my machines. When I'm attempting to mount the smb share on my Mac by entering in my credentials, I getting an error message saying that it can't connect to the server. Funny enough if I enter in the credentials incorrectly I don't get the error message the window the shakes showing that it can't authenticate. It seems like it's recognizing my credentials at the very least, but I can't connect. The same issue is occurring in Windows where I can't connect. Here are some screenshots from my system, I would greatly appreciate any guidance. Thank you
 

Attachments

  • Screen Shot 2020-12-27 at 5.28.03 PM.png
    Screen Shot 2020-12-27 at 5.28.03 PM.png
    212.1 KB · Views: 300
  • Screen Shot 2020-12-27 at 5.28.25 PM.png
    Screen Shot 2020-12-27 at 5.28.25 PM.png
    268.5 KB · Views: 363
  • Screen Shot 2020-12-27 at 5.28.45 PM.png
    Screen Shot 2020-12-27 at 5.28.45 PM.png
    278 KB · Views: 272
  • Screen Shot 2020-12-27 at 5.28.59 PM.png
    Screen Shot 2020-12-27 at 5.28.59 PM.png
    400.9 KB · Views: 268
  • Screen Shot 2020-12-27 at 5.29.24 PM.png
    Screen Shot 2020-12-27 at 5.29.24 PM.png
    255.1 KB · Views: 254
  • Screen Shot 2020-12-27 at 5.30.57 PM.png
    Screen Shot 2020-12-27 at 5.30.57 PM.png
    279.8 KB · Views: 368

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
I am sure you missed a step. Here are links to a couple videos that step through the process. You should probably watch a couple of them to familiarize yourself with the steps.




 

Tabmowtez

Dabbler
Joined
Nov 12, 2020
Messages
36
I think I may have encountered this issue before. Are you using the hostname to try and mount the share? Can you try the IP address if you haven't already?
 

justinswood

Cadet
Joined
Dec 27, 2020
Messages
2
I'm using the IP address to try and mount right now, I can try using the hostname though
 

Tabmowtez

Dabbler
Joined
Nov 12, 2020
Messages
36
I'm using the IP address to try and mount right now, I can try using the hostname though
I had a weird issue where I couldn't auth via the hostname/fqdn but the IP worked fine. I never did get down to the bottom of it so I was just wondering if you may have encountered something similar...
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I had a weird issue where I couldn't auth via the hostname/fqdn but the IP worked fine. I never did get down to the bottom of it so I was just wondering if you may have encountered something similar...
If you run the command midclt call smb.status AUTH_LOG | jq you can see details of authentication attempts over SMB. Here's an example:
Code:
  {
    "timestamp": "2020-12-30T07:15:29.311257-0800",
    "type": "Authentication",
    "Authentication": {
      "version": {
        "major": 1,
        "minor": 2
      },
      "eventId": 4624,
      "logonId": "0",
      "logonType": 3,
      "status": "NT_STATUS_OK",
      "localAddress": "ipv4:192.168.1.200:445",
      "remoteAddress": "ipv4:192.168.1.116:49682",
      "serviceDescription": "SMB2",
      "authDescription": null,
      "clientDomain": "HOMENAS",
      "clientAccount": "administrator",
      "workstation": "ANDREWS-MBP",
      "becameAccount": "administrator",
      "becameDomain": "HOMENAS",
      "becameSid": "S-1-5-21-1842518067-541413841-1738574118-1072",
      "mappedAccount": "administrator",
      "mappedDomain": "HOMENAS",
      "netlogonComputer": null,
      "netlogonTrustAccount": null,
      "netlogonNegotiateFlags": "0x00000000",
      "netlogonSecureChannelType": 0,
      "netlogonTrustAccountSid": null,
      "passwordType": "NTLMv2",
      "duration": 1023665
    }
  }



My client made an authentication attempt using NTLMv2
Code:
 "passwordType": "NTLMv2",

with the account "administrator"
Code:
 "clientAccount": "administrator",

and the result was successful:
Code:
      "status": "NT_STATUS_OK",
 
Joined
Jan 22, 2023
Messages
1
I had a weird issue where I couldn't auth via the hostname/fqdn but the IP worked fine. I never did get down to the bottom of it so I was just wondering if you may have encountered something similar...
I just ran across this issue myself. Found the solution in a different post located here:
 
Top