Adding SMB File share connection from NextCloud

Hello,

I have configured NextCloud on TrueNas via dockify. The local IP address for where it is hosted is 192.xxx.x.xx:5xxx and via cloudflare tunneling is connected to a domain called nextcloud.domain.com.

The truenas is done the same way, local IP 192.xxx.x.xx:1xxxx and via cloudflare tunneling connected to truenas.domain.com.

I have a SMB File on truenas locally which I can access no issue from my main work station (windows).

Now that I tried to get NextCloud to connect to the SMB file and it shows that configuration error occurs. I installed smbclient as well and I run the command smbclient 192.xxx.x.xx -U username. I enter the password and it gives me the error session setup failed: NT_STATUS_LOGON_FAILURE.

I’m lost and confused on what to do from here on.

Any help on this? The login details that I use work fine when I use my workstation and use file explorer to connect to it., if that helps.