Unable to mount share (SMB + autofs)

Hi guys @fzinken @thechrisgregory @darwindesign @JimKnopf thank you for your repons!
When I did the setup I followed this guide Mounting network shares with autofs (alternative to fstab)
I suspect that it was a linebreak at the end of the .smbcredentials file that was causing this.