Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4816

Troubleshooting • Re: Pi5 hanging when transfering large files to NAS

$
0
0

As requested I have included the output from testparm -s for both the Pi5 and the NAS. As this is a public website I have deleted some sensitive information from the NAS output.

Synology NAS

Code:

Load smb config files from /etc/samba/smb.conflpcfg_do_global_parameter: WARNING: The "ldap ssl ads" option is deprecatedlpcfg_do_global_parameter: WARNING: The "encrypt passwords" option is deprecated/etc/samba/smb.reserved.conf not foundLoaded services file OK.Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)Server role: ROLE_STANDALONE# Global parameters[global]        passdb backend = smbpasswd        printcap name = cups        realm = *        security = USER        server max protocol = SMB2        server signing = No        winbind enum groups = Yes        winbind enum users = Yes        workgroup = xxxxxx        notify:synotify = yes        rpc_server:msftewds = disabled        rpc_daemon:wspd = disabled        fruit:locking = none        rpc_server:mdssvc = embedded        rpc_daemon:mdssd = disabled        idmap config * : backend = syno        durable handles = No        include = /var/tmp/nginx/smb.netbios.aliases.conf        strict sync = No[RPi]        comment = "Shared Raspberry Pi Data"        edit synoacl = Yes        enable recycle bin = Yes        guest ok = Yes        hide unreadable = Yes        invalid users = nobody,nobody        path = /volume1/RPi        read list = nobody,nobody        read only = No        service exist = Yes        skip smb perm = Yes        syno fstype = 2        valid users = nobody,nobody        win share = Yes        write list = nobody,nobody
As I said synology takes the Samba code and mangles it, I do not recognise these:

Code:

        notify:synotify = yes        idmap config * : backend = syno        edit synoacl = Yes        enable recycle bin = Yes        service exist = Yes        skip smb perm = Yes        syno fstype = 2        skip smb perm = Yes        syno fstype = 2        win share = Yes
You also have in ' [RPi]':

Code:

guest ok = Yes
On Samba, this would require in 'global':

Code:

map to guest = bad user
But it isn't there, is this something else synology has changed ?

You also have these set on the share:

Code:

        invalid users = nobody,nobody        read list = nobody,nobody        valid users = nobody,nobody        write list = nobody,nobody
On Samba, the default guest user is 'nobody' (which may or may not be being used by your synology device), but on Samba, being in the 'invalid users' list takes precedence over the 'valid users' and 'nobody' will be denied access.

I will say it again, you need to contact synology, I doubt if anyone here can help you and you will not get any help from the samba mailing list, the synology changes are so large,

Statistics: Posted by hortimech — Wed Nov 20, 2024 10:04 am



Viewing all articles
Browse latest Browse all 4816

Trending Articles