Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
4572e7d7
Commit
4572e7d7
authored
Jan 29, 2009
by
Pierangelo Masarati
Browse files
proxy RFC4525 increment; bail out in case of unsupported extension (ITS#5912)
parent
e80731bc
Changes
3
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-ldap/init.c
View file @
4572e7d7
...
...
@@ -62,7 +62,10 @@ ldap_back_initialize( BackendInfo *bi )
* and the entryTtl attribute */
SLAP_BFLAG_DYNAMIC
|
#endif
/* LDAP_DYNAMIC_OBJECTS */
0
;
/* back-ldap recognizes RFC4525 increment;
* let the remote server complain, if needed (ITS#5912) */
SLAP_BFLAG_INCREMENT
;
bi
->
bi_open
=
ldap_back_open
;
bi
->
bi_config
=
0
;
...
...
servers/slapd/back-meta/init.c
View file @
4572e7d7
...
...
@@ -53,7 +53,10 @@ meta_back_initialize(
SLAP_BFLAG_DYNAMIC |
#endif /* LDAP_DYNAMIC_OBJECTS */
#endif
0
;
/* back-meta recognizes RFC4525 increment;
* let the remote server complain, if needed (ITS#5912) */
SLAP_BFLAG_INCREMENT
;
bi
->
bi_open
=
meta_back_open
;
bi
->
bi_config
=
0
;
...
...
servers/slapd/modify.c
View file @
4572e7d7
...
...
@@ -268,6 +268,7 @@ fe_op_modify( Operation *op, SlapReply *rs )
if
(
op
->
orm_increment
&&
!
SLAP_INCREMENT
(
op
->
o_bd
)
)
{
send_ldap_error
(
op
,
rs
,
LDAP_UNWILLING_TO_PERFORM
,
"modify/increment not supported in context"
);
goto
cleanup
;
}
/*
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment