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 =A1=B0valid users=A1=B1 parameter: Usually , a name starting with @ is represented group,=20 valid users =3D username, @GroupName,=A1=AD But if the group name includes spaces, e.g. =A1=B0it dept=A1=B1, =A1=B0sales dept=A1=B1, How can I set them correctly? (I set them as @=A1=B1it dept=A1=B1, but the winbind log file tells me =A1=B0group it dept in domain XXXX does not exist=A1=B1, But I can list this group using wbinfo =A8Cg) Wish someone give me a advice! Thanks in advance! =20 Best Regards! Liu hongquan =20
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.
i never had trouble using winbindd with spaces in group names. recently tested with samba v3.0.14a against NT4 PDC greez Gary Dale wrote:> 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.-- Michael Gasch Max Planck Institute for Evolutionary Anthropology Department of Human Evolution (IT) Deutscher Platz 6 D-04103 Leipzig Germany Phone: 49 (0)341 - 3550 137