UNPKG

node-smb-server

Version:

A Pure JavaScript SMB Server Implementation

114 lines (113 loc) 2.66 kB
{ "listen" : { "port" : 8445, "host" : "0.0.0.0" }, "domainName" : "WORKGROUP", "allowAnonymous" : false, "smb2Support": false, "extendedSecurity": true, "users" : { "test" : { "lmHash" : "01fc5a6be7bc6929aad3b435b51404ee", "ntlmHash" : "0cb6948805f797bf2a82807973b89537" }, "admin" : { "lmHash" : "f0d412bd764ffe81aad3b435b51404ee", "ntlmHash" : "209c6174da490caeb422f3fa5a7ae634" }, "guest" : { "lmHash" : "aad3b435b51404eeaad3b435b51404ee", "ntlmHash" : "31d6cfe0d16ae931b73c59d7e0c089c0" } }, "shares": { "FS": { "backend": "fs", "description": "fs-based test share", "path": "./smbroot" }, "DAM": { "backend": "dam", "description": "DAM-based test share", "host": "localhost", "port": 4502, "protocol": "http:", "auth": { "user": "<user>", "pass": "<pwd>" }, "maxSockets": 64, "allCacheTTL": 1800000, "contentCacheTTL": 30000, "binCacheTTL": 600000 }, "JCR": { "backend": "jcr", "description": "AEM-based test share", "host": "localhost", "port": 4502, "protocol": "http:", "auth": { "user": "<user>", "pass": "<pwd>" }, "path": "/", "maxSockets": 64, "allCacheTTL": 1800000, "contentCacheTTL": 30000, "binCacheTTL": 600000 }, "RQ": { "backend": "rq", "description": "rq-based test share", "host": "localhost", "port": 4502, "protocol": "http:", "auth": { "user": "<user>", "pass": "<pwd>" }, "maxSockets": 64, "allCacheTTL": 1800000, "contentCacheTTL": 30000, "binCacheTTL": 600000, "expiration": 30000, "frequency": 3000, "maxRetries": 3, "retryDelay": 10000, "modifiedThreshold": 100, "tmpPath": "./smbrqroot", "local":{ "backend": "fs", "description": "fs test share local", "path": "./smbrqroot" }, "work": { "backend": "fs", "description": "fs test share work", "path": "./smbrqwork" }, "events": [ "syncfilestart", "syncfileend", "syncfileerr", "syncfileabort", "syncfileprogress", "syncerr", "syncpurged", "syncconflict", "folderlist", "requestqueueinit", "longdownload", "downloadprogress", "downloadstart", "downloadend", "downloaderr" ], "preserveCacheFiles": [ "request-queue.nedb" ] } } }