As I said synology takes the Samba code and mangles it, I do not recognise these:
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 NASCode:
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
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
Code:
guest ok = Yes
Code:
map to guest = bad user
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
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