Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
administration:debian:samba [2019-06-02 20:09] – [Samba einrichten] Martin Prochnowadministration:debian:samba [2022-09-25 12:52] (aktuell) Martin Prochnow
Zeile 15: Zeile 15:
     workgroup = WORKGROUP        # Name of workgroup the server will appear in     workgroup = WORKGROUP        # Name of workgroup the server will appear in
     server string = %h, Samba %v # String presented to the client     server string = %h, Samba %v # String presented to the client
-    security = user              # Authentication based on username/password 
-    invalid users = root         # Root is not allowed as user 
     load printers = no           # Does not load printers from printcap     load printers = no           # Does not load printers from printcap
  
 +    security = user              # Authentication based on username/password
     map to guest = bad user      # Unknown users are mapped to guest account     map to guest = bad user      # Unknown users are mapped to guest account
 +    invalid users = root         # Root is not allowed as user
     guest account = nobody       # User for guest account     guest account = nobody       # User for guest account
  
Zeile 25: Zeile 25:
     socket options = IPTOS_LOWDELAY TCP_NODELAY     socket options = IPTOS_LOWDELAY TCP_NODELAY
     use sendfile = yes     use sendfile = yes
-    write cache size = 262144 
     min receivefile size = 16384     min receivefile size = 16384
     strict allocate = yes     strict allocate = yes
  
-[Guest Share ]+[Guest Share]
     path = /path/to/guest/share     path = /path/to/guest/share
     guest ok = yes     guest ok = yes
Zeile 38: Zeile 37:
     valid users = user           # User(s) allowed to access this share     valid users = user           # User(s) allowed to access this share
     path = /path/to/user/share     path = /path/to/user/share
-    read only = no               # User has write access to share +    public = no 
-    create mask = 0600           # Rights for newly created files +    writeable = yes 
-    directory mask = 0700        # Rights for newly created directories +    comment = Samba share 
-    veto files = /*lost+found*/  # Hide certain files and directories+    printable = no 
 +    guest ok = no 
 +    create mask = 0600 
 +    directory mask = 0700 
 +    veto files = /*lost+found*/
 </code> </code>
  
Zeile 47: Zeile 50:
   * http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html   * http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html
  
-{{tag>Debian Samba}}+{{tag>Debian Samba NAS}}
  • Zuletzt geändert: 2019-06-02 20:09