Our environment uses samba shares with sssd. Configuration provided below. When users are connecting the shares from windows, its prompting for credentials. Access denied screenshot provided. Is there anything that i missed out configuring. Kindly help.
Below is the samba configuation.
[global]
realm = EXAMPLE.LOCAL
workgroup = EXAMPLE
security = ads
kerberos method = secrets and keytab
template homedir = /home/%U
idmap config * : backend = tdb
idmap config * : range = 10000-199999
idmap config EXAMPLE : backend = sss
idmap config EXAMPLE : range = 200000-2147483647
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
machine password timeout = 0
SSSD.config file.
[domain/EXAMPLE.LOCAL]
default_shell = /bin/bash
krb5_store_password_if_offline = False
cache_credentials = False
krb5_realm = EXAMPLE.LOCAL
realmd_tags = manages-system joined-with-samba
id_provider = ad
fallback_homedir = /home/%u
ad_domain = example.local
use_fully_qualified_names = False
ldap_id_mapping = True
access_provider = ad
ad_update_samba_machine_account_password = True
ad_gpo_ignore_unreadable = True
Below is the smb file;
[testshare]
comment = testshare
path = /testshare/test
read only = No
valid users = @“Domain Admins@domain”
public = yes
browseable = yes
writeable = yes
Joined the server using realm command.
realm join -U --client-software=sssd --membership-software=samba
Enabled and started Samba services.