Bug 1696 - Example configuration won't work for specific group names
Summary: Example configuration won't work for specific group names
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Docs (show other bugs)
Version: 3.0.6
Hardware: All All
: P3 normal
Target Milestone: none
Assignee: John H Terpstra (mail address dead(
QA Contact: Samba Documentation QA Contact~
URL: http://us4.samba.org/samba/docs/man/S...
Depends on:
Reported: 2004-09-01 03:38 UTC by Clock
Modified: 2005-04-25 22:46 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Clock 2004-09-01 03:38:51 UTC
The example configuration in the aforementioned URL uses add group script =
/usr/sbin/groupadd %g. 

This is flawed. When someone tries to add a group called for example "Meany
Family", then groupadd "Meany Family" will be called with this result:
root@oberon:~# groupadd "Meany Family"
groupadd: Meany Family is a not a valid group name
Comment 1 John H Terpstra (mail address dead( 2004-11-23 09:56:12 UTC
Samba passes the task to create a group through to the utility that is specified
as the "group add script". The Linux groupadd command is an operating system tool.
For some reason the more recent version of this does not permit the use of
upper-case characters or the use of spaces in the name.

Do you have a better suggestion?

This is not a Samba issue, it is an operating system utility issue. I will try
to document this fact. We are limited by what the OS vendor implements. Sorry.

Comment 2 Jelmer Vernooij 2004-12-07 12:48:28 UTC
John is handling this bug.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-02-01 12:01:51 UTC
updating qa contact
Comment 4 John H Terpstra (mail address dead( 2005-04-25 22:46:54 UTC
Well, now that I have looked further into this bug report it appears that in 
section 11.4.1 of the current HOWTO this very issue has been documented. 
Case closed. 
- John T.