PrepAway - Latest Free Exam Questions & Answers

Category: 117-301

Exam 117-301: LPI 301 Core Exam

The following excerpt is from a Perl script that reads a LDAP database and writes a LDIF file

The following excerpt is from a Perl script that reads a LDAP database and writes a LDIF file:

$ldap = Net::LDAP->new( ‘ldap.server.com’ );

$mesg = $ldap->bind( ‘cn=incadmin,o=inc’, password => ‘secret’ );

[YOUR ANSWER GOES HERE]

Net::LDAP::LDIF->new( *STDOUT,"w" )->write( $mesg->entries ); $mesg =

ldap->unbind;

Which code snippet contains the correct query?


Page 4 of 24« First...23456...1020...Last »