[Samba] group name with space

enigma at riddlefixer.com enigma at riddlefixer.com
Tue Apr 20 22:39:04 GMT 2004


On Tue, Apr 20, 2004 at 11:44:52PM +0200, LanRol wrote:
> Hi all,
> 
> 	linux:~ # net rpc vampire -S sun -U admin%admin
> 	Fetching DOMAIN database
> 	SAM_DELTA_DOMAIN_INFO not handled
> 	Creating unix group: 'Domain Admins'
> 	groupadd: Domain Admins is a not a valid group name
> 	Creating unix group: 'Domain Users'
> 	groupadd: Domain Users is a not a valid group name
> 
> and if i try
> 
> # groupadd 'abc def'
> groupadd: Domain Users is a not a valid group name
> 
> why? Can I add this group?

Maybe.  If groupadd "Domain Users" doesn't work, you can map "Domain
Users" to something like users with the "net groupmap modify" command.

man net for more info.  Search for groupmap.
Most commonly, I use:
net groupmap list
net groupmap modify

Cheers!


More information about the samba mailing list