I couldn't get any of this to work from the command line. Having resorted to a Wireshark trace, it was receiving a tree connect request like "\\aaa.bbb.ccc.ddd/share" and returning a STATUS_BAD_NETWORK_NAME error. So I did this instead:
and it connected.Code:mount -t cifs //aaa.bbb.ccc.ddd\\share /media/nas -o user=userid,pass=password
I don't know how this tweak works with network-shares-automount as I haven't used it or installed it to see.
Tried that command, didn't work/connect