Skip to content

Commit

Permalink
created search method
Browse files Browse the repository at this point in the history
  • Loading branch information
russoz committed Nov 21, 2010
1 parent bf18ae0 commit e2032a1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/Net/LDAP/SimpleServer/ProtocolHandler.pm
Expand Up @@ -106,6 +106,15 @@ sub bind {
return $ok;
}

sub search {
my ( $self, $request ) = @_;

print STDERR '=' x 70 . "\n";
print STDERR Dumper($request);

return _make_result(qw/LDAP_SUCCESS/);
}

1; # Magic true value required at end of module
__END__
Expand Down Expand Up @@ -151,6 +160,10 @@ as in the L<Net::LDAP::Server> module.
Handles a bind REQUEST from the LDAP client.
=item search( REQUEST )
Performs a search in the data store
=back
=for head1 DIAGNOSTICS
Expand Down

0 comments on commit e2032a1

Please sign in to comment.