PL/Perl won't let you use modules, you need to createlang plperlu
(u for "untrusted") and use that.
Hope this helps,
Stuart.
On 7/16/07, Bruno Lavoie <[EMAIL PROTECTED]> wrote:
hello,
simple problem, I hope I can do this working on! If i'm on a wrong
place, just tell me where I can find answer
Bruno Lavoie wrote:
hello,
if ($mesg == 0) {
return true;
} else {
return false;
}
$body$
LANGUAGE 'plperl' VOLATILE CALLED ON NULL INPUT SECURITY INVOKER;
WHY:
compile without the use Net::LDAP and crash at runtime...?
don't compiles with the use of Net::LDAP?
You need plperlu not
hello,
simple problem, I hope I can do this working on! If i'm on a wrong
place, just tell me where I can find answers to my problem
Here's my first pl/perl routine that compile very well:
my $ldap = Net::LDAP->new('mydc.mycomp.com');
my $bind_uid = 'DOMAIN\\'.$_[0];
my $mesg = $ldap