Samba Server on AD

I wonder if anyone could help please as we are on a deadline at our company to complete this. We have a Samba server on Debian 11 with an inscure share that we are attempting to secure. I have recently bound it to our Active Directory domain using Winbind. When testing the share using smbclient I get back NT_STATUS_ACCESS_DENIED. Furthermore the Samba jouirnal logs are full of failed to convert SID to UID. Running wbinfo -u and wbinfo -g shows a list of users and groups on the domain respectively, however querying a particular users with wbinfo -i returns back failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND. It seems this error but I have searched none of the solution I have tried on the web have worked thus far. Please not that Kerberos is set and works fetching a ticket with kinit and klist.

The smb.conf config:-

[global]
    
        workgroup = DOMAIN
        security = ads
        realm = DOMAIN.COM
        idmap config * : range = 10000-20000
        idmap config * : backend = tdb
        idmap config DOMAIN: range = 20000-30000
        idmap config DOMAIN: backend = rid
        winbind use default domain = true
        winbind offline logon = false
        template shell = /bin/bash
        template homedir = /home/%U
    
    
      log level = 5
    
[share]
    
      comment = SHARE
      read only = no
      path = /path/to/share
      guest ok = no
      public = no
      writable = yes
      valid users = @"DOMAIN\\Domain Users"

My smb.conf file now looks like this but still no change. Can I get any help at all please??

[global]

workgroup = DOMAIN
security = ads
realm = DOMAIN.COM
idmap config * : range = 3000-9999
idmap config * : backend = autorid
idmap config DOMAIN: range = 10000-30000
idmap config DOMAIN : backend = autorid
winbind use default domain = true
winbind offline logon = false
template shell = /bin/bash
template homedir = /home/%U
vfs objects = acl_xattr
map acl inherit = Yes

[testshare]
comment = Test Share
path = /home/testshare
read only = no