Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
34f4c2cb
Commit
34f4c2cb
authored
Sep 20, 2006
by
Quanah Gibson-Mount
Browse files
ITS#4358
parent
cacd5f42
Changes
4
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
34f4c2cb
...
...
@@ -7,6 +7,8 @@ OpenLDAP 2.3.28 Engineering
Fixed slapd global access controls initialization (ITS#4654)
Fixed slapd setting c_sasl_bindop only on SASL binds
Fixed slapd-perl deletes (ITS#2612)
Fixed slapd-perl backend initialization (ITS#4358)
Fixed slapd-perl finding interpreter inside a thread (ITS#4358)
OpenLDAP 2.3.27 Release
Fixed libldap dangling pointer issue (previous fix was broken) (ITS#4405)
...
...
servers/slapd/back-perl/bind.c
View file @
34f4c2cb
...
...
@@ -32,7 +32,7 @@ perl_back_bind(
PerlBackend
*
perl_back
=
(
PerlBackend
*
)
op
->
o_bd
->
be_private
;
#ifdef
HAVE_WIN32_ASPERL
#if
def
ined(
HAVE_WIN32_ASPERL
) || defined(USE_ITHREADS)
PERL_SET_CONTEXT
(
PERL_INTERPRETER
);
#endif
...
...
servers/slapd/back-perl/init.c
View file @
34f4c2cb
...
...
@@ -35,7 +35,9 @@ perl_back_initialize(
BackendInfo
*
bi
)
{
bi
->
bi_open
=
perl_back_open
;
char
*
embedding
[]
=
{
""
,
"-e"
,
"0"
};
bi
->
bi_open
=
NULL
;
bi
->
bi_config
=
0
;
bi
->
bi_close
=
perl_back_close
;
bi
->
bi_destroy
=
0
;
...
...
@@ -63,16 +65,7 @@ perl_back_initialize(
bi
->
bi_connection_init
=
0
;
bi
->
bi_connection_destroy
=
0
;
return
0
;
}
int
perl_back_open
(
BackendInfo
*
bi
)
{
char
*
embedding
[]
=
{
""
,
"-e"
,
"0"
};
/* injecting code from perl_back_open, because using fonction reference (bi->bi_open) is not functional */
Debug
(
LDAP_DEBUG_TRACE
,
"perl backend open
\n
"
,
0
,
0
,
0
);
if
(
PERL_INTERPRETER
!=
NULL
)
{
...
...
servers/slapd/back-perl/proto-perl.h
View file @
34f4c2cb
...
...
@@ -22,7 +22,6 @@ LDAP_BEGIN_DECL
extern
BI_init
perl_back_initialize
;
extern
BI_open
perl_back_open
;
extern
BI_close
perl_back_close
;
extern
BI_db_init
perl_back_db_init
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment