I have been looking around to no avail. RHEL 6.4
I can run the following from a remote server, and successfully authenticates against LDAP:
smbclient -L //tric4t/share -U username
Once I run smbclient //tric4t/share -U username
, then
smb: \> ls
NT_STATUS_ACCESS_DENIED listing \*
I have the following log errors:
[root@tric4t samba]# tail -4 log.smbd
smbd version 3.6.9-167.el6_5 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
[2014/03/04 09:24:10.470639, 0] lib/util_sock.c:628(open_socket_in)
open_socket_in(): setsockopt: SO_REUSEPORT = true on port 445 failed with error = Protocol not available
root@tric4t samba]# tail -4 log.nmbd
[2014/03/04 09:24:16, 0] lib/util_sock.c:628(open_socket_in)
open_socket_in(): setsockopt: SO_REUSEPORT = true on port 137 failed with error = Protocol not available
Any assistance would be greatly appreciated!
Best Answer
I solved such issue caused by selinux. NMB reported protocol not available on port 137. SMB reported the same on port 139. I switched Selinux off on /etc/selinux/config and Samba started working fine. BTW this selinux is a great tool for peopleĀ“s patience examination ;-)