Are there any known issues of ActiveDirectory ignoring the 'attr' argument of search() in Net::LDAP v.0.2701? I've got a script in which I'm talking to an AD server and I say this:
my $base = "OU=Foo,DC=Bar,DC=blah,DC=eek"; my $scope = "sub"; my $filter = "CN=*"; my $attributes = ['description', 'cn']; my $msg = $ldap->search(base => $base, scope => $scope, filter => $filter, attr => $attributes); But what is returned is all the records I'm lookin for, with *all* attributes, not just 'description' and 'cn'. Any tips? -dan