# 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
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")