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
04093d38
Commit
04093d38
authored
14 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
ITS#6482
parent
e1e8cf7e
No related branches found
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
+2
-1
2 additions, 1 deletion
CHANGES
doc/man/man8/slapcat.8
+5
-0
5 additions, 0 deletions
doc/man/man8/slapcat.8
servers/slapd/slapcat.c
+16
-2
16 additions, 2 deletions
servers/slapd/slapcat.c
with
23 additions
and
3 deletions
CHANGES
+
2
−
1
View file @
04093d38
...
...
@@ -3,9 +3,10 @@ OpenLDAP 2.4 Change Log
OpenLDAP 2.4.24 Engineering
Added contrib/noopsrch for entry counting (ITS#6598)
Added slapadd attribute value checking (ITS#6592)
Added slapcat continue mode for problematic DBs (ITS#6482)
Added slapd-null back-config support (ITS#6624)
Added slapd-sql autocommit support (ITS#6612)
Adde
s
slapd-sql support for long long keys (ITS#6617)
Adde
d
slapd-sql support for long long keys (ITS#6617)
Fixed liblber to not close invalid sockets (ITS#6585)
Fixed libldap dnssrv port format specifier (ITS#6644)
Fixed libldap EOF handling (ITS#6723)
...
...
This diff is collapsed.
Click to expand it.
doc/man/man8/slapcat.8
+
5
−
0
View file @
04093d38
...
...
@@ -82,6 +82,11 @@ option.
.TP
.B \-c
Enable continue (ignore errors) mode.
Multiple occorrences of
.B \-c
make
.BR slapcat (8)
try harder.
.TP
.BI \-d \ debug-level
Enable debugging messages as defined by the specified
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/slapcat.c
+
16
−
2
View file @
04093d38
...
...
@@ -109,8 +109,22 @@ slapcat( int argc, char **argv )
if
(
e
==
NULL
)
{
printf
(
"# no data for entry id=%08lx
\n\n
"
,
(
long
)
id
);
rc
=
EXIT_FAILURE
;
if
(
continuemode
)
continue
;
break
;
if
(
continuemode
==
0
)
{
break
;
}
else
if
(
continuemode
==
1
)
{
continue
;
}
/* this is a last resort: linearly scan all ids
* trying to recover as much as possible (ITS#6482) */
while
(
++
id
!=
NOID
)
{
e
=
be
->
be_entry_get
(
be
,
id
);
if
(
e
!=
NULL
)
break
;
printf
(
"# no data for entry id=%08lx
\n\n
"
,
(
long
)
id
);
}
if
(
e
==
NULL
)
break
;
}
if
(
doBSF
)
{
...
...
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