コンテンツにスキップ

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

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

回編集

スポンサーリンク