Hello, I've done a search for a solution to this problem but only found more questions.
XWiki 9.1 on Windows 7 & 10. Scenario 1: I've downloaded the xwiki 9.1 'demo' and installed it. Confirm it works then installed Mysql and pointed xwiki to use that database since it's suggested the demo database is not reliable for production. Configured Ldap with the ldap authentication extension and the ldap gui extension. Restart xwiki and no ldap error messages. The only issue with this scenario is that there is an extra step to install the default xwiki pages into mysql so do a backup from the original database and import it into the new database (through the xwiki interface). Scenario 2: Followed directions from Xwiki to use Jetty as the web server and mysql for the database. Installed and working. I used the same config files from scenario 1 (xwiki.cfg and hibernate.cfg.xml) and restarted jetty. Received ldap error "LDAP authentication is not enabled. Please set LDAP as authentication service in xwiki.cfg". I used scenario 1 because the install is easy but changed to mysql for production use. Confirmed ldap started with no error messages. I did scenario 2 to see if I could use the two configuration files to make it work but it did not work. So there seems to be more than the message suggests by modifying xwiki.cfg. I've followed all directions as http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationWAR