DBD::LDAP

DBD::LDAP is a Perl extension for DBI, providing an SQL/Perl DBI interface to Ldap databases.
Download

DBD::LDAP Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Jim Turner
  • Publisher web site:
  • http://search.cpan.org/~jlishev/WebTools-1.27/lib/modules/WTJSprite.pm

DBD::LDAP Tags


DBD::LDAP Description

DBD::LDAP is a Perl extension for DBI, providing an SQL/Perl DBI interface to Ldap databases. DBD::LDAP is a Perl extension for DBI, providing an SQL/Perl DBI interface to Ldap databases.SYNOPSIS use DBI; $dbh = DBI->connect("DBI:LDAP:ldapdb",'user','password') #USER LOGIN. or die "Cannot connect as user: " . $DBI::errstr; $dbh = DBI->connect("DBI:LDAP:ldapdb") #ANONYMOUS LOGIN (Read-only). or die "Cannot connect as guest (readonly): " . $DBI::errstr; $sth = $dbh->prepare("select * from people where (cn like 'Smith%')") or die "Cannot prepare: " . $dbh->errstr(); $sth->execute() or die "Cannot execute: " . $sth->errstr(); while ((@results) = $sth->fetchrow_array) { print "--------------------------------------------------------n"; ++$cnt; while (@results) { print "------>".join('|',split(//, shift(@results)))."n"; } } $sth->finish(); $dbh->disconnect();Requirements:· Convert::ANS1· Net::LDAP· DBI· Perl Requirements: · Convert::ANS1 · Net::LDAP · DBI · Perl


DBD::LDAP Related Software