On Wed, 4 Jun 2025 at 18:48, Dave Close dave@compata.com wrote:
Sorry to address such an old and obsolete system. A customer is migrating up from Centos 6 but needs to keep it working a little while longer.
The issue now is that Windows users are unable to map a drive letter to a Centos directory. When they go to map the drive (to "\ip\public"), Windows says the connection is rejected, with no further details. I presume some configuration is set wrong but I haven't been able to find it after reading man pages and Google stuff.
Samba is installed and so is samba-swat. But I can't get port 901 open so I can verify proper configuration of SMB. Relevant lines in current files:
/etc/services: swat 901/tcp smpnameres # Samba Web Administration Tool
/etc/samba/smb.conf: [/public] path = /public public = yes writable = yes printable = yes write list = +users
iptables -L: -A INPUT -p tcp -m tcp --dport 901 -j ACCEPT
But: $ nmap -sT -p901 localhost PORT STATE SERVICE 901/tcp closed samba-swat
That means samba-swat started up, opened the port, and then possibly died so it then closed the port. You will need to look at logs to see why the process is dieing or erroring out.