I was hoping that this wouldn't be the case. But since it is, take a look at SVN r149419
util_ldap.c
util_ldap.c(1615) : error C2065: 's' : undeclared identifier
util_ldap.c(1615) : warning C4047: 'function' : 'const server_rec *' differs in levels of indirection from 'int'
Seems you have typo using wrong server_rec for logging. It helps if you change line 1615 to use cmd->server instead s ;).
Regards, Mladen.