Skip to content

Instantly share code, notes, and snippets.

@blaxter
Created February 5, 2015 16:27
Show Gist options
  • Save blaxter/90c0f9f54c98cee847f8 to your computer and use it in GitHub Desktop.
Save blaxter/90c0f9f54c98cee847f8 to your computer and use it in GitHub Desktop.
less_log for openchage samba.log
#!/bin/bash
cat $1 | grep -v auth_check_password_send | grep -v imessaging | grep -v single_terminate | grep -v tstream_read_pdu_blob_recv | grep -v authsam_account_ok | grep -v sam_ignoredomain | grep -v ldb_request | grep -v ldb_wrap | grep -v logon_hours | grep -v housekeeping | grep -v stream_terminate_connection | less
@blaxter
Copy link
Author

blaxter commented Feb 5, 2015

With this on smb.conf:

[global]

log level = 6
max log size = 1000000

debug timestamp = false

dcerpc_mapiproxy:ndrdump = true
mapiproxy:openchangedb_logger = true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment