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
46053f84
Commit
46053f84
authored
21 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Clean up LDAP Sync result codes
parent
f2a9089e
No related branches found
Branches containing commit
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
include/ldap.h
+5
-8
5 additions, 8 deletions
include/ldap.h
libraries/libldap/error.c
+1
-7
1 addition, 7 deletions
libraries/libldap/error.c
with
6 additions
and
15 deletions
include/ldap.h
+
5
−
8
View file @
46053f84
...
...
@@ -474,20 +474,17 @@ typedef struct ldapcontrol {
#define LDAP_OTHER 0x50
/* Expermental result codes */
/* Exper
i
mental result codes */
#define LDAP_X_ERROR(n) LDAP_RANGE((n),0x1000,0x3FFF)
/* experimental */
#define LDAP_PVT_ERROR(n) LDAP_RANGE((n),0x4000,0xFFFF)
/* private use */
#define LDAP_SYNC_RESOURCES_EXHAUSTED 0x4100
#define LDAP_SYNC_SECURITY_VIOLATION 0x4101
#define LDAP_SYNC_INVALID_COOKIE 0x4102
#define LDAP_SYNC_UNSUPPORTED_SCHEME 0x4103
#define LDAP_SYNC_CLIENT_DISCONNECT 0x4104
#define LDAP_SYNC_RELOAD_REQUIRED 0x4105
/* for the LDAP Sync operation */
#define LDAP_SYNC_REFRESH_REQUIRED 0x4100
/* for the Assertion control */
#define LDAP_ASSERTION_FAILED 0x410f
/*
resultCode for Cancel Response
*/
/*
for the Cancel operation
*/
#define LDAP_CANCELLED 0x4110
#define LDAP_NO_SUCH_OPERATION 0x4111
#define LDAP_TOO_LATE 0x4112
...
...
This diff is collapsed.
Click to expand it.
libraries/libldap/error.c
+
1
−
7
View file @
46053f84
...
...
@@ -105,15 +105,9 @@ static struct ldaperror ldap_builtin_errlist[] = {
{
LDAP_CLIENT_LOOP
,
N_
(
"Client Loop"
)},
{
LDAP_REFERRAL_LIMIT_EXCEEDED
,
N_
(
"Referral Limit Exceeded"
)},
{
LDAP_SYNC_REFRESH_REQUIRED
,
N_
(
"Content Sync Refresh Required"
)},
{
LDAP_ASSERTION_FAILED
,
N_
(
"Assertion Failed"
)},
{
LDAP_SYNC_RESOURCES_EXHAUSTED
,
N_
(
"Content Sync Resource Exhausted"
)},
{
LDAP_SYNC_SECURITY_VIOLATION
,
N_
(
"Content Sync Security Violation"
)},
{
LDAP_SYNC_INVALID_COOKIE
,
N_
(
"Content Sync Invalid Cookie"
)},
{
LDAP_SYNC_UNSUPPORTED_SCHEME
,
N_
(
"Content Sync Unsupported Scheme"
)},
{
LDAP_SYNC_CLIENT_DISCONNECT
,
N_
(
"Content Sync Client Disconnect"
)},
{
LDAP_SYNC_RELOAD_REQUIRED
,
N_
(
"Content Sync Reload Required"
)},
#ifdef LDAP_EXOP_X_CANCEL
{
LDAP_CANCELLED
,
N_
(
"Cancelled"
)},
{
LDAP_NO_SUCH_OPERATION
,
N_
(
"No Operation to Cancel"
)},
...
...
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