Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tero Saarni
OpenLDAP
Commits
fa4c2d65
Commit
fa4c2d65
authored
Nov 10, 2008
by
Quanah Gibson-Mount
Browse files
ITS#5757
parent
8a34d439
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
fa4c2d65
...
...
@@ -12,6 +12,7 @@ OpenLDAP 2.4.13 Engineering
Added slapd-bdb/hdb dbpagesize keyword
Added slapd-bdb/hdb checksum keyword
Fixed slapd-ldap snprintf buffer overflow test (ITS#4467)
Fixed slapd-null read controls support (ITS#5757)
Fixed slapo-chain/translucent back-config support (ITS#5736)
Fixed slapo-chain segv with search references (ITS#5742)
Fixed slapo-collect compile with C89 (ITS#5747)
...
...
servers/slapd/back-null/null.c
View file @
fa4c2d65
...
...
@@ -184,6 +184,34 @@ null_back_db_destroy( Backend *be, ConfigReply *cr )
int
null_back_initialize
(
BackendInfo
*
bi
)
{
static
char
*
controls
[]
=
{
LDAP_CONTROL_ASSERT
,
LDAP_CONTROL_MANAGEDSAIT
,
LDAP_CONTROL_PAGEDRESULTS
,
LDAP_CONTROL_SUBENTRIES
,
#if 0 /* do not declare support for write operation specific controls */
LDAP_CONTROL_NOOP,
LDAP_CONTROL_PRE_READ,
LDAP_CONTROL_POST_READ,
LDAP_CONTROL_X_PERMISSIVE_MODIFY,
#ifdef LDAP_X_TXN
LDAP_CONTROL_X_TXN_SPEC,
#endif
#endif
NULL
};
Debug
(
LDAP_DEBUG_TRACE
,
"null_back_initialize: initialize null backend
\n
"
,
0
,
0
,
0
);
bi
->
bi_flags
|=
SLAP_BFLAG_INCREMENT
|
SLAP_BFLAG_SUBENTRIES
|
SLAP_BFLAG_ALIASES
|
SLAP_BFLAG_REFERRALS
;
bi
->
bi_controls
=
controls
;
bi
->
bi_open
=
0
;
bi
->
bi_close
=
0
;
bi
->
bi_config
=
0
;
...
...
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