use Net::LDAP; $ldap = Net::LDAP->new( 'ldap.bigfoot.com' ) or die "$@"; $mesg = $ldap->bind( 'cn=root, o=University of Michigan, c=us', password => 'secret' );