Samba 3: Konfigurationsdatei überprüfen
Mit dem Programm testparm können Sie Ihre Samba-Konfigurationsdatei /etc/samba/smb.conf auf Syntaxfehler überprüfen.
[root@centos5 ~]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = HOME
server string = SERVER.HOME.LAN
interfaces = eth0
bind interfaces only = yes
ldap ssl = no
cups options = raw
[public]
path = /data/public
valid users = georg
read list = georg
write list = georg
read only = No
create mask = 0775
directory mask = 0775
Load smb config files from /etc/samba/smb.conf
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = HOME
server string = SERVER.HOME.LAN
interfaces = eth0
bind interfaces only = yes
ldap ssl = no
cups options = raw
[public]
path = /data/public
valid users = georg
read list = georg
write list = georg
read only = No
create mask = 0775
directory mask = 0775
Hinweis: Mit testparm wird nur ein Syntaxcheck durchgeführt. Das heißt, dass nach einem fehlerfreiem Syntaxcheck nicht garantiert ist, dass Samba auch fehlerfrei funktioniert.
Weitere Informationen entnehmen Sie bitte der Manpage.
[root@centos5 ~]# man testparm
Dieser Eintrag wurde am 25.04.2008 erstellt und zuletzt am 08.01.2014 bearbeitet.
Direkter Link zu dieser Seite: http://www.gtkdb.de/index_33_274.html
[ Zur Startseite ] [ Zur Kategorie ]
© 2004-2021 by Georg Kainzbauer