Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
François Kooman
OpenLDAP
Commits
761b0a23
Commit
761b0a23
authored
18 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
ITS#4358, thanks to Kevine Zerbib
parent
80073aef
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
servers/slapd/back-perl/bind.c
+1
-1
1 addition, 1 deletion
servers/slapd/back-perl/bind.c
servers/slapd/back-perl/init.c
+4
-11
4 additions, 11 deletions
servers/slapd/back-perl/init.c
servers/slapd/back-perl/proto-perl.h
+0
-1
0 additions, 1 deletion
servers/slapd/back-perl/proto-perl.h
with
5 additions
and
13 deletions
servers/slapd/back-perl/bind.c
+
1
−
1
View file @
761b0a23
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/back-perl/init.c
+
4
−
11
View file @
761b0a23
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/back-perl/proto-perl.h
+
0
−
1
View file @
761b0a23
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment