[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Fwd: Re: getting bindDN in perl script



bingo !!!!
that was it !!!!

bind() isn't called with the rootdn/rootpw
but with any other dn/pw it's called, now I can get the credentials int the perl script

MANY MANY thanks

Ben

Le 16/05/2013 11:23, Hallvard Breien Furuseth a Ãcrit :
On 2013-05-16 11:14, Benin Technologies wrote:
I wrote :
sub bind {
    print {*STDERR} "Here in bind\n";
    return 0;
}

It's never called : when I start slapd I can see that new() and init()
are called, then when I do a search I can see that search() is called,
but apparently the bind() function I wrote in SampleLDAP.pm is never called

Are you binding with the rootdn/rootpw?  back-ldap/bind.c handles these
specially, with be_rootdn_bind().  If so, try another DN and password.