6/21/2023 0 Comments Mediawiki authenticationI know that the LDAP server is working because it is also serving a PGina user authentication service which is working correctly. If the authentication is working for you, the plugin isn't properly detecting the LDAP module, and you can safely ignore this message. 15:47:56 192.168.1.79 wiki-wiki_ikb_en_: 2.1.0 It looks like you are missing LDAP support please ensure you have either compiled LDAP support in, or have enabled the module. The MediaWiki connector only supports search permissions visible to. You will also need to provide the Client ID and Client secret generated on the AAD Application registration page. Preserve state from a previous failed login. Type: boolean (details) loginpreservestate. 15:47:56 192.168.1.79 wiki-wiki_ikb_en_: 2.1.0 Entering Connect If you choose OAuth 2.0 AAD as the Authentication type, you will need to provide the Resource ID of the wiki installation. Merge field information for all authentication requests into one array. The debug-wiki.log shows the following message: When I try to log in the wiki with an LDAP user I get the following error: $wgDebugLogGroups = "/volume1/web/MediaWiki/debug-wiki.log" // the file has to exist $wgLDAPEncryptionType = array( "MYDOMAINALIAS" => "clear" ) // type of encryption clear, tls or ssl $wgLDAPBaseDNs = array("MYDOMAINALIAS" => "dc=mydomain,dc=com") // dn base $wgLDAPUseLocal = true // ldap authentication only or ldap plus local mediawiki authentication ![]() $wgLDAPSearchStrings = array( "MYDOMAINALIAS" => "uid=USER-NAME,cn=users,dc=mydomain,dc=com" ) $wgLDAPServerNames = array( "MYDOMAINALIAS" => "192.168.1.82" ) // ldap server IP or DNS If the authentication is working for you, the plugin isnt properly detecting the LDAP module, and you can safely ignore this message. ![]() $wgLDAPDomainNames = array( "MYDOMAINALIAS" ) // alias name for the domain label: Username, help: Username for authentication. $wgAuth = new LdapAuthenticationPlugin() required: optional, provider: MediaWikiAuthRememberMeAuthenticationRequest. ![]() I have a private MediaWiki with the MediaWiki LdapAuthentication extension and the php ldap extension installed and the following LocalSettings.php LDAP configuration: require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" )
0 Comments
Leave a Reply. |