summaryrefslogtreecommitdiff
path: root/docs/manpages
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2002-09-23 16:21:01 +0000
committerVolker Lendecke <vlendec@samba.org>2002-09-23 16:21:01 +0000
commit06ce201a29bb90a428a59a3d85752ccf2dca1bdd (patch)
treed9d5b595b3e2dfa5ce5dd04685c39c5e22763474 /docs/manpages
parent83ca90a67dd3db225706d32ffe58b114e1faf7d3 (diff)
downloadsamba-06ce201a29bb90a428a59a3d85752ccf2dca1bdd.tar.gz
samba-06ce201a29bb90a428a59a3d85752ccf2dca1bdd.tar.bz2
samba-06ce201a29bb90a428a59a3d85752ccf2dca1bdd.zip
Ok, getting a bit more ambitious. Stop me, if this is wrong. ;-)
When creating a group you have to take care of the fact that the underlying unix might not like the group name. This change gets around that problem by giving the add group script the chance to invent a group name. It then must only return the newly created numerical gid. Volker (This used to be commit b959419ed38e66a12b63cad3e5fbfa849f952acc)
Diffstat (limited to 'docs/manpages')
-rw-r--r--docs/manpages/smb.conf.59
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/manpages/smb.conf.5 b/docs/manpages/smb.conf.5
index 990ba027ab..8967134481 100644
--- a/docs/manpages/smb.conf.5
+++ b/docs/manpages/smb.conf.5
@@ -1616,8 +1616,13 @@ Example: \fBadd user script = /usr/local/samba/bin/add_user
%u\fR
.TP
\fBadd group script (G)\fR
-This is the full pathname to a script that will
-be run \fBAS ROOT\fR by smbd(8) when a new group is requested. It will expand any \fI%g\fR to the group name passed. This script is only useful for installations using the Windows NT domain administration tools.
+This is the full pathname to a script that will be run \fBAS ROOT\fR
+by smbd(8) when a new group is requested. It will expand any \fI%g\fR
+to the group name passed. This script is only useful for
+installations using the Windows NT domain administration tools. The
+script is free to create a group with an arbitrary name to circumvent
+unix group name restrictions. In that case the script must print the
+numeric gid of the created group on stdout.
.TP
\fBadmin users (S)\fR
This is a list of users who will be granted