I have a samba share mounted on an Ubuntu 20.04 server, here is my smb.conf
file:
[global]
## Browsing/Identification ###
workgroup = ****
security = ads
realm = ****.GRP
preferred master = no
local master = no
domain master = no
disable netbios = yes
server string = %h
idmap config * : backend = tdb
idmap config * : range = 5000-9999
idmap config **** : backend = rid
idmap config **** : range = 10000-99999
winbind separator = +
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
winbind refresh tickets = yes
username map = /etc/samba/user.map
restrict anonymous = 2
# server min protocol = SMB2_10
server min protocol = SMB3_11
#### Networking ####
socket options = TCP_NODELAY IPTOS_LOWDELAY
# interfaces = eno1 lo
bind interfaces only = yes
#### Windows-ACLs ####
vfs objects = acl_xattr
map acl inherit = Yes
store dos attributes = yes
#### Debugging/Accounting ####
log file = /var/log/samba/log.%m
max log size = 1000
log level = 1
####### Authentication #######
server role = member server
passdb backend = tdbsam
obey pam restrictions = yes
server signing = mandatory
allow insecure wide links = yes
template shell = /bin/bash
template homedir = /home/%U
####### Follow Symbolic Links in Windows #######
follow symlinks = yes
wide links = yes
unix extensions = no
The share was accessible from any windows domain client using \\share
, but now access is impossible, and I'm getting different errors like network name is not available
, or username and password are incorrect
, or we can't sign you in with this credential because your domain is not available
. I can provide more logs, I just don't know where to look for them to include them in this question.