testparm
von Debian99- SNIPPET_TEXT:
-
- Load smb config files from /etc/samba/smb.conf
- Processing section "[homes]"
- Processing section "[printers]"
- Processing section "[print$]"
- Loaded services file OK.
- Server role: ROLE_STANDALONE
- Press enter to see a dump of your service definitions
- # Global parameters
- [global]
- server role = standalone server
- security = USER
- map to guest = Bad User
- passdb backend = smbpasswd
- passwd program = /usr/bin/passwd %u
- passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
- syslog = 0
- log file = /var/log/samba/log.%m
- max log size = 1000
- dns proxy = No
- usershare allow guests = Yes
- panic action = /usr/share/samba/panic-action %d
- idmap config * : backend = tdb
- read only = No
- guest ok = Yes
- [homes]
- comment = Users profiles
- path = /home/samba/profiles
- valid users = %S
- read only = Yes
- create mask = 0600
- directory mask = 0700
- [printers]
- comment = All Printers
- path = /var/spool/samba
- create mask = 0700
- guest only = Yes
- printable = Yes
- print ok = Yes
- browseable = No
- [print$]
- comment = Printer Drivers
- path = /var/lib/samba/printers
Quellcode
Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN