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
fc151443
Commit
fc151443
authored
19 years ago
by
Hallvard Furuseth
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup: Rename struct null_info.bind_allowed to .ni_bind_allowed
parent
4ba83103
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
servers/slapd/back-null/null.c
+4
-4
4 additions, 4 deletions
servers/slapd/back-null/null.c
with
4 additions
and
4 deletions
servers/slapd/back-null/null.c
+
4
−
4
View file @
fc151443
...
...
@@ -26,7 +26,7 @@
#include
"slap.h"
struct
null_info
{
int
bind_allowed
;
int
ni_
bind_allowed
;
};
static
int
...
...
@@ -34,7 +34,7 @@ null_back_bind( Operation *op, SlapReply *rs )
{
struct
null_info
*
ni
=
(
struct
null_info
*
)
op
->
o_bd
->
be_private
;
if
(
ni
->
bind_allowed
)
{
if
(
ni
->
ni_
bind_allowed
)
{
/* front end will send result on success (0) */
return
LDAP_SUCCESS
;
}
...
...
@@ -87,7 +87,7 @@ null_back_db_config(
fname
,
lineno
);
return
1
;
}
ni
->
bind_allowed
=
strcasecmp
(
argv
[
1
],
"off"
);
ni
->
ni_
bind_allowed
=
strcasecmp
(
argv
[
1
],
"off"
);
/* anything else */
}
else
{
...
...
@@ -103,7 +103,7 @@ null_back_db_init( BackendDB *be )
struct
null_info
*
ni
;
ni
=
ch_calloc
(
1
,
sizeof
(
struct
null_info
)
);
ni
->
bind_allowed
=
0
;
ni
->
ni_
bind_allowed
=
0
;
be
->
be_private
=
ni
;
return
0
;
}
...
...
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