summaryrefslogtreecommitdiff
path: root/samba
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-07-07 17:35:51 +0000
committerJonas Smedegaard <dr@jones.dk>2002-07-07 17:35:51 +0000
commit2d5f7ebde4d8a1a8660f29cd867f66a312bdb375 (patch)
treef317a0796a9f7881b9beb97eb0ff1e63a7f92ffe /samba
parent1a6b429072e8ea5f5acd5adb55af6685d1d9ce57 (diff)
samba: m4 script: Improve documentation.
Diffstat (limited to 'samba')
-rw-r--r--samba/smb-shares.conf.m415
1 files changed, 8 insertions, 7 deletions
diff --git a/samba/smb-shares.conf.m4 b/samba/smb-shares.conf.m4
index c989d68..e7c6c2f 100644
--- a/samba/smb-shares.conf.m4
+++ b/samba/smb-shares.conf.m4
@@ -2,7 +2,7 @@ ifelse(`
/etc/samba/smb-shares.m4
Copyright 2002 Jonas Smedegaard <dr@jones.dk>
-$Id: smb-shares.conf.m4,v 1.13 2002-07-07 17:15:52 jonas Exp $
+$Id: smb-shares.conf.m4,v 1.14 2002-07-07 17:35:51 jonas Exp $
m4 share definitions for generating Samba server smb.conf include file
@@ -12,25 +12,26 @@ Depend on file /etc/local-COMMON/file-<FQDN>.m4 containing lines of
the following syntax:
_dir(<path>,<uid>,<gid>,<modes>)dnl
_homefiles(<os>,<mount>,<desc>,<path>[,ro])dnl
- _files(<os>,<mount>,<desc>,<path>,<uid>,<gid>,<modes>[[,ro[,<group>]|,rw,<group>[,<othergroup>]][,private]])dnl
+ _files(<os>,<mount>,<desc>,<path>,<uid>,<gid>,<modes>[,ro[,<group>]|,rw,<group>[,<othergroup>]])dnl
where
<os>: Client operating systems (mac|win|any)
<mount>: Mount point name
- Samba: Use single word and max. 8 characters for backwards compatibility
Some mount points are handled specially:
"netlogon" has browsing and share modes disabled
"userprofiles" sets "force user" and pre-creates user subdirectory mode 700
"reference" allows guests
"homes" pre-creates directory mode 750
- <desc>: Mount point description (iso8859-1 is (fully?) supported)
+ Samba: Use single word and max. 8 characters for WfW compatibility
+ <desc>: Mount point description. Full(?) support for iso8859-1.
<path>: Full path to mount point directory
<uid>: user name of owner of mount point directory
<gid>: group name of owner of mount point directory
<modes>: Numeric access modes of mount point directory
ro|rw|rop|rwp: Read-only or read/write access to mount point, and wether it should be private (not publically announced).
- Private read-only access if undefined.
- _homefiles are always private.
- <group>: Primary group with access to mountpoint. If mount point has access "rw" then primary group has read/write access as well.
+ Read-only access if undefined.
+ _homefiles are always private.
+ <group>: Primary group with access to mountpoint.
+ If mount point has access "rw" then primary group has read/write access as well.
<othergroup>: Secondary group with readonly access
Example: