Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
David Barchiesi
OpenLDAP
Commits
f36877eb
Commit
f36877eb
authored
15 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
ITS#6283
parent
2e661110
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES
+1
-0
1 addition, 0 deletions
CHANGES
libraries/libldap/init.c
+23
-0
23 additions, 0 deletions
libraries/libldap/init.c
with
24 additions
and
0 deletions
CHANGES
+
1
−
0
View file @
f36877eb
OpenLDAP 2.4 Change Log
OpenLDAP 2.4.20 Engineering
Fixed client tools with LDAP options (ITS#6283)
Fixed liblber embedded NUL values in BerValues (ITS#6353)
Fixed liblber inverted LBER_USE_DER test (ITS#6348)
Fixed liblber to return failure on certain failures (ITS#6344)
...
...
This diff is collapsed.
Click to expand it.
libraries/libldap/init.c
+
23
−
0
View file @
f36877eb
...
...
@@ -427,11 +427,34 @@ static void openldap_ldap_init_w_env(
ldap_int_sasl_config
(
gopts
,
attrs
[
i
].
offset
,
value
);
#endif
break
;
case
ATTR_GSSAPI
:
#ifdef HAVE_GSSAPI
ldap_int_gssapi_config
(
gopts
,
attrs
[
i
].
offset
,
value
);
#endif
break
;
case
ATTR_TLS
:
#ifdef HAVE_TLS
ldap_int_tls_config
(
NULL
,
attrs
[
i
].
offset
,
value
);
#endif
break
;
case
ATTR_OPT_TV
:
{
struct
timeval
tv
;
char
*
next
;
tv
.
tv_usec
=
0
;
tv
.
tv_sec
=
strtol
(
value
,
&
next
,
10
);
if
(
next
!=
value
&&
next
[
0
]
==
'\0'
&&
tv
.
tv_sec
>
0
)
{
(
void
)
ldap_set_option
(
NULL
,
attrs
[
i
].
offset
,
(
const
void
*
)
&
tv
);
}
}
break
;
case
ATTR_OPT_INT
:
{
long
l
;
char
*
next
;
l
=
strtol
(
value
,
&
next
,
10
);
if
(
next
!=
value
&&
next
[
0
]
==
'\0'
&&
l
>
0
&&
(
long
)((
int
)
l
)
==
l
)
{
int
v
=
(
int
)
l
;
(
void
)
ldap_set_option
(
NULL
,
attrs
[
i
].
offset
,
(
const
void
*
)
&
v
);
}
}
break
;
}
}
}
...
...
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