diff options
Diffstat (limited to 'samba')
-rw-r--r-- | samba/smb-shares.conf.m4 | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/samba/smb-shares.conf.m4 b/samba/smb-shares.conf.m4 index 21a46d8..f1f347b 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.5 2002-07-07 13:11:36 jonas Exp $ +$Id: smb-shares.conf.m4,v 1.6 2002-07-07 13:46:32 jonas Exp $ m4 share definitions for generating Samba server smb.conf include file @@ -21,23 +21,29 @@ where "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). - <path>: Full path to mount point - <uid>: user name of mountpoint owner - <gid>: group name of mountpoint owner - <modes>: Numeric access modes of mount point - ro|rw <group>: Primary group with access to mountpoint. Public readonly access if omitted + "homes" has browseing disabled and pre-creates directory mode 750 + <desc>: Mount point description (iso8859-1 is (fully?) supported) + <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 <group>: Primary group with access to mountpoint. Public readonly access if omitted (except mount points mentioned above) <othergroup>: Secondary group with readonly access Example: _dir(/home/fsadmin/COMMON,fsadmin,fsadmin,755)dnl + _files(win,netlogon,Network logon,/etc/samba/netlogon,root,root,755,ro) + _files(win,userprofiles,User profiles,/home/fsadmin/COMMON/samba/userprofiles,root,root,755) + _files(win,reference,DEBIAN: Samba Linux server,/home/fsadmin/COMMON/reference) _homefiles(win,homes,Personal files,%H/pc)) _homefiles(mac,,Personal files,~/mac)) _files(win,soft,softshare,/home/fsadmin/COMMON/software,fsadmin,fsadmin,775)dnl _printer(win,LW,Networkprinter queue for Apple LaserWriter 16/600,/tmp,lw) +TODO: + Support for netatalk is not yet implemented. + ')dnl changequote(<, >)dnl define(<_veto_mac>, </.AppleDouble/.AppleDesktop/Network Trash Folder/DesktopFolderDB/resource.frk/Icon^M/TheVolumeSettingsFolder/>)dnl @@ -80,7 +86,7 @@ define(<_chmod>, <700>)dnl < guest ok = yes >, $2,<homes>, -<dnl +< browseable = no define(<_mkdir>, <$4>)dnl define(<_chown>, <%S>)dnl define(<_chmod>, <644>)dnl |