http://bugs.winehq.org/show_bug.cgi?id=12738
--- Comment #3 from Austin English austinenglish@gmail.com 2008-04-23 11:57:49 --- (In reply to comment #2)
This stopped working as of Wine 0.9.49 - in 0.9.48 this worked fine.
I tried to follow the instructions on http://wiki.winehq.org/RegressionTesting but it refuses to compile due to a new version of openldap 2.4.
Try installing an older version of ldap, and/or fiddling with configure to ignore it.