Closed MaFish18 closed 5 years ago
Hi MaFish18,
Did you run the MediaWiki update script after installing the plugin?
Hi shanept,
yes I did with "php maintaince/update.php".
Shane Thompson notifications@github.com 16.11.2018 13:46 >>> Hi MaFish18, Did you run the MediaWiki update script after installing the plugin? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub ( https://github.com/shanept/mediawiki-LdapAuth/issues/1#issuecomment-439382733) , or mute the thread ( https://github.com/notifications/unsubscribe-auth/AqLwpPIg8V7tWCFPbWf3ToUgrm0sjJUkks5uvrPDgaJpZM4YmLQ1) .
Hmmmm... How about a composer install in the root directory?
On 16 Nov. 2018, 8:59 pm, at 8:59 pm, MaFish18 notifications@github.com wrote:
Hi shanept,
yes I did with "php maintaince/update.php".
Mit freundlichen Grüßen Maximilian Fischer
Stadt Bochum Amt für Personalmanagement, Informationstechnologie und Organisation IT-Management, Service-Center und Finanzen Anwendungsdienste - DMS/Archive, Geodaten, Fachanwendungen
Technisches Rathaus Hans-Böckler-Straße 19 44787 Bochum Zimmer: E.7.160
Tel.: +49 234 910 1427 Fax: +49 234 910 79 1427 E-Mail: mafischer@bochum.de ( mailto:mafischer@bochum.de)
Shane Thompson notifications@github.com 16.11.2018 13:46 >>> Hi MaFish18, Did you run the MediaWiki update script after installing the plugin? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub ( https://github.com/shanept/mediawiki-LdapAuth/issues/1#issuecomment-439382733) , or mute the thread ( https://github.com/notifications/unsubscribe-auth/AqLwpPIg8V7tWCFPbWf3ToUgrm0sjJUkks5uvrPDgaJpZM4YmLQ1) .
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/shanept/mediawiki-LdapAuth/issues/1#issuecomment-439385605
composer is already installed in the root dir.
Shane Thompson notifications@github.com 16.11.2018 14:03 >>> Hmmmm... How about a composer install in the root directory? On 16 Nov. 2018, 8:59 pm, at 8:59 pm, MaFish18 notifications@github.com wrote: Hi shanept,
yes I did with "php maintaince/update.php".
Shane Thompson notifications@github.com 16.11.2018 13:46 >>> Hi MaFish18, Did you run the MediaWiki update script after installing the plugin? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub ( https://github.com/shanept/mediawiki-LdapAuth/issues/1#issuecomment-439382733) , or mute the thread ( https://github.com/notifications/unsubscribe-auth/AqLwpPIg8V7tWCFPbWf3ToUgrm0sjJUkks5uvrPDgaJpZM4YmLQ1) .
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/shanept/mediawiki-LdapAuth/issues/1#issuecomment-439385605 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub ( https://github.com/shanept/mediawiki-LdapAuth/issues/1#issuecomment-439386631) , or mute the thread ( https://github.com/notifications/unsubscribe-auth/AqLwpBJfW7r02pnzY9jGyxCRpiszRf-Gks5uvre0gaJpZM4YmLQ1) .
Sure - however the symfony LDAP component is a new dependency that composer hasn't yet installed, hence the error message. composer install will install the dependency.
On 16 Nov. 2018, 9:10 pm, at 9:10 pm, MaFish18 notifications@github.com wrote:
composer is already installed in the root dir.
Mit freundlichen Grüßen Maximilian Fischer
Stadt Bochum Amt für Personalmanagement, Informationstechnologie und Organisation IT-Management, Service-Center und Finanzen Anwendungsdienste - DMS/Archive, Geodaten, Fachanwendungen
Technisches Rathaus Hans-Böckler-Straße 19 44787 Bochum Zimmer: E.7.160
Tel.: +49 234 910 1427 Fax: +49 234 910 79 1427 E-Mail: mafischer@bochum.de ( mailto:mafischer@bochum.de)
Shane Thompson notifications@github.com 16.11.2018 14:03 >>> Hmmmm... How about a composer install in the root directory? On 16 Nov. 2018, 8:59 pm, at 8:59 pm, MaFish18 notifications@github.com wrote: Hi shanept,
yes I did with "php maintaince/update.php".
Mit freundlichen Grüßen Maximilian Fischer
Stadt Bochum Amt für Personalmanagement, Informationstechnologie und Organisation IT-Management, Service-Center und Finanzen Anwendungsdienste - DMS/Archive, Geodaten, Fachanwendungen
Technisches Rathaus Hans-Böckler-Straße 19 44787 Bochum Zimmer: E.7.160
Tel.: +49 234 910 1427 Fax: +49 234 910 79 1427 E-Mail: mafischer@bochum.de ( mailto:mafischer@bochum.de)
Shane Thompson notifications@github.com 16.11.2018 13:46 >>> Hi MaFish18, Did you run the MediaWiki update script after installing the plugin? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub ( https://github.com/shanept/mediawiki-LdapAuth/issues/1#issuecomment-439382733) , or mute the thread ( https://github.com/notifications/unsubscribe-auth/AqLwpPIg8V7tWCFPbWf3ToUgrm0sjJUkks5uvrPDgaJpZM4YmLQ1) .
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/shanept/mediawiki-LdapAuth/issues/1#issuecomment-439385605 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub ( https://github.com/shanept/mediawiki-LdapAuth/issues/1#issuecomment-439386631) , or mute the thread ( https://github.com/notifications/unsubscribe-auth/AqLwpBJfW7r02pnzY9jGyxCRpiszRf-Gks5uvre0gaJpZM4YmLQ1) .
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/shanept/mediawiki-LdapAuth/issues/1#issuecomment-439388156
This seems plausible, smyfony/ldap is missing. I will install it, but need to wait for the Firewall.
I installed with "composer require symfony/ldap". It also installed: Package operations: 4 installs, 0 updates, 0 removals
But even after a reboot it says "[exception] [f217492cbd0ba4d0395e5b92] /index.php?title=Spezial:Anmelden&returnto=Hauptseite Error from line 388 of /srv/www/htdocs/46/extensions/LdapAuth/src/Auth/PrimaryAuthenticationProvider.php: Class 'Symfony\Component\Ldap\Ldap' not found"
any ideas ?
big thanks in advance!
Hi! It seems like my fault, I had to give it Composer install and now the error is gone.
I installed your Extension on Mediwiki 1.31.1 on a SLES 12 VM. When I try to login with an ldap user it gives me "[66dc594e866a548ca6ed2083] 2018-11-16 HH:MM:SS: Fataler Ausnahmefehler des Typs „Error“ (Fatal Exception of Type Error)". As I checked the debug file it says: [exception] [66dc594e866a548ca6ed2083] /index.php?title=Spezial:Anmelden&returnto=Hauptseite Error from line 388 of /srv/www/htdocs/extensions/LdapAuth/src/Auth/PrimaryAuthenticationProvider.php: Class 'Symfony\Component\Ldap\Ldap' not found. When I check the PrimaryAuthenticationProvider.php on line 388 it says:
$ldap = Ldap::create( 'ext_ldap', [ //this is 388 'host' => $server, 'encryption' => $encryption ] );
Would be great to get it running because the "offical" Extension on the MediaWiki Site don't work on MW 1.31.1.