「匿名認証」の版間の差分
→実装例
(→実装例) |
(→実装例) |
||
11行目: | 11行目: | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
// This is an anonymous bind | // This is an anonymous bind | ||
$this->printDebug( "Doing an anonymous bind", NONSENSITIVE ); | |||
// $bind = $this->bindAs(); 下のように書き換える | |||
$bind=$this->bindAs( $this->getSerachString( $username ), $this->getPasswordHash( $password ) ); | $bind=$this->bindAs( $this->getSerachString( $username ), $this->getPasswordHash( $password ) ); | ||
</syntaxhighlight> | </syntaxhighlight> |