[global]
netbios name = Shara
pam password change = yes
unix password sync = yes
workgroup = WORKGROUP
usershare allow guests = yes
panic action = /usr/share/samba/panic-action %d
os level = 20
default = homes
obey pam restrictions = yes
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
path = /mnt/volume-nbg1-1/shared_files
map to guest = bad user
passwd program = /usr/bin/passwd %u
max log size = 1000
wins support = true
logging = file
server role = standalone server
log file = /var/log/samba/log.%m
app.use(function (req, res, next) {
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept, Redirect");
res.header("Access-Control-Allow-Methods', 'PUT, POST, GET, DELETE, OPTIONS");
next();
});