Unable to connect to SMB on Linux Mint

Hello,

I have been trying to set up an SMB connection between my NAS and my computer for several days.

My NAS runs on Truenas 25.10.1.

My PC runs on Linux Mint 22.3.

When I try to connect, the connection fails every time. When I look at the logs, it seems as if the connection succeeds and then fails in less than 2 seconds.

I have tried to follow the recommendations in the FAQ. I have asked various AI for help. This has not helped. I don’t know what else to do.

Below are some sample connection logs.

Thank you in advance for your help.

***

Success: True
Logon ID: ‘0’
Logon Type: 3
Local Address: ipv4:192.168.0.23:445
Remote Address: ipv4:192.168.0.22:38474
Service Description: SMB2
Auth Description: Null
Client Domain: WORKGROUP
Client Account: t—–
Workstation: ****
Became Account: t—–
Became Domain: TRUENAS
Became Sid: S-1-5-21-1694885690-3046171230-3294293442-20071
Mapped Account: t—–
Mapped Domain: WORKGROUP
Netlogon Computer: Null
Netlogon Trust Account: Null
Netlogon Negotiate Flags: ‘0x00000000’
Netlogon Secure Channel Type: 0
Netlogon Trust Account Sid: Null
Password Type: NTLMv2
Client Policy Access Check: Null
Server Policy Access Check: Null
Vers:
Major: 0
Minor: 1
Result:
Type: NTSTATUS
Value Raw: 0
Value Parsed: SUCCESS


1 seconde Later :

Success: False
Logon ID: ‘0’
Logon Type: 3
Local Address: ipv4:192.168.0.23:445
Remote Address: ipv4:192.168.0.12:48392
Service Description: SMB2
Auth Description: Null
Client Domain: ‘’
Client Account: T—–
Workstation: Salon
Became Account: Null
Became Domain: Null
Became Sid: Null
Mapped Account: T—–
Mapped Domain: ‘’
Netlogon Computer: Null
Netlogon Trust Account: Null
Netlogon Negotiate Flags: ‘0x00000000’
Netlogon Secure Channel Type: 0
Netlogon Trust Account Sid: Null
Password Type: NTLMv2
Client Policy Access Check: Null
Server Policy Access Check: Null
Vers:
Major: 0
Minor: 1
Result:
Type: NTSTATUS
Value Raw: 3221225578
Value Parsed: NT_STATUS_WRONG_PASSWORD

What is your command to connect?

I use TrueNAS with SMB and NFS, using Mint for years

sudo mount -t cifs -o username=[user on truenas],domain=[TrueNAS (my server name)],uid=$(id -u),gid=$(id -g) //TrueNAS Server IP/[Mount] /home/[your user]/[your local drive to map to]/

Can you post a screen shot of your SMB configuration in TrueNas?

I can’t share the picture

Here the parameters :

NetBIOS Name : truenas

Workgroup : WORKGROUP

Description : TrueNAS Server

SMB 1 support : disabled

NTLMv1 Auth : disabled

UNIX Charset : UTF-8

Transport Encryption Behavior : Default - follow upstream / TrueNAS default

Use Debug : disabled

Use Syslog Only : disabled

Local Master : Enabled

Enable SMB 2/3 Protocol Extensions : disabled

Multichannel : disabled

Administrators Group : nothing

Guest Account : nobody

File Mask : DEFAULT

Directory Mask : DEFAULT

Bind IP Adresses : No items

I forgot to mention that a WebDAV connection configuration is also active on the NAS.

The WebDAV configuration is done via a Docker container.

Could this configuration conflict with the SMB connection?

Are you sharing the same dataset with multiple protocols?

Yes, I share the same dataset with both protocols