[Samba] About the group setting in smb.conf.

Gary Dale garydale at torfree.net
Mon Oct 10 03:07:28 GMT 2005


Liu wrote:

>Hi,
>
>This is my first time to configure Samba server as a member server in AD domain,
>
>So, I have a question about how to configure a group name with one or more spaces in smb.conf?
>
>As we know, this kind of group names are very common in Windows environment.
>
>For example, set ¡°valid users¡± parameter:
>
>Usually , a name starting with @ is represented group, 
>
>   valid users = username, @GroupName,¡­
>
>But if the group name includes spaces, e.g. ¡°it dept¡±, ¡°sales dept¡±,
>
>How can I set them correctly?
>
>(I set them as @¡±it dept¡±, but the winbind log file tells me ¡°group it dept in domain XXXX does not exist¡±,
>
>But I can list this group using wbinfo ¨Cg)
>
>Wish someone give me a advice!
>
>Thanks in advance!
>
> 
>
>Best Regards!
>
>Liu hongquan
>
> 
>
>  
>
Basically, you need to map your NT groups to Linux groups. The Linux
groups should not have spaces in the names. Do a search on samba
groupmap for the details.


More information about the samba mailing list