fixed ldap/ad integration, fixed build decl wrappers
Merge pull request #115 from jacobwagner/master

fixed ldap/ad integration, fixed build decl wrappers