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
552a51ca
Commit
552a51ca
authored
21 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Tweak the codes
parent
430b67aa
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
+11
-10
11 additions, 10 deletions
include/ldap.h
servers/slapd/slap.h
+8
-8
8 additions, 8 deletions
servers/slapd/slap.h
with
19 additions
and
18 deletions
include/ldap.h
+
11
−
10
View file @
552a51ca
...
...
@@ -211,6 +211,7 @@ typedef struct ldapcontrol {
#define LDAP_SYNC_NONE 0x00
#define LDAP_SYNC_REFRESH_ONLY 0x01
#define LDAP_SYNC_RESERVED 0x02
#define LDAP_SYNC_REFRESH_AND_PERSIST 0x03
#define LDAP_SYNC_REFRESH_PRESENTS 0
...
...
@@ -478,16 +479,16 @@ typedef struct ldapcontrol {
* Based on draft-ietf-ldap-c-api-xx
* but with new (negative) codes
*/
#define LDAP_SERVER_DOWN (-1)
#define LDAP_LOCAL_ERROR (-2)
#define LDAP_ENCODING_ERROR (-3)
#define LDAP_DECODING_ERROR (-4)
#define LDAP_TIMEOUT (-5)
#define LDAP_AUTH_UNKNOWN (-6)
#define LDAP_FILTER_ERROR (-7)
#define LDAP_USER_CANCELLED (-8)
#define LDAP_PARAM_ERROR (-9)
#define LDAP_NO_MEMORY (-10)
#define LDAP_SERVER_DOWN
(-1)
#define LDAP_LOCAL_ERROR
(-2)
#define LDAP_ENCODING_ERROR
(-3)
#define LDAP_DECODING_ERROR
(-4)
#define LDAP_TIMEOUT
(-5)
#define LDAP_AUTH_UNKNOWN
(-6)
#define LDAP_FILTER_ERROR
(-7)
#define LDAP_USER_CANCELLED
(-8)
#define LDAP_PARAM_ERROR
(-9)
#define LDAP_NO_MEMORY
(-10)
#define LDAP_CONNECT_ERROR (-11)
#define LDAP_NOT_SUPPORTED (-12)
#define LDAP_CONTROL_NOT_FOUND (-13)
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/slap.h
+
8
−
8
View file @
552a51ca
...
...
@@ -103,13 +103,13 @@ LDAP_BEGIN_DECL
#define SLAP_TEXT_BUFLEN (256)
/* psuedo error code indicating abandoned operation */
#define SLAPD_ABANDON (-1)
#define SLAPD_ABANDON (-1
024
)
/* psuedo error code indicating disconnect */
#define SLAPD_DISCONNECT (-
2
)
#define SLAPD_DISCONNECT (-
1025
)
/* unknown config file directive */
#define SLAP_CONF_UNKNOWN (-
2
)
#define SLAP_CONF_UNKNOWN (-
1026
)
/* We assume "C" locale, that is US-ASCII */
#define ASCII_SPACE(c) ( (c) == ' ' )
...
...
@@ -2016,10 +2016,10 @@ typedef struct slap_op {
char
o_sync
;
char
o_sync_mode
;
#define SLAP_SYNC_NONE
(0x0)
#define SLAP_SYNC_REFRESH
(0x1)
#define SLAP_SYNC_PERSIST
(0x2)
#define SLAP_SYNC_REFRESH_AND_PERSIST
(0x3)
#define SLAP_SYNC_NONE
LDAP_SYNC_NONE
#define SLAP_SYNC_REFRESH
LDAP_SYNC_REFRESH_ONLY
#define SLAP_SYNC_PERSIST
LDAP_SYNC_RESERVED
#define SLAP_SYNC_REFRESH_AND_PERSIST
LDAP_SYNC_REFRESH_AND_PERSIST
struct
sync_cookie
o_sync_state
;
int
o_sync_rhint
;
struct
berval
o_sync_cid
;
...
...
@@ -2292,7 +2292,7 @@ typedef int (SLAP_CTRL_PARSE_FN) LDAP_P((
SlapReply
*
rs
,
LDAPControl
*
ctrl
));
#define SLMALLOC_SLAB_SIZE 10
48576
#define SLMALLOC_SLAB_SIZE
(
10
24*1024)
LDAP_END_DECL
...
...
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