→実装例
(→実装例) |
(→実装例) |
||
10行目: | 10行目: | ||
*LdapAuthentication.php | *LdapAuthentication.php | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
// 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> |