Smb.conf.diverse: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „[global] workgroup = WORKGROUP server string = %h server (Samba, Ubuntu) dns proxy = no log file = /var/log/samba/log.%m max log size = 1000…“)
 
 
Zeile 33: Zeile 33:
 
[video]
 
[video]
 
         comment = share dir
 
         comment = share dir
         path = /mkdir/media/video
+
         path = /mnt/media/video
 
         read only = No
 
         read only = No
 
         store dos attributes = Yes
 
         store dos attributes = Yes
Zeile 40: Zeile 40:
 
[books]
 
[books]
 
         comment = share dir
 
         comment = share dir
         path = /mkdir/media/books
+
         path = /mnt/media/books
 
         read only = No
 
         read only = No
 
         store dos attributes = Yes
 
         store dos attributes = Yes
 
         inherit acls = Yes
 
         inherit acls = Yes
 
         guest account = Yes
 
         guest account = Yes

Aktuelle Version vom 21. November 2019, 17:03 Uhr

[global]

  workgroup = WORKGROUP
  server string = %h server (Samba, Ubuntu)
  dns proxy = no
  log file = /var/log/samba/log.%m
  max log size = 1000
  syslog = 0
  panic action = /usr/share/samba/panic-action %d
  server role = standalone server
  passdb backend = tdbsam
  obey pam restrictions = yes
  unix password sync = yes
  passwd program = /usr/bin/passwd %u
  passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
  pam password change = yes
  map to guest = bad user
  usershare allow guests = yes

[homes]

       comment = Home Directories
       valid users = %S, %D%w%S
       browseable = No
       read only = No
       inherit acls = Yes

[music]

       comment = music dir
       path = /mnt/media/music
       read only = No
       store dos attributes = Yes
       inherit acls = Yes

[video]

       comment = share dir
       path = /mnt/media/video
       read only = No
       store dos attributes = Yes
       inherit acls = Yes

[books]

       comment = share dir
       path = /mnt/media/books
       read only = No
       store dos attributes = Yes
       inherit acls = Yes
       guest account = Yes