I came across a few Ruby libraries for connecting to Active Directory, but I used net-ldap gem, the environment_configurable gem and a few lines of code.
Hurdles aside, using WatiN and SpecFlow for system testing has worked out well for a testing problem that has historically been hard-won, if won at all.