Curious if you assign vars to $user.cn and $user.homedirectory if you get better results.