testparm -s
Load smb config files from /etc/samba/smb.conf
lpcfg_do_global_parameter: WARNING: The "ldap ssl ads" option is deprecated
/etc/samba/smb.reserved.conf not found
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)
WARNING: The 'client ipc signing' value may mean SMB signing is not used when contacting a domain controller or other server. This setting is not recommended; please be aware of the security implications when using this configuration setting.
WARNING: You have not configured 'reject md5 servers = yes' (the default). Your server is vulernable to CVE-2022-38023
If required use individual 'reject md5 servers:NETBIOSDOMAIN = no' options
Server role: ROLE_STANDALONE
# Global parameters
[global]
    passdb backend = smbpasswd
    printcap name = cups
    realm = *
    security = USER
    server min protocol = SMB2
    server signing = No
    smb2 leases = Yes
    syno catia = Yes
    syno directory lease grant restrict home only = Yes
    winbind enum groups = Yes
    winbind enum users = Yes
    winbind expand groups = 1
    notify:synotify = yes
    rpc_server:msftewds = external
    rpc_daemon:wspd = fork
    fruit:locking = none
    rpc_server:mdssvc = external
    rpc_daemon:mdssd = fork
    tdb_hashsize:netsamlogon_cache.tdb = 768
    tdb_hashsize:smbprofile.tdb = 1536
    tdb_hashsize:leases.tdb = 10007
    tdb_hashsize:smbxsrv_open_global.tdb = 10007
    tdb_hashsize:locking.tdb = 10007
    tdb_hashsize:smbxsrv_tcon_global.tdb = 768
    tdb_hashsize:smbxsrv_session_global.tdb = 768
    idmap config * : backend = syno
    durable handles = No
    follow symlinks = Yes
    include = /var/tmp/nginx/smb.netbios.aliases.conf
    strict sync = No
    syno directory lease grant = Yes
[Diskstation]
    comment = "Diskstation"
    edit synoacl = Yes
    enable recycle bin = Yes
    guest ok = Yes
    invalid users = nobody,nobody
    path = /volume1/Diskstation
    read list = nobody,nobody
    read only = No
    recycle bin admin only = Yes
    service exist = Yes
    strict allocate = No
    syno directory lease grant = No
    syno fstype = 3
    valid users = nobody,@administrators,@fs-users,nobody
    win share = Yes
    write list = nobody,@fs-users,@administrators,nobody
[Test]
    comment = "Test"
    edit synoacl = Yes
    enable recycle bin = Yes
    guest ok = Yes
    invalid users = nobody,nobody
    path = /volume1/Test
    read list = nobody,nobody
    read only = No
    recycle bin admin only = Yes
    service exist = Yes
    skip smb perm = Yes
    strict allocate = No
    syno directory lease grant = No
    syno fstype = 3
    valid users = nobody,nobody
    win share = Yes
    write list = nobody,nobody