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
Jaak Ristioja
OpenLDAP
Commits
6cb60f38
Commit
6cb60f38
authored
25 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Eliminate second session protocol version field.
parent
6c6ecc15
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
libraries/libldap/ldap-int.h
+2
-2
2 additions, 2 deletions
libraries/libldap/ldap-int.h
libraries/libldap/open.c
+0
-3
0 additions, 3 deletions
libraries/libldap/open.c
libraries/libldap/options.c
+1
-5
1 addition, 5 deletions
libraries/libldap/options.c
with
3 additions
and
10 deletions
libraries/libldap/ldap-int.h
+
2
−
2
View file @
6cb60f38
...
...
@@ -99,7 +99,7 @@ struct ldapoptions {
struct
timeval
*
ldo_tm_api
;
struct
timeval
*
ldo_tm_net
;
ber_int_t
ldo_version
;
/* version to connect at */
ber_int_t
ldo_version
;
ber_int_t
ldo_deref
;
ber_int_t
ldo_timelimit
;
ber_int_t
ldo_sizelimit
;
...
...
@@ -234,7 +234,7 @@ struct ldap {
#define ld_sctrls ld_options.ldo_sctrls
#define ld_cctrls ld_options.ldo_cctrls
ber_int_t
ld_version
;
/* version connected at */
#define
ld_version
ld_options.ldo_version
char
*
ld_host
;
int
ld_port
;
...
...
This diff is collapsed.
Click to expand it.
libraries/libldap/open.c
+
0
−
3
View file @
6cb60f38
...
...
@@ -161,9 +161,6 @@ ldap_create( LDAP **ldp )
#endif
/* LDAP_CHARSET_8859 == LDAP_DEFAULT_CHARSET */
#endif
/* STR_TRANSLATION && LDAP_DEFAULT_CHARSET */
/* we'll assume we're talking version 2 for now */
ld
->
ld_version
=
LDAP_VERSION2
;
ber_pvt_sb_init
(
&
(
ld
->
ld_sb
)
);
*
ldp
=
ld
;
...
...
This diff is collapsed.
Click to expand it.
libraries/libldap/options.c
+
1
−
5
View file @
6cb60f38
...
...
@@ -198,11 +198,7 @@ ldap_get_option(
return
LDAP_OPT_SUCCESS
;
case
LDAP_OPT_PROTOCOL_VERSION
:
if
((
ld
!=
NULL
)
&&
ld
->
ld_version
)
{
*
(
int
*
)
outvalue
=
ld
->
ld_version
;
}
else
{
*
(
int
*
)
outvalue
=
lo
->
ldo_version
;
}
*
(
int
*
)
outvalue
=
lo
->
ldo_version
;
return
LDAP_OPT_SUCCESS
;
case
LDAP_OPT_SERVER_CONTROLS
:
...
...
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