This is actually a great script that will help authenticate your username and password within your domain.
One thing I would correct is directly above the line that indicates:
Set oADsObject = oADsNamespace.OpenDSObject(strADsPath, strUserName,
strPassword, 0)
place an on error resume next
This will allow you to enter the error trapping code right below that line.
-----------------------------------------------
Now on for my issue. To expand this script I would like to allow the full active directory name, IIE . firstname.lastname@something.com. instead of just mduff
Any suggestions why the full active directory name won't work here?