Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    DSML-LDAP 0.6

    Download button

    No screenshots available
    Downloads: 355  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.4/5)
    5 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Sevastian Foglia | More programs
    Perl Artistic License / FREE
    December 6th, 2007, 21:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    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.

    METHODS

    handle

    Receive DSML request, parse it using DSML-RPC, perform operation and return DSML result.

    doBind

    Perform bind operation on LDAP server specified in the request.

    doSearch

    Perform search operation on a LDAP server using information contained in DSML::Request object

    doModify

    Perform modify operation on a LDAP server using information contained in DSML::Request object

    doAdd

    Perform add operation on a LDAP server using information contained in DSML::Request object

    doDelete

    Perform delete operation on a LDAP server using information contained in DSML::Request object

    doModifyDN

    Perform modifyDN operation on a LDAP server using information contained in DSML::Request object

    doCompare

    Perform compare operation on a LDAP server using information contained in DSML::Request object

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    LDAP operation | DSML-RPC module | Perl module | LDAP | operation | DSML-RPC

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM