in reply to vbs to perl conversion problem

I am pretty confident the username and password are correct because they log in correctly in the vbs script.