On 11/13/2009 04:16 PM, Dieter Kluenter wrote:
$ldap = Net::LDAP->new('ldapi://');
$sasl = Authen::SASL->new(mechanism =>  'EXTERNAL');
$sasl_client = $sasl->client_new('ldap', 'localhost');
$ldap->bind(undef, sasl =>  $sasl_client);

I think you should define a path to ldapi, something like

my $host = 'ldapi://%2Fvar%2Frun%2Fslapd%2Fldapi';
my $ldap = Net::LDAP->new("$host");

Tried that too, same problem.

        -Kartik

Reply via email to