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

Re: getting bindDN in perl script



Please reply on the mailing list.

On 05/16/2013 01:00 AM, Benin Technologies wrote:
yes but...where is this perl function called for binds ??? it isn't in SampleLDAP.pm...

servers/slapd/back-perl/bind.c calls a method "bind" as much as servers/slapd/back-perl/search.c calls a method "search". Apparently, who wrote "SampleLDAP.pm" did not provide a "bind" example. Note that I've been working for 15 years with OpenLDAP and I never used back-perl; I discovered all of this last night by opening 2 files and reading about 10 lines of code. You should probably try to do something like this yourself.

p.

Le 15/05/2013 22:20, Pierangelo Masarati a Ãcrit :
binddn and bindpw are the first two parameters of the perl function called for binds.





--
Pierangelo Masarati
Associate Professor
Dipartimento di Ingegneria Aerospaziale
Politecnico di Milano