I think that this is possible, you need to modify the denylog rule.
Looking at /etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustDenyLog
You should find the 2 lines below which silently drop ports 137 to 139.
/sbin/iptables --replace denylog 2 -p udp --dport 137:139 --jump DROP
/sbin/iptables --replace denylog 3 -p tcp --dport 137:139 --jump DROP
Changing the 137 to 135 should produce the results that you want (it has worked for me). My understanding is that the only change is that ports 135 & 136 will no longer be logged, i.e. they will be silently dropped.
/sbin/iptables --replace denylog 2 -p udp --dport 135:139 --jump DROP
/sbin/iptables --replace denylog 3 -p tcp --dport 135:139 --jump DROP
After editing this file you need to expand the template and restart masq
# /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
# /sbin/service masq restart
# /sbin/service masq status
The last line shows the current status and you should be able to see the new denylog rule.
Editing this template is not the correct way to do this, as it will be lost on the next upgrade to a new SME version.