|
| 1 | +#======================= Share Definitions ======================= |
| 2 | + |
| 3 | +;[homes] |
| 4 | +; comment = Home Directories |
| 5 | +; browseable = no |
| 6 | + |
| 7 | +# By default, the home directories are exported read-only. Change the |
| 8 | +# next parameter to 'no' if you want to be able to write to them. |
| 9 | +; read only = yes |
| 10 | + |
| 11 | +# File creation mask is set to 0700 for security reasons. If you want to |
| 12 | +# create files with group=rw permissions, set next parameter to 0775. |
| 13 | +; create mask = 0700 |
| 14 | + |
| 15 | +# Directory creation mask is set to 0700 for security reasons. If you want to |
| 16 | +# create dirs. with group=rw permissions, set next parameter to 0775. |
| 17 | +; directory mask = 0700 |
| 18 | + |
| 19 | +# By default, \\server\username shares can be connected to by anyone |
| 20 | +# with access to the samba server. |
| 21 | +# The following parameter makes sure that only "username" can connect |
| 22 | +# to \\server\username |
| 23 | +# This might need tweaking when using external authentication schemes |
| 24 | +; valid users = %S |
| 25 | + |
| 26 | +# Un-comment the following and create the netlogon directory for Domain Logons |
| 27 | +# (you need to configure Samba to act as a domain controller too.) |
| 28 | +;[netlogon] |
| 29 | +; comment = Network Logon Service |
| 30 | +; path = /home/samba/netlogon |
| 31 | +; guest ok = yes |
| 32 | +; read only = yes |
| 33 | + |
| 34 | +# Un-comment the following and create the profiles directory to store |
| 35 | +# users profiles (see the "logon path" option above) |
| 36 | +# (you need to configure Samba to act as a domain controller too.) |
| 37 | +# The path below should be writable by all users so that their |
| 38 | +# profile directory may be created the first time they log on |
| 39 | +;[profiles] |
| 40 | +; comment = Users profiles |
| 41 | +; path = /home/samba/profiles |
| 42 | +; guest ok = no |
| 43 | +; browseable = no |
| 44 | +; create mask = 0600 |
| 45 | +; directory mask = 0700 |
| 46 | + |
| 47 | +[printers] |
| 48 | + comment = All Printers |
| 49 | + browseable = no |
| 50 | + path = /var/spool/samba |
| 51 | + printable = yes |
| 52 | + guest ok = yes |
| 53 | + read only = yes |
| 54 | + create mask = 0700 |
| 55 | + |
| 56 | +# Windows clients look for this share name as a source of downloadable |
| 57 | +# printer drivers |
| 58 | +[print$] |
| 59 | + comment = Printer Drivers |
| 60 | +; path = /var/lib/samba/printers |
| 61 | + path = /usr/share/cups/drivers |
| 62 | + browseable = yes |
| 63 | + read only = yes |
| 64 | + guest ok = no |
| 65 | +# Uncomment to allow remote administration of Windows print drivers. |
| 66 | +# You may need to replace 'lpadmin' with the name of the group your |
| 67 | +# admin users are members of. |
| 68 | +# Please note that you also need to set appropriate Unix permissions |
| 69 | +# to the drivers directory for these users to have write rights in it |
| 70 | +; write list = root, @lpadmin |
| 71 | + |
| 72 | +[Austausch] |
| 73 | +comment = Datenaustausch |
| 74 | +path = /var/daten/austausch/ |
| 75 | +writable = yes |
| 76 | +force user = pi |
| 77 | +guest ok = yes |
| 78 | +valid users = peter,kristin,siegbert |
| 79 | + |
| 80 | +[Fotos] |
| 81 | +comment = Fotos |
| 82 | +path = /var/daten/fotos/ |
| 83 | +writable = yes |
| 84 | +force user = pi |
| 85 | +valid users = peter,kristin |
0 commit comments