Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic user account creation cannot be disabled #3

Open
s0rin opened this issue Aug 25, 2017 · 0 comments
Open

Automatic user account creation cannot be disabled #3

s0rin opened this issue Aug 25, 2017 · 0 comments

Comments

@s0rin
Copy link

s0rin commented Aug 25, 2017

Using MW 1.27.3 & ShibAuthPlugin 1.2.7

Attempted to disable the account creation in using the settings (according to [1])
$wgGroupPermissions['*']['createaccount'] = false;

But using the ShibAuthPlugin 1.2.7 though, anyone logging in using this feature automatically gets a local account created.
Note. The account creation can be disabled when using this setting with the LdapAuthentication 2.1.0 [2] and the option
$wgLDAPDisableAutoCreate = array('testLDAPdomain' => true);.

Another attempt was to change ShibAuthPlugin.php, but it didn't help either:

        function autoCreate() {
                return false;
        }

        function updateExternalDB( $user ) {
                return false;
        }

How to stop the ShibAuthPlugin plugin from automatically creating the accounts?
Does exist an option like $wgLDAPDisableAutoCreate?

[1] https://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_account_creation
[2] https://www.mediawiki.org/wiki/Extension:LDAP_Authentication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant