SAMBA not excepting credentials (yes, the proper credentials)

Issues related to configuring your network
Post Reply
The.Ex-pat
Posts: 9
Joined: 2019/06/21 00:07:29

SAMBA not excepting credentials (yes, the proper credentials)

Post by The.Ex-pat » 2020/04/28 20:00:52

Today, I setup a new local secure SMB share and my credentials are being rejected.
log file is giving me -

Code: Select all

[2020/04/28 14:59:11.104817,  0] ../../libcli/smb/smb2_signing.c:169(smb2_signing_check_pdu)
  Bad SMB2 signature for message
I've tried adjusting the privileges, ownership and I've added 2 separate user accounts to the user group. I've made smb passwords for both.
Nothing is working for me.

Thank you for any suggestions. below is my SMB.CONF

Thank you for any suggestions.

Code: Select all

[global]
workgroup = WORKGROUP
server string = Samba Server %v
netbios name = MEX01
security = user
map to guest = bad user
dns proxy = no
server signing = auto
log file = /var/log/samba/log.%m
#============================ Share Definitions ==============================
[MEX-Local]
path = /mnt/MEX-Local
browsable =yes
writable = yes
guest ok = yes
read only = no

[MEX-Local-Secure]
path = /mnt/MEX-Local-Secure
valid users = @smbgrp
guest ok = no
writable = yes
browsable = yes

The.Ex-pat
Posts: 9
Joined: 2019/06/21 00:07:29

Re: SAMBA not excepting credentials (yes, the proper credentials)

Post by The.Ex-pat » 2020/04/29 16:54:00

Some follow up, more info from the terminal.

permissions

Code: Select all

drwxr-xr-x. 10 nobody   nobody 4096 Dec  6 15:10 local
drwxrwx---.  3 ginRummy smbgrp   18 Apr 29 12:19 secure
Things have changed. a little, samba is now accepting the credentials however not allowing me to modify the contents of the share in any way from the windows machine. The anon share is functioning flawless.

User avatar
TrevorH
Forum Moderator
Posts: 28839
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: SAMBA not excepting credentials (yes, the proper credentials)

Post by TrevorH » 2020/04/29 17:40:55

Read /etc/samba/smb.conf.example for instructions on making it work with selinux
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

The.Ex-pat
Posts: 9
Joined: 2019/06/21 00:07:29

Re: SAMBA not excepting credentials (yes, the proper credentials)

Post by The.Ex-pat » 2020/04/29 18:49:03

I disabled it and I'm still having SMB2 problems.

The.Ex-pat
Posts: 9
Joined: 2019/06/21 00:07:29

Re: SAMBA not excepting credentials (yes, the proper credentials)

Post by The.Ex-pat » 2020/04/30 13:30:48

I solved it. The problem was with the windows client, not the samba server.

Thank yoiu.

Post Reply

Return to “CentOS 7 - Networking Support”