File: //var/packages/SMBService/conf/resource
{
"webapi-desc": {
"apis": [{
"type": "webapi",
"lib": [
"usr/syno/synoman/webapi/SYNO.Core.FileServ.SMB.lib",
"usr/syno/synoman/webapi/SYNO.Core.Directory.Domain.lib"
]
}]
},
"indexdb": {
"help-index": {
"conf-relpath": "ui/helptoc.conf",
"db-relpath": "indexdb/helpindexdb"
}
},
"sdk-plugin": {
"plugins": [{
"event": "net/ipv4_change",
"relpath": "resource/sdk-plugin/samba-ip-change.sh"
}, {
"event": "net/ipv6_add",
"relpath": "resource/sdk-plugin/samba-ip-change.sh"
}, {
"event": "net/ipv6_delete",
"relpath": "resource/sdk-plugin/samba-ip-change.sh"
}, {
"event": "net/if_link_up",
"relpath": "resource/sdk-plugin/samba-if-link-updown.sh"
}, {
"event": "net/if_link_down",
"relpath": "resource/sdk-plugin/samba-if-link-updown.sh"
}, {
"event": "net/mtu_change",
"relpath": "resource/sdk-plugin/samba-mtu-change.sh"
}, {
"event": "net/hostname_change",
"relpath": "resource/sdk-plugin/samba-hostname-change.sh"
}, {
"event": "user_delete",
"relpath": "resource/sdk-plugin/samba-user-delete.sh"
}, {
"event": "volume/offline",
"relpath": "resource/sdk-plugin/samba-volume-offline.sh"
}
]
},
"usr-local-linker": {
"bin": [
"usr/sbin/nmbd",
"usr/sbin/smbd",
"usr/sbin/winbindd",
"usr/sbin/samba",
"usr/bin/cifsdd",
"usr/bin/ldbadd",
"usr/bin/ldbdel",
"usr/bin/ldbedit",
"usr/bin/ldbmodify",
"usr/bin/ldbrename",
"usr/bin/ldbsearch",
"usr/bin/net",
"usr/bin/nmblookup",
"usr/bin/ntlm_auth",
"usr/bin/pdbedit",
"usr/bin/rpcclient",
"usr/bin/samba-regedit",
"usr/bin/samba-tool",
"usr/bin/smbcacls",
"usr/bin/smbclient",
"usr/bin/smbcontrol",
"usr/bin/smbpasswd",
"usr/bin/smbspool",
"usr/bin/smbstatus",
"usr/bin/smbtree",
"usr/bin/tdbdump",
"usr/bin/tdbtool",
"usr/bin/tdbbackup",
"usr/bin/testparm",
"usr/bin/wbinfo",
"usr/bin/wspsearch"
]
},
"app-privilege": {
"rules": [{
"app_name": "SYNO.SDS.SMBService.AppPrivilege.Instance",
"default_on": true
}]
},
"healthcheck": {
"conf": ["resource/ha-monitor-config/smb.conf"]
},
"systemd-unit": {
},
"syslog-config": {
"patterndb-relpath": "resource/syslog-config/SMBService.syslog-ng",
"logrotate-relpath": "resource/syslog-config/SMBService.logrotate",
"patterninc": [{
"target-dir": "not2msg",
"conf-relpath": "resource/syslog-config/SMBService.not2msg"
}]
},
"port-config": {
"protocol-file": "resource/port-config/synosamba.sc"
},
"selfcheck": {
"support": true
},
"userdata-collector": {
"configs": [{
"relpath": "resource/user-data-collector/SMBService.config"
}]
},
"snmp": {
"configs": [{
"name": "synoSMB",
"mib-file-relpath": "mibs/SYNOLOGY-SMB-MIB.txt",
"module-so-relpath": "mibs/libsynosmbmib-SMB.so"
}]
},
"synocrond": {
"conf": "resource/user-data-collector/SMBService.synocrond.conf"
},
"feasibility-config": {
"configs": [{
"name": "share_transform",
"check-type": "share_transform",
"task": "This shared folder is currently connected by users. By converting this folder, please note that all the users will be disconnected from this folder.",
"task_i18n": "SYNO.SDS.SMBService.Instance:error:smb_kill_current_connection",
"type": "soft-check",
"plugin-relpath": "resource/feasibility/share_transform.sh",
"version": 1
}, {
"name": "volume_offline",
"check-type": "volume_offline",
"task": "Domain / LDAP: This service will be temporarily deactivated.",
"task_i18n": "SYNO.SDS.SMBService.Instance:error:voo_restart_domain_service",
"type": "soft-check",
"plugin-relpath": "resource/feasibility/volume_offline.sh",
"version": 1
}]
}
}