[global]
workgroup = WORKGROUP
netbios name = srv
guest account = samba
security = user
map to guest = Bad user
browsable =yes
[DATA_PUB]
comment = public share
path = /DATA/samba_pub/
browsable =yes
writable = yes
guest ok = yes
read only = no
force user = samba
force group = users
create mask = 770
directory mask = 770
public = yes
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_smb._tcp</type>
<port>445</port>
</service>
<service>
<type>_device-info._tcp</type>
<port>0</port>
<txt-record>model=RackMac</txt-record>
</service>
</service-group>
ExecStart=/usr/bin/wsdd --shortlog --workgroup WORKGROUP
Клиент не за NAT'ом, но сервер за ним, там порты тоже открыты.
SSMTP.