Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Counterpart of InactiveDestroy in Net::LDAP?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dirk Heuvels  
View profile  
 More options Feb 25 2011, 8:24 am
Newsgroups: perl.ldap
From: dirk.heuv...@inovasec.de (Dirk Heuvels)
Date: Fri, 25 Feb 2011 14:24:00 +0100
Subject: Counterpart of InactiveDestroy in Net::LDAP?
Hello,

I use Net::LDAP within a daemon that forks, after Net::LDAP is
connected. The intention is, to be able to return an error code on
startup if the connection fails and only daemonize, if the connection
comes up.
Unfortunately as parent and client process will have a clone of the same
connection handle after fork(), the parent process (the one that returns
to the shell) will tear down the connection on exit. With DBI I always
avoided this behavior by setting the InactiveDestroy property to 1.

Does Net::LDAP have a mechanism comparable to InactiveDestroy?

Thanks in advance,
Dirk


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »