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
Christopher Ng
OpenLDAP
Commits
71aac348
Commit
71aac348
authored
17 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
ITS#5360
parent
35eeac3c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES
+1
-0
1 addition, 0 deletions
CHANGES
servers/slapd/init.c
+0
-10
0 additions, 10 deletions
servers/slapd/init.c
servers/slapd/main.c
+7
-0
7 additions, 0 deletions
servers/slapd/main.c
with
8 additions
and
10 deletions
CHANGES
+
1
−
0
View file @
71aac348
...
...
@@ -27,6 +27,7 @@ OpenLDAP 2.4.8 Engineering
Fixed slapd cn=config global acls (ITS#5352)
Fixed slapd truncated cookie (ITS#5362)
Fixed slapd str2entry with no attrs (ITS#5308)
Fixed slapd TLSVerifyClient default (ITS#5360)
Fixed slapd-bdb crash with modrdn (ITS#5358)
Fixed slapd-bdb segv with bdb4.6 (ITS#5322)
Fixed slapd-bdb modrdn to same dn (ITS#5319)
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/init.c
+
0
−
10
View file @
71aac348
...
...
@@ -179,16 +179,6 @@ slap_init( int mode, const char *name )
return
1
;
}
#ifdef HAVE_TLS
/* Library defaults to full certificate checking. This is correct when
* a client is verifying a server because all servers should have a
* valid cert. But few clients have valid certs, so we want our default
* to be no checking. The config file can override this as usual.
*/
rc
=
0
;
(
void
)
ldap_pvt_tls_set_option
(
NULL
,
LDAP_OPT_X_TLS_REQUIRE_CERT
,
&
rc
);
#endif
if
(
frontend_init
()
)
{
slap_debug
|=
LDAP_DEBUG_NONE
;
Debug
(
LDAP_DEBUG_ANY
,
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/main.c
+
7
−
0
View file @
71aac348
...
...
@@ -736,6 +736,13 @@ unhandled_option:;
SERVICE_EXIT
(
ERROR_SERVICE_SPECIFIC_ERROR
,
20
);
goto
destroy
;
}
/* Library defaults to full certificate checking. This is correct when
* a client is verifying a server because all servers should have a
* valid cert. But few clients have valid certs, so we want our default
* to be no checking. The config file can override this as usual.
*/
rc
=
LDAP_OPT_X_TLS_NEVER
;
(
void
)
ldap_pvt_tls_set_option
(
slap_tls_ld
,
LDAP_OPT_X_TLS_REQUIRE_CERT
,
&
rc
);
#endif
rc
=
slap_init
(
serverMode
,
serverName
);
...
...
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