$mesg = $ldap->search( base => "o=acme.com", scope => 'sub', filter => "sn=smith", attrs => [qw(sn givenName department)] );