smb.conf:
[global]
workgroup = workgroup
server string = %h server (Samba, Ubuntu)
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = share
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
include = /home/samba/etc/smb.conf.%m
usershare allow guests = yes
guest ok = yes
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[Hudba]
path = /home/ibm/Hudba
writeable = yes
guest ok = yes
---
pdbedit -L:
nobody:65534:nobody
ibm:1000:ibm
---
netstat -an | grep ^tcp.*LISTEN:
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:54577 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:49138 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:57469 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:34885 0.0.0.0:* LISTEN
tcp6 0 0 ::1:631 :::* LISTEN
tcp6 0 0 :::445 :::* LISTEN
tcp6 0 0 :::139 :::* LISTEN
---
ps faux | grep smb:
root 623 0.0 0.2 15308 3944 ? Ss 08:49 0:00 smbd -F
root 721 0.0 0.0 15308 1176 ? S 08:49 0:00 \_ smbd -F
nobody 3990 0.0 0.2 15388 3220 ? S 13:29 0:00 \_ smbd -F
root 4220 0.0 0.0 2312 780 pts/0 S+ 14:09 0:00 \_ grep smb
---
iptables -L:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
---
vysledek je ten, ze jsem z toho uplne pryc

[a ted jeste prijit na to, jak dostat z hlavy ms winservery a jejich genialne jednoduche nastaveni user policies

]