From 56a09107eb6dfcea2ef0839383da85bf80286eea Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 7 Jul 2002 13:46:32 +0000 Subject: samba: m4 script: Change homes share to not browseable. Update and improve inline documentation. --- samba/smb-shares.conf.m4 | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'samba') 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 -$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 - : Mount point description (iso8859-1 is (fully?) supported). - : Full path to mount point - : user name of mountpoint owner - : group name of mountpoint owner - : Numeric access modes of mount point - ro|rw : Primary group with access to mountpoint. Public readonly access if omitted + "homes" has browseing disabled and pre-creates directory mode 750 + : Mount point description (iso8859-1 is (fully?) supported) + : Full path to mount point directory + : user name of owner of mount point directory + : group name of owner of mount point directory + : Numeric access modes of mount point directory + ro|rw : Primary group with access to mountpoint. Public readonly access if omitted (except mount points mentioned above) : 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>, )dnl @@ -80,7 +86,7 @@ define(<_chmod>, <700>)dnl < guest ok = yes >, $2,, -, <$4>)dnl define(<_chown>, <%S>)dnl define(<_chmod>, <644>)dnl -- cgit v1.2.3