"Access denied" Samba
Hi all:
Been doing Linux/Samba for quite awhile, but recently setup a new Fedora 32 server with Samba 4.12.2.
I have been getting this problem with a Windows 7 64 Pro trying to access a samba share on the new server.
I can see the server and the share from the Windows computer, but when trying login with correct credentials get "Access denied" message. I have researched this problem without finding a solution, so any help would be appreciated
smbclient -L NEHServer -U myusername
Enter NEH\myusername's password:
Sharename Type Comment
--------- ---- -------
netshare Disk Directory for NEH company
IPC$ IPC IPC Service (Samba Server Version 4.12.2)
SMB1 disabled -- no workgroup available
[root@NEHServer /]#
/etc/samba/smb.conf
[global]
unix charset = UTF-8
workgroup = NEH
server string = Samba Server Version %v
netbios name = NEHSERVER
hosts allow = 127. 192.168.15.
hosts deny = 0.0.0.0
protocol = SMB3
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb backend = tdbsam
load printers = yes
cups options = raw
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[netshare]
comment = Directory for NEH company
path = /home/netshare
public = no
guest ok = no
valid users = @netshare
write list = @netshare
browseable = yes
writable = yes
create mask = 0770
force create mode = 0770
force group = smbgroup
I have used pretty much the same smb.conf up to Fedora 28 without any problems.
I had also tried min protocol = SMB2 with the same results.
[root@NEHServer home]# ls -l
total 24
drwx------. 3 butch butch 4096 May 20 15:00 butch
drwx------. 2 root root 16384 Jan 25 2016 lost+found
drwxrwx---. 2 butch smbgroup 4096 May 19 15:29 netshare
[root@NEHServer home]#
Any thoughts on a solution would be greatly appreciated.
seahawkJa
Last edited by seahawkJa; 05-22-2020 at 08:24 PM.
Reason: Additional info
|