Turn on Preferences / Miscellaneous / Advanced [Cosmetic]: custom_network_folder_icons and it should work via the normal process.
Note that it has a performance overhead when reading network folders (should be OK on a LAN but may be quite bad on a slow network), and also means you're more likely to see 30 second freezes if something is displaying an icon for a folder on a server which is no longer accessible over the network.