Smb3.conf.dc

Aus Xinux Wiki
Version vom 5. November 2014, 20:57 Uhr von Thomas (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<pre> [global] # Identification and workgroup workgroup = meinefirma netbios name = SUSESERVER server string = Samba %v (PDC) @ meinefirma wins su…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

[global]
   # Identification and workgroup
   workgroup = meinefirma
   netbios name = SUSESERVER
   server string = Samba %v (PDC) @ meinefirma
   wins support = yes  
   
   # Basic settings for shares
   browseable = no
   public = no
   writeable = no
   guest ok = no

   # Wenn er Master-Browser sein soll dann brauch er nen gueltigen Gast-Account
   guest account = nobody

   # Log-Files for Samba
   log level = 0
   log file = /var/log/samba/%m.log


   # Definition of PDCs
   domain logons = yes
   domain master = yes
   local master = yes
   prefered master = yes
   os level = 66
   security = user

   # LogOn Settings for Windows 9x/NT/2000/ME
   logon drive = P:
   logon path =
   logon home =
   logon script = logon_script_%U.bat

   # Password settings
   encrypt passwords = true
   update encrypted = yes
   smb passwd file = /etc/samba/smbpasswd

   add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$   

   # Administrators of PDC
   admin users = root meinadmin

   # Performance
   socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY
   max log size = 1000

   # Security
   hosts allow = 10.10.0.0/255.255.255.0

   printcap name = /dev/null
   load printers = no
   printing = bsd

   # added 5.5.08 to minimize endpoint connection errors
   smb ports = 139

[netlogon]
   comment = Logon Service for meinefirma.com
   path = /home/samba/netlogon
   public = no
   writeable = no
   browseable = no
   readonly = yes

[homes]
   comment = Home Verzeichnis
   read only = no
   create mode = 0660
   directory mode = 0755
   hide unreadable = yes
   browseable = no