bugfixing & add smbd_journald
[logparse.git] / logparse / parsers / smbd.py
index 963c8e6213fddf6cc13139c3029a49547c483f13..47a2539bd843fa9dd5072822abe2bf36790231c4 100644 (file)
@@ -2,7 +2,10 @@
 #   smbd.py
 #   
 #   Get login statistics for a samba server.
-#   TODO: add feature to specify shares to check in config file
+#
+#   NOTE: This file is now deprecated in favour of the newer journald mechanism
+#   used in smbd-journald.py. This parser is still functional but is slower and
+#   has less features. Please switch over if possible.
 #
 
 import re
@@ -19,6 +22,8 @@ class Smbd(Parser):
         super().__init__()
         self.name = "smbd"
         self.info = "Get login statistics for a samba server."
+        self.deprecated = True
+        self.successor = "smbd_journald"
 
     def parse_log(self):
         logger.debug("Starting smbd section")