Topic on Extension talk:LDAP Authentication

I don't know where is the problem

2
125.140.111.101 (talkcontribs)

hello

here is my config

require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" );
require_once ('includes/AuthPlugin.php');

$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array( 'ldap' );
$wgLDAPServerNames = array( 'ldap' => 'my.ldapserver.com' );
$wgLDAPUseLocal = false;
$wgLDAPEncryptionType = array( 'ldap' => 'clear' );
$wgLDAPPort = array( 'ldap' => 389 );
$wgLDAPDebug = 3;
$wgDebugLogGroups['ldap'] = '/tmp/ldap.log';

I just try to log in one time but created log 170 lines.

I don't know where is the problem..

I think

2017-04-07 01:13:33 (none) wikiDB: 2.1.0 Created a regular filter: (=myadmin)
2017-04-07 01:13:33 (none) wikiDB: 2.1.0 Entering getBaseDN
2017-04-07 01:13:33 (none) wikiDB: 2.1.0 Entering getDomain
2017-04-07 01:13:33 (none) wikiDB: 2.1.0 basedn is not set for this type of entry, trying to get the default basedn.
2017-04-07 01:13:33 (none) wikiDB: 2.1.0 Entering getBaseDN
2017-04-07 01:13:33 (none) wikiDB: 2.1.0 Entering getDomain
2017-04-07 01:13:33 (none) wikiDB: 2.1.0 basedn is not set.
2017-04-07 01:13:33 (none) wikiDB: 2.1.0 Using base:
2017-04-07 01:13:33 (none) wikiDB: 2.1.0 Couldn't find an entry
2017-04-07 01:13:33 (none) wikiDB: 2.1.0 userdn is:
2017-04-07 01:13:33 (none) wikiDB: 2.1.0 User DN is blank
2017-04-07 01:13:33 (none) wikiDB: 2.1.0 Entering strict.
2017-04-07 01:13:33 (none) wikiDB: 2.1.0 Entering getDomain
2017-04-07 01:13:33 (none) wikiDB: 2.1.0 Returning true in strict().

here or many attempt to Entering ~~ is the problem

help me...

MarkAHershberger (talkcontribs)

Just looking over your logs (and not knowing a lot about this plugin): have you tried setting $wgLDAPBaseDNs ?

// If you are using AD style binding (TDOMAIN\\USER-NAME or USER-NAME@TDOMAIN) and
// want to be able to use group syncing, preference pulling, etc., you'll need to set
// $wgLDAPBaseDNs and $wgLDAPSearchAttributes for the domain.
Reply to "I don't know where is the problem"