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

Re: getting bindDN in perl script



Hallvard Breien Furuseth wrote:
> On 2013-05-15 23:20, Pierangelo Masarati wrote:
>> Your perl scripts need to store the bind parameters somewhere if you
>> intend to use them also during searches, assuming you really need
>> them; usually, one does not need the binddn and the password when
>> performing searches.
> 
> Specifically, its Bind function would to stash them in a
> {connection ID: bind params} hash.  Other ops would look that
> up.  A connection_destory handler and rebind would remove them.
> 
> But first he must hack back-perl, which does not now provide the
> connection ID or a connection_destroy handler.

This sound to me that back-sock is a much better approach.

From slapd-sock(5):

   extensions binddn | peername | ssf | connid

Ciao, Michael.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature