This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[HOW TO] Fix authentication problem for older clients in XigmaNAS

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
isoellias
NewUser
NewUser
Posts: 9
Joined: 24 Jul 2019 15:41
Location: Brasil, RS
Status: Offline

[HOW TO] Fix authentication problem for older clients in XigmaNAS

Post by isoellias »

Hello,
I would like to contribute to the forum with this little How To.
When you set up a default samba share, it may not be accessible to other platforms. Type FreeBSD client, Linux or even some older Windows.

Error:

Client FreeBSD:

Code: Select all

mount_smbfs -I <ip-host> -U <user> //<netbios-name>/<share> /mnt/bkp
Password: ********
mount_smbfs: unable to open connection: syserr = Authentication error
Client Linux

Code: Select all

mount -v -t cifs //<ip-host>/<share> /mnt/bkp -o username=<user>, password=<*******>, noperm
mount error 13 = Permission denied
Refer to the mount.cifs (8) manual page (e.g.man mount.cifs)
This must be due to the evolution of the smb protocol. Because of this, older systems may not support "NTLMv2" authentication.

To remedy this problem add these two parameters to: "Additional Parameters [Global]" (SERVICES>CIFS/SMB)
xigmanas_smb_ntlmv2.PNG
Thankful!
You do not have the required permissions to view the files attached to this post.
Last edited by isoellias on 02 Aug 2019 15:02, edited 1 time in total.
12.0.0.4 - Reticulus (revision 6766) | FreeBSD 12.0-RELEASE-p6
x64-full on Intel Xeon 2.33GHz | 4G/Ram
Two 2Tb disks over zraid

sleid
PowerUser
PowerUser
Posts: 774
Joined: 23 Jun 2012 07:36
Location: FRANCE LIMOUSIN CORREZE
Status: Offline

Re: How to fix authentication problem for older clients in XigmaNAS

Post by sleid »

README XigManas:

cifs/smb note:
==============
From Samba 4.5.0 and up the default value for the "ntlm auth" option is changed from "yes" to "no".
This may have impact on very old clients which doesn't support NTLMv2 yet.
Only if you really need NTLMv1 Authentication you can set in Services > CIFS/SMB > Settings on
Additional Parameters: "ntlm auth = yes".
12.1.0.4 - Ingva (revision 7852)
FreeBSD 12.1-RELEASE-p12 #0 r368465M: Tue Dec 8 23:25:11 CET 2020
X64-embedded sur Intel(R) Atom(TM) CPU C2750 @ 2.40GHz Boot UEFI
ASRock C2750D4I 2 X 8GB DDR3 ECC
Pool of 2 vdev Raidz1: 3 WDC WD40EFRX + 3 WDC WD40EFRX

isoellias
NewUser
NewUser
Posts: 9
Joined: 24 Jul 2019 15:41
Location: Brasil, RS
Status: Offline

Re: How to fix authentication problem for older clients in XigmaNAS

Post by isoellias »

Good Morning!
Thank you for your contribution in bringing this official information.
I believe that just putting this flag "ntlm auth = yes" already shows result. Because it is likely that more modern customers will use "NTLMv2".
Thankful.
12.0.0.4 - Reticulus (revision 6766) | FreeBSD 12.0-RELEASE-p6
x64-full on Intel Xeon 2.33GHz | 4G/Ram
Two 2Tb disks over zraid

sleid
PowerUser
PowerUser
Posts: 774
Joined: 23 Jun 2012 07:36
Location: FRANCE LIMOUSIN CORREZE
Status: Offline

Re: [HOW TO] Fix authentication problem for older clients in XigmaNAS

Post by sleid »

2018 december
12.1.0.4 - Ingva (revision 7852)
FreeBSD 12.1-RELEASE-p12 #0 r368465M: Tue Dec 8 23:25:11 CET 2020
X64-embedded sur Intel(R) Atom(TM) CPU C2750 @ 2.40GHz Boot UEFI
ASRock C2750D4I 2 X 8GB DDR3 ECC
Pool of 2 vdev Raidz1: 3 WDC WD40EFRX + 3 WDC WD40EFRX

Post Reply

Return to “CIFS/SMB (Samba)”