WDTV Live Hub can't connect to my NAS

It isn’t a windows problem, since windows is not involved.

I was able to sort this out thanks to google, so for future reference:

If I entered the name of one of my shares as Username and left the password blank, I was able to connect to that share.