I use a console application to write some test code:
/// /// Returns AD information for a specified userID. /// /
You could also try including the domain in the login
adSharepointUsers = new DirectoryEntry("LDAP://MyDomain","MyDomain/ADUser","password");