I try to login and create my account I get an error. Auto-creation of a local account failed: Automatic account creation is not allowed. Using the admin account I get the same error.
Has anyone figured out how to get this to work in MediaWiki 1.28.0?
Thanks, Phil
Hey
There is a new permission available that governs the right to create accounts when logging in with an external user account. It's called "autocreateaccount" [0]. You have to add to your config something like: $wgGroupPermissions['*']['autocreateaccount'] = true;
Or maybe this is enough: $wgGroupPermissions['user']['autocreateaccount'] = true;
See also https://www.mediawiki.org/wiki/Topic:T6s2lkqumdyy0zqv
Regards, Tobias Oetterer
[0]: https://www.mediawiki.org/wiki/Manual:User_rights#List_of_permissions
-- If this email is rather brief, it is not meant to be impolite but to respect your time. http://five.sentenc.es No trees were killed to send this message, but a large number of electrons were terribly inconvenienced
University of Paderborn Zentrum IMT Warburger Straße 100 33098 Paderborn
Office: N5.338 Phone: 05251/60-2194 Internet: http://imt.uni-paderborn.de
-----Ursprüngliche Nachricht----- Von: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] Im Auftrag von Phil Legault Gesendet: Mittwoch, 7. Dezember 2016 16:41 An: MediaWiki announcements and site admin list mediawiki-l@lists.wikimedia.org Betreff: [MediaWiki-l] MediaWiki 1.28.0 Extension LDAPAuthentication does not work
I try to login and create my account I get an error. Auto-creation of a local account failed: Automatic account creation is not allowed. Using the admin account I get the same error.
Has anyone figured out how to get this to work in MediaWiki 1.28.0?
Thanks, Phil
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Tobias Oetterer writes:
There is a new permission available that governs the right to create accounts when logging in with an external user account. It's called "autocreateaccount" [0]. You have to add to your config something like: $wgGroupPermissions['*']['autocreateaccount'] = true;
Or maybe this is enough: $wgGroupPermissions['user']['autocreateaccount'] = true;
We encountered the same problem in the previous release, Mediawiki 1.27, and Tobias's suggested change worked for us.
DanB
mediawiki-l@lists.wikimedia.org