Debugging

Aus xinux.net
Zur Navigation springen Zur Suche springen

database checks

  • samba-tool dbcheck
Checking 285 objects
Checked 285 objects (0 errors)

Logs

Alle logs befinden sich in /var/log/samba/ Dieses Verzeichnis kann beim starten von smbd und nmbd mit der -l - Option geändert werden

  • smbd -l /var/log/samba
  • nmbd -l /var/log/samba

Log-Verzeichnis in der smb.conf ändern

  • Es ist ebenfalls möglich das log-Verzeichnis in der smb.conf anzugeben
[global]
...
log file = /var/log/samba/smb.log
...
  • Diese Angabe schreibt alle .logs in die Datei smb.log, welche im Verzeichnis /var/log/samba liegt

Spezielle Einstellungen für Logs

  • für jeden verbundenen Client eine Log-Datei anlegen
[global]
...
log file = %m.log
...
  • für jeden Share eine Log-Datei anlegen

[global] ... log file = %S.log ...

NT Status Errors

http://www.stbsuite.com/support/virtual-training-center/nt-status-errors