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
Jaak Ristioja
OpenLDAP
Commits
5f6996c8
Commit
5f6996c8
authored
20 years ago
by
Luke Howard
Browse files
Options
Downloads
Patches
Plain Diff
Add SLAPI_X_GROUP_TARGET_ENTRY so that group plugin can use target entry
parent
2af64577
No related branches found
Branches containing commit
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
servers/slapd/backend.c
+1
-0
1 addition, 0 deletions
servers/slapd/backend.c
servers/slapd/slapi/slapi.h
+1
-0
1 addition, 0 deletions
servers/slapd/slapi/slapi.h
servers/slapd/slapi/slapi_pblock.c
+1
-0
1 addition, 0 deletions
servers/slapd/slapi/slapi_pblock.c
with
3 additions
and
0 deletions
servers/slapd/backend.c
+
1
−
0
View file @
5f6996c8
...
...
@@ -1618,6 +1618,7 @@ static void init_group_pblock( Operation *op, Entry *target,
slapi_pblock_set
(
op
->
o_pb
,
SLAPI_X_GROUP_ENTRY
,
(
void
*
)
e
);
slapi_pblock_set
(
op
->
o_pb
,
SLAPI_X_GROUP_OPERATION_DN
,
(
void
*
)
op_ndn
->
bv_val
);
slapi_pblock_set
(
op
->
o_pb
,
SLAPI_X_GROUP_ATTRIBUTE
,
(
void
*
)
group_at
->
ad_cname
.
bv_val
);
slapi_pblock_set
(
op
->
o_pb
,
SLAPI_X_GROUP_TARGET_ENTRY
,
(
void
*
)
target
);
}
static
int
call_group_preop_plugins
(
Operation
*
op
)
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/slapi/slapi.h
+
1
−
0
View file @
5f6996c8
...
...
@@ -437,6 +437,7 @@ extern Backend * slapi_cl_get_be(char *dn);
#define SLAPI_X_GROUP_ENTRY 1250
/* e */
#define SLAPI_X_GROUP_ATTRIBUTE 1251
/* group_at */
#define SLAPI_X_GROUP_OPERATION_DN 1252
/* op_ndn */
#define SLAPI_X_GROUP_TARGET_ENTRY 1253
/* target */
#define SLAPI_MANAGEDSAIT 1000
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/slapi/slapi_pblock.c
+
1
−
0
View file @
5f6996c8
...
...
@@ -218,6 +218,7 @@ isOkNetscapeParam( int param )
case
SLAPI_X_GROUP_ENTRY
:
case
SLAPI_X_GROUP_ATTRIBUTE
:
case
SLAPI_X_GROUP_OPERATION_DN
:
case
SLAPI_X_GROUP_TARGET_ENTRY
:
return
LDAP_SUCCESS
;
default:
return
INVALID_PARAM
;
...
...
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