Bug 1696 - Example configuration won't work for specific group names
Example configuration won't work for specific group names
Status: RESOLVED INVALID
Product: Samba 3.0
Classification: Unclassified
Component: Docs
3.0.6
All All
: P3 normal
: none
Assigned To: John H Terpstra
Samba Documentation QA Contact~
http://us4.samba.org/samba/docs/man/S...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-01 03:38 UTC by Clock
Modified: 2005-04-25 22:46 UTC (History)
0 users

See Also:


Attachments

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 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.

- JHT
Comment 2 Jelmer Vernooij 2004-12-07 12:48:28 UTC
John is handling this bug.
Comment 3 Gerald (Jerry) Carter 2005-02-01 12:01:51 UTC
updating qa contact
Comment 4 John H Terpstra 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.