When I do a search like so
my $mesg = $ldap->search( base => \"OU=test,DC=example,DC=com\", scope => \'one\', filter => \'(objectClass=organ
You don't specify the module that you are using to ldap search. By the way 'sizelimit' key can be used to it but by default it is not limited. This can be a server side limit configuration.