Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I’m looking into preventing samba messages from appearing in the system log (/var/log/messages). I added syslog = 0 to smb.conf and reloaded the config but messages are still appearing… ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    1

    samba messages


    Hi,

    I’m looking into preventing samba messages from appearing in the system log (/var/log/messages).

    I added syslog = 0 to smb.conf and reloaded the config but messages are still appearing…

    Are you able to suggest or advise how to suppress logging to messages or reconfigure samba such that “nmbd” and “winbindd” messages are not logged in /var/log/messages.?

    Cheers, S

  2. #2
    Just Joined! DT0X's Avatar
    Join Date
    Nov 2008
    Location
    Southwest UK
    Posts
    31
    I noticed you also posted this on linuxquestions.org and got a reply on there:

    linuxquestions.org/questions/linux-server-73/prevent-samba-logging-system-messages-795670/

    As stated there, modifying the syslog.conf to include:

    smbd.* /dev/null

    and restarting syslog (service syslog restart) should work fine

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •