コンテンツにスキップ

「匿名認証」の版間の差分

 
(同じ利用者による、間の1版が非表示)
8行目: 8行目:
$wgLDAPEncriptionType = array( 'APAC' => 'Clear' );
$wgLDAPEncriptionType = array( 'APAC' => 'Clear' );
</syntaxhighlight>
</syntaxhighlight>
*LdapAuthentication.php
*LdapAuthenticationPlugin.php
<syntaxhighlight lang="php">
<syntaxhighlight lang="php">
                // This is an anonymous bind
// This is an anonymous bind
              $this->printDebug( "Doing an anonymous bind", NONSENSITIVE );
$this->printDebug( "Doing an anonymous bind", NONSENSITIVE );
//             $bind = $this->bindAs();  下のように書き換える
// $bind = $this->bindAs();  下のように書き換える
$bind=$this->bindAs( $this->getSerachString( $username ), $this->getPasswordHash( $password ) );
$bind=$this->bindAs( $this->getSerachString( $username ), $this->getPasswordHash( $password ) );
</syntaxhighlight>
</syntaxhighlight>
7,764

回編集

スポンサーリンク