[Mediawiki-l] LDAP DLL problem

Reizer Gábor reizer.gabor at gmail.com
Mon Nov 12 10:27:41 UTC 2007


I have downloaded 'Collection of PECL modules' for PHP. It contains
php_ldap.dll, but not php_openssl.dll file. It is important to use
php_openssl.dll
if I do not use ssl?

The output:

Entering validDomain
User is using a valid domain.
Setting domain as: KAR
Entering getCanonicalName
Username isn't empty.
Munged username: U061827
Entering userExists
Entering authenticate
Entering Connect
It looks like you are issing LDAP support; please ensure you have either
compiled LDAP support in, or have enabled the module. If the authentication
is working for you, the plugin isn't properly detecting the LDAP module, and
you can safely ignore this message.
Using TLS or not using encryption.
Using servers: ldap://aab.kar.local


2007/11/12, Reizer Gábor <reizer.gabor at gmail.com>:
>
> Hi,
>
> The output:
>
> Entering validDomain
> User is using a valid domain.
> Setting domain as: MKB
> Entering getCanonicalName
> Username isn't empty.
> Munged username: U061827
> Entering userExists
> Entering authenticate
> Entering Connect
> It looks like you are issing LDAP support; please ensure you have either
> compiled LDAP support in, or have enabled the module. If the authentication
> is working for you, the plugin isn't properly detecting the LDAP module, and
> you can safely ignore this message.
> Using TLS or not using encryption.
> Using servers: ldap://aab.kar.local
>
> The problem could be that I don't have PHP configured correctly.
> How can I set 'php_ldap.dll' (and maybe 'php_openssl.dll') to *extension_dir of PHP (
> *c:/php/ext)?
> Where can I find these extansions? Could you give me an URL where I can
> find/download these?
>
> Regards,
> Gabor
>
>
>
> 2007/11/9, Lane, Ryan < Ryan.Lane at ocean.navo.navy.mil>:
> >
> > > How can I get the php_ldap.dll and php_openssl.dll?
> > >
> > > What do I have to install? For example an LDAP server on my
> > > Apache server or something other extensions do I have to install?
> > >
> >
> > Right on the documentation page:
> >
> >
> > http://www.mediawiki.org/wiki/Extension:LDAP_Authentication#Windows_conf
> > iguration
> >
> > > I used the following configuration to get regular
> > > authentication working first. Despite it is NOT working:
> > >
> > > require_once 'LdapAuthentication.php';
> > > $wgAuth = new LdapAuthenticationPlugin(); $wgLDAPDomainNames = array(
> > >   'KAR'
> > > );
> > > $wgLDAPServerNames = array(
> > >   'KAR' => 'aab.kar.local',
> > > );
> > > $wgLDAPSearchStrings = array(
> > >   'KAR' => 'KAR\\USER-NAME',
> > > );
> > > $wgLDAPEncryptionType = array(
> > >   'KAR' => 'ssl',
> > > );
> > > $wgLDAPUseLocal = false;
> > > $wgMinimalPasswordLength = 1;
> > >
> >
> > You've posted the same thing a few times. I need more information than
> > this to help you. If you don't have PHP configured correctly, fix that
> > problem. For any further help I'll need your debug info; please set:
> >
> >         $wgLDAPDebug = 4;
> >
> > And post the output, snipping out anything sensitive.
> >
> > V/r,
> >
> > Ryan Lane
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l at lists.wikimedia.org
> > http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
>
>


More information about the MediaWiki-l mailing list