Topic on Extension talk:LdapAuth

LdapAuth returns "The supplied credentials are not associated with any user on this wiki."

2
208.53.65.3 (talkcontribs)

I have Ldap Authentication working, but whenever a user attempts to log in "The supplied credentials are not associated with any user on this wiki." is displayed. The thing is, I have created test accounts in mediawiki that match the username. I know that the ldap is working because whenever I type in a wrong password it gives a wrong password error. My config(preliminary, just trying to get logins working) is:

wfLoadExtension( 'LdapAuth' );

$wgLdapAuthDomainNames = '<Domain Name>';

$wgLdapAuthIsActiveDirectory = true;

$wgLdapAuthServers = '<IP>';

$wgLdapAuthBindDN = '<CN>';

$wgLdapAuthBindPass = '<Password to account>';

$wgLdapAuthBaseDN = '<Path to user accounts>';

$wgLdapAuthUsernameField = 'samid';

$wgLdapAuthUseLocal = true;

$wgGroupPermissions['*']['autocreateaccount'] = true;

$wgGroupPermissions['*']['createaccount'] = true;

This will obviously be refined after I can get logins working (I need group sync at the very least), but from what I'm seeing it should work? Could it be that I'm trying to use this with BlueSpice because I had no luck with LdapStack?

208.53.65.3 (talkcontribs)

I figured it out, the issue was with me using samid (used for dsquery) instead of sAMAccountName for anyone wondering

Reply to "LdapAuth returns "The supplied credentials are not associated with any user on this wiki.""