SUSE Support

Here When You Need Us

valid users with AD group

This document (000020346) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 15 SP2

Situation

System is joined to domain via winbind. With "wbinfo -u" and "wbinfo -g" all the AD users and groups can be seen.
When accessing a samba share, the following error is displayed
"Access is Denied"
This happens when setting the following in /etc/samba/smb.conf
valid users = @"<domain>\<AD group>"

It works when the "valid users" line is deleted.

Resolution

Instead of valid users = @"<domain>\<AD group>", try valid users = +"<domain>\<AD group>". Restart of samba service is required after changing it.

Cause

The man page of smb.conf explains the difference between + and @ in detail.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020346
  • Creation Date: 24-Jul-2021
  • Modified Date:02-Aug-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.