[mailto:owner-openldap-devel@OpenLDAP.org]On Behalf Of Kervin Pierre
Sent: Wednesday, March 20, 2002 7:30 PM
Cc: email@example.com; openldap-devel@OpenLDAP.org
Subject: Re: [dev_ldap] RE: back-perl and password/user synchronization
When do you see that happening ( ITS entry)? If you can send me the
changed files without review? I've been fighting this for the last few
days now, and I think the code is winning :)
I love to see how you got it working. I am beginning to realize that
Perl 5.6 thread module is very different from the old api, worse still
I'm building on win32. New threads can't just use the extern
PerlInterpreter pointer, they have to use PERL_GET_CONTEXT and
PERL_SET_CONTEXT etc. I'm still trying to figure these things out. I
found an email at
explaining this. So it seems to me that a new perl interpreter has to
be allocated for each thread. I tried this and it at least got rid of
some of the issues that I had, but I'm still working on others. This
seems to have to do with how your perl libraries were built. The
MULTIPLICITY, PERL_IMPLICIT_CONTEXT, and PERL_IMPLICIT_SYS defines
PS. How does a ldap bind work with back-perl? There is no bind perl
function in SampleLDAP.pm, do I have write one?
Luke Howard wrote:
I think you just lucked out. Perl internals are a nightmare,
data structures defined depending on whether you configured for
threaded, or standalone, and some combinations of the above. My general
OK, we got it built and working with Perl 5.6. We only changed the
search API to pass the search base, alias dereferencing policy, and
scope to the Perl module, as well as allowing modules to return
actual LDAP result codes via the frontend.
We'll submit an ITS when we have reviewed the changes.
Luke Howard | lukehoward.com
PADL Software | www.padl.com
http://linuxquestions.org/ - Ask linux questions, give linux help.
http://splint.org/ - Write safe C code. splint source-code analyzer.