I have a program that I use to create test eDirectory accounts that
under XP and the 4.91 sp3 client works great. Under the Vista client 1.0
I get a 8801 (conn invalid) when trying to use the NWDSGenerateKeyPairEx
function to set the initial user password.

Basics of the "code":
Sets up connection handles, etc... Calls NWDSAddObject in a loop to
create as many users as I have specified. Which works great in both
Vista, and XP with their perspective clients. Then program calls the
NWDSGenerateKeyPairEx using the PWD_RAW_C_STRING. On XP it works with
out complaint, but vista returns 34817 (8801). What am I missing or is
there something broken in the Vista Client?