Hi,
I try to migrate the ldap login from 1.32 to 1.34 using the new ldap system.
My problem is that the test from LDAP hub#Debugging will work, but the log in from the web page will fails.
The ldap login itself looks , because I will see the user ldap data in it.
In the debug log I see this error:
Ran LDAP search for '(sAMAccountName=XXX)' in 0.0094449520111084 seconds.
Authenticated new user:
Authenticated new user: MediaWiki\Extension\LDAPProvider\Client::getUserDN: search with array (
'base' => 'dc=foo,dc=foo',
'filter' => '(sAMAccountName=)',
'attributes' =>
array (
0 => '*',
1 => 'memberof',
),
)
ldap_search( $linkID, $baseDN = 'dc=foo,dc=foo', $filter = '(sAMAccountName=)', $attributes = [ '*', 'memberof' ], $attrsonly = , $sizelimit = , $timelimit = , $deref = );
# returns Resource id #38
ldap_count_entries( $linkiID, $result = 'Resource id #38' );
# returns 0
Could not get user DN!
Versions:
Installed software
Product | Version |
---|---|
MediaWiki | 1.34.0 |
PHP | 7.3.13 (fpm-fcgi) |
MariaDB | 10.3.21-MariaDB |
ICU | 62.1 |
Installed extensions:
LDAPAuthentication2 1.0.1 (cb07184)
LDAPAuthorization 1.0.0 (95d34b2)
LDAPProvider 1.0.1 (04dc101)
LDAPUserInfo 1.0.0 (2107f5a)
PluggableAuth5.7 (17fb1ea)
Plugin config:
Have anybody an idea what the problem is?