DSML-LDAP

DSML-LDAP is a Perl module to make LDAP operation using DSML-RPC module.
Download

DSML-LDAP Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Sevastian Foglia
  • Publisher web site:
  • http://search.cpan.org/~seva/DsmlRpc-0.6/DSMLRPC.pod

DSML-LDAP Tags


DSML-LDAP Description

DSML-LDAP is a Perl module to make LDAP operation using DSML-RPC module. DSML-LDAP is a Perl module to make LDAP operation using DSML-RPC module.SYNOPSIS use HTTP::Daemon; use HTTP::Status; use DSML-LDAP; my $httpd = HTTP::Daemon->new || die; print "Please contact me at: n"; while (my $c = $httpd->accept) { while (my $r = $c->get_request) { if ($r->method eq 'POST') { my $req = $r->content; $xml = DSML-LDAP::handle($req); .... # Build HTTP response .... $httpd->send_response($response); } else { $httpd->send_error(RC_FORBIDDEN); } } }This module use DSML-RPC to parse XML and Net::LDAP to perform operation on a LDAP Server. In the example below I use HTTP protocol to transport DSML request and response.METHODShandleReceive DSML request, parse it using DSML-RPC, perform operation and return DSML result.doBindPerform bind operation on LDAP server specified in the request.doSearchPerform search operation on a LDAP server using information contained in DSML::Request objectdoModifyPerform modify operation on a LDAP server using information contained in DSML::Request objectdoAddPerform add operation on a LDAP server using information contained in DSML::Request objectdoDeletePerform delete operation on a LDAP server using information contained in DSML::Request objectdoModifyDNPerform modifyDN operation on a LDAP server using information contained in DSML::Request objectdoComparePerform compare operation on a LDAP server using information contained in DSML::Request object Requirements: · Perl


DSML-LDAP Related Software