I will configuate the ldap with alfresco ECM 5.1 and windows 2012 but I don't find the default folder of ldap in \\TOMCAT_HOME\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication So,what can I do?
As Alfresco uses MAVEN to build their artifacts all those folders now reside in a .jar file. So you would have to do a grep/find to located the jar.
In your case try : grep -r "ldap" tomcat_home/webapps/alfresco/WEB-INF you may locate the jar as - Binary file /Applications/alf51/tomcat/webapps/alfresco/WEB-INF/lib/alfresco-repository-5.1.e.jar matches Binary file /Applications/alf51/tomcat/webapps/alfresco/WEB-INF/lib/unoil-3.1.0.jar matches
So all your subsystem configuration files can be found in alfresco-repository-5.1.e.jar if you unzip it & hence there by you may move it to tomcat/shared/extension to override