Samba: Linux Iptables Firewall Configuration

Posted on in Categories , , , , , , , , , last updated March 31, 2017

How do I configure iptables firewall under CentOS / Fedora / RHEL / Redhat Linux to allow access to the Samba server? How do I open TCP ports # 137, 138, 139 and 445 under Linux so that all Microsoft Windows machine can access files and printer on a Linux host?

axfr-get: fatal: unable to parse AXFR results: protocol error and Solution

Posted on in Categories , , , , , , , , , , , , last updated July 5, 2009

I‘m trying to get data (AXFR query) from master tinydns server to secondary DNS server using tcpclient as follows:
tcpclient -v a.ns.example.com 53 axfr-get example.com example.com example.com.tmp

But I’m getting an error which read as follows:

>axfr-get: fatal: unable to parse AXFR results: protocol error

How do I fix this problem?