[Bug 613999] Re: openvpn is started after samba (smbd, nmbd)
BAGArt
613999 at bugs.launchpad.net
Wed Dec 7 06:27:47 UTC 2011
i make local fix for this problem:
open smbd on all interface(0.0.0.0) and use internal(hosts allow) and external protect
alternative: portforwarding onenVPN => 127.0.0.1 for smb working port on iface-up may help for difficult situation(i think, restart deman is bad for active users on other iface)
; IMPORTANT! default value and not work with 'bind only'
bind interfaces only = no
; disabled interfaces for bind on 0.0.0.0
; interfaces = 192.168.0.0/24 127.0.0.0/16
; permission for disablet external access. important: protect this port with firewall for posible smbd bug(ddos?)
hosts allow = 192.168.0. 127.
; check:
ps ax | grep -P 'sa?mb';echo 'netstat:';sudo netstat -ntpl | grep '139'
; must close: hosts allow
$ telnet external_ip 139
Connection closed by foreign host.
;accept
$ telnet openvpn_ip 139
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/613999
Title:
openvpn is started after samba (smbd, nmbd)
Status in “ifupdown” package in Ubuntu:
Confirmed
Status in “openvpn” package in Ubuntu:
Confirmed
Status in “samba” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: openvpn
After boot the smbd and nmbd services are not bound to the tap interface created by openvpn. I think this is because openvpn is started after samba, because after a
# service nmbd restart
# service smbd restart
everything works fine.
I saw the samba services were already converted to upstart jobs but
openvpn was not yet. Probably the rc scripts are executed after or
parallel to the other upstart jobs.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/613999/+subscriptions
More information about the foundations-bugs
mailing list