summaryrefslogtreecommitdiffstats
path: root/docs
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
commitb959419ed38e66a12b63cad3e5fbfa849f952acc (patch)
tree857ad4aff1cd0351c984d570f2415fe19d04196b /docs
parent42774a7753eb8be1ec04bcb5dda089910a1b6d0b (diff)
downloadsamba-b959419ed38e66a12b63cad3e5fbfa849f952acc.tar.gz
samba-b959419ed38e66a12b63cad3e5fbfa849f952acc.tar.xz
samba-b959419ed38e66a12b63cad3e5fbfa849f952acc.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
Diffstat (limited to 'docs')
-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 990ba027ab6..89671344817 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