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.