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!

Upgrade 10.1.0.2.1761 to 10.2.0.2.1803 breaks CIFS/SMB

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
jackstraw
NewUser
NewUser
Posts: 5
Joined: 21 Oct 2014 19:37
Status: Offline

Upgrade 10.1.0.2.1761 to 10.2.0.2.1803 breaks CIFS/SMB

Post by jackstraw »

I have tried upgrading from 10.1 to 10.2 a couple of times [different 10.2 builds] and in each case my working CIFS/SMB shares break. This is connecting from Win 10 x64 release, using only local SAM credentials [not pin or microsoft live account]. The error is: The password is invalid, followed by System error 5 has occurred then Access is denied. This is connecting to a local user account on NAS4Free and I reconfirmed the password as correct - if I downgrade to 10.1 the connection starts working again.

In Services | CIFS/SMB | Settings | Auxiliare parameters I have the following: client signing = mandatory, restrict anonymous = 1 [for improved security]. These work fine in 10.1. From the Win 10 topic in this thread I tried adding 'smb port = 445' but that did not seem to make any difference. I suspect something has changed in the Samba configuration for 10.2. Have others seen Samba issues like this between 10.1 and 10.2? Thanks

jackstraw
NewUser
NewUser
Posts: 5
Joined: 21 Oct 2014 19:37
Status: Offline

Re: Upgrade 10.1.0.2.1761 to 10.2.0.2.1803 breaks CIFS/SMB

Post by jackstraw »

The problem appears to be a username consisting of all digits e.g. 123456. In 10.1 it works fine, in 10.2 it fails, because no user entry is created in /etc/master.passwd. A username consisting of alpha characters e.g. jackstraw works fine and shows up in /etc/master.passwd. I suspect this is a bug with the web interface and/or backend used for user account creation.

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: Upgrade 10.1.0.2.1761 to 10.2.0.2.1803 breaks CIFS/SMB

Post by daoyama »

This is not NAS4Free change. It's FreeBSD's change since 10.2.
Yes, you cannot use numeric string in 10.2 series and later version like 10.3, 11.0 etc.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

Post Reply

Return to “CIFS/SMB (Samba)”