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
68a413a6
Commit
68a413a6
authored
26 years ago
by
Juan Gomez
Browse files
Options
Downloads
Patches
Plain Diff
Made add_values(), delete_values(), and replace_values() so they can be
used in implementing modrdn v3.
parent
cd90353f
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
servers/slapd/back-bdb2/modify.c
+3
-6
3 additions, 6 deletions
servers/slapd/back-bdb2/modify.c
servers/slapd/back-bdb2/proto-back-bdb2.h
+10
-0
10 additions, 0 deletions
servers/slapd/back-bdb2/proto-back-bdb2.h
with
13 additions
and
6 deletions
servers/slapd/back-bdb2/modify.c
+
3
−
6
View file @
68a413a6
...
...
@@ -11,9 +11,6 @@
#include
"back-bdb2.h"
#include
"proto-back-bdb2.h"
static
int
add_values
(
Entry
*
e
,
LDAPMod
*
mod
,
char
*
dn
);
static
int
delete_values
(
Entry
*
e
,
LDAPMod
*
mod
,
char
*
dn
);
static
int
replace_values
(
Entry
*
e
,
LDAPMod
*
mod
,
char
*
dn
);
static
int
bdb2i_back_modify_internal
(
...
...
@@ -157,7 +154,7 @@ bdb2_back_modify(
}
static
int
int
add_values
(
Entry
*
e
,
LDAPMod
*
mod
,
...
...
@@ -185,7 +182,7 @@ add_values(
return
(
LDAP_SUCCESS
);
}
static
int
int
delete_values
(
Entry
*
e
,
LDAPMod
*
mod
,
...
...
@@ -241,7 +238,7 @@ delete_values(
return
(
LDAP_SUCCESS
);
}
static
int
int
replace_values
(
Entry
*
e
,
LDAPMod
*
mod
,
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/back-bdb2/proto-back-bdb2.h
+
10
−
0
View file @
68a413a6
...
...
@@ -131,6 +131,16 @@ int bdb2i_index_add_values LDAP_P(( BackendDB *be, char *type, struct berval **v
/* bdb2i_krbv4_ldap_auth LDAP_P(( BackendDB *be, struct berval *cred, AUTH_DAT *ad )); */
#endif
/*
* modify.c
* These prototypes are placed here because they are used by modify and
* modify rdn which are implemented in different files.
*/
int
add_values
LDAP_P
((
Entry
*
e
,
LDAPMod
*
mod
,
char
*
dn
));
int
delete_values
LDAP_P
((
Entry
*
e
,
LDAPMod
*
mod
,
char
*
dn
));
int
replace_values
LDAP_P
((
Entry
*
e
,
LDAPMod
*
mod
,
char
*
dn
));
/*
* nextid.c
*/
...
...
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