Error While Trying To Connect To Samba Share: NT_STATUS_NO_SUCH_GROUP

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

Environment

SUSE Linux Enterprise Server 10 Service Pack 3
SUSE Linux Enterprise Server 10 Service Pack 2

Situation

Due to some changes in winbind user and group names residing in a Windows domain, that have the same name, may not work properly when using certain Samba options such as "force group".  For instance, consider the username 'support' and consider the group 'support'.  If the admin were to 'getent passwd support' and 'getent group support' then the admin may obtain the following (respectively):
 
support:x:8767:100::/home/support:/bin/bash
support:!:1000:
 
This in and of itself isn't a problem, however, as winbind looks for the group, it may run into the username first.  Once winbind finds a match, it stops looking.  This means that if winbind finds the user first, then it will not continue to look for the group.  The following error is thrown on the client and can be found in the /var/log/samba/log.smbd file (emphasis added):
 
[2009/10/08 09:33:41, 10] smbd/service.c:find_forced_group(492)
support is a User, not a group
[2009/10/08 09:33:41, 3] smbd/error.c:error_packet_set(106)
error packet at smbd/reply.c(514) cmd=117 (SMBtconX)NT_STATUS_NO_SUCH_GROUP
 
 
 

Resolution

To force winbind to look for the group, the admin can use the "Unix Group" option.  Consider the following share:
 
[myshare]
     path = /some/location
     comment = Test Share
     browseable = yes
     read only = no
     force group = "Unix Group\support"
 
 

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:7006206
  • Creation Date: 04-Jun-2010
  • Modified Date:10-Mar-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

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

SUSE Support Forums

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

Join Our Community

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.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center