On 2025-06-04 4:47 PM, Dave Close wrote:
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.
Is that how it was working previously, with a direct IP address connection to the share? No local DNS; no NetBIOS name service? Presumably there are no domain controllers in the environment?
Samba is installed and so is samba-swat.
If samba-swat was installed, I'm guessing the installed samba packages are 3.6.x? A parallel set of Samba 4.2 packages (prepended with samba4-*) were made available toward the end of the RHEL/CentOS 6 release cycle which no longer included samba-swat; in theory you could set that up to support higher SMB/CIFS protocol levels and better security, depending on how long the client needs to continue operating with this solution.
I'm ignoring the swat stuff as the web interface isn't really relevant to the issue.
Please tell me what I've missed or give a pointer to better help.
Anything turn up in /var/log/samba/* ?
You probably want to look at the client/server authentication configuration in the [global] section of smb.conf; if the server is configured to cap the protocol and authentication levels lower than what newer Windows clients are willing to negotiate, that could be contributing to the problem.