Prerequisites for integrating ldap with mediawiki: After mediawiki is set up, it can be used properly and can be logged on to and managed normally. LDAP is normal and ldap information can be correctly read through applets;
Problem: LdapAuthentication. php plug-in fails to read ldap data after integration (I tried a lot of code on the Internet ):
1. $ wgLDAPUseLocal = true; after enabling with local data, the wiki logon page displays "your domain name". one is the name of the newly added connection ladp and the other is local, however, after selecting local, the original account and password cannot be logged on? (The code for removing this plug-in can be properly logged on)
2. $ wgLDAPDebug = 99; #1; 5 ;...
$ WgDebugLogGroups ["ldap"] = "/tmp/twikidebug. log ";
Why can't the debug code be set to 1, 5, 10, or 99... to produce log files?
The log file cannot be generated, so I cannot know where the code is correct !!!!!
Reply to discussion (solution)
Nobody ??????
Solved, version matching problem