use auxiliary/scanner/smb/smb_enumshares
Options:
ShowFiles = true
SpiderShares = true
The options above, are not working on Kali 2018.4, Metasploit framework 4.17.21-dev
If you using an older version of Kali, like: 2018.1 (Metasploit framework 4.16.30-dev) / 2018.2 / 2018.3 the options do work.