events/50.samba: fix ports check to cope with Samba 4 formatting.
authorMichael Adam <obnox@samba.org>
Thu, 31 Jul 2014 14:25:08 +0000 (16:25 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 31 Jul 2014 14:32:28 +0000 (16:32 +0200)
commit9236a67042c02cacdcddc8f3d8fd11e16a37d6cf
tree2c4a0f7426871e2c334ff2ea835ffef351046475
parentb7c4e6d98c9d4e2674b2015adc4cbebadf080b93
events/50.samba: fix ports check to cope with Samba 4 formatting.

The default output formatting of lists in testparm has changed
from " " separator to ", " separator. Our original eventscript
code stumbles across port "445,". Map away that comma... :-)

This has been fixed in master and 2.5 silently as part of
a bigger rewrite.

Signed-off-by: Michael Adam <obnox@samba.org>
config/events.d/50.samba