Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
administration:debian:samba [2019-06-02 20:09] – [Samba einrichten] Martin Prochnowadministration:debian:samba [2020-09-06 08:00] 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 38: Zeile 38:
     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>
  
  • Zuletzt geändert: 2022-09-25 12:52