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
1bae6d28
Commit
1bae6d28
authored
Apr 05, 2003
by
Pierangelo Masarati
Browse files
silence warnings
parent
5804183f
Changes
4
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-ldap/config.c
View file @
1bae6d28
...
...
@@ -429,8 +429,6 @@ ldap_back_exop_whoami(
/* if auth'd by back-ldap and request is proxied, forward it */
if
(
op
->
o_conn
->
c_authz_backend
&&
!
strcmp
(
op
->
o_conn
->
c_authz_backend
->
be_type
,
"ldap"
)
&&
!
dn_match
(
&
op
->
o_ndn
,
&
op
->
o_conn
->
c_ndn
))
{
struct
ldapinfo
*
li
=
(
struct
ldapinfo
*
)
op
->
o_conn
->
c_authz_backend
->
be_private
;
struct
ldapconn
*
lc
;
LDAPControl
c
,
*
ctrls
[
2
]
=
{
&
c
,
NULL
};
...
...
servers/slapd/back-ldap/delete.c
View file @
1bae6d28
...
...
@@ -52,7 +52,6 @@ ldap_back_delete(
{
struct
ldapinfo
*
li
=
(
struct
ldapinfo
*
)
op
->
o_bd
->
be_private
;
struct
ldapconn
*
lc
;
int
rc
;
ber_int_t
msgid
;
struct
berval
mdn
=
{
0
,
NULL
};
...
...
servers/slapd/back-ldap/modrdn.c
View file @
1bae6d28
...
...
@@ -52,7 +52,6 @@ ldap_back_modrdn(
{
struct
ldapinfo
*
li
=
(
struct
ldapinfo
*
)
op
->
o_bd
->
be_private
;
struct
ldapconn
*
lc
;
int
rc
;
ber_int_t
msgid
;
struct
berval
mdn
=
{
0
,
NULL
},
mnewSuperior
=
{
0
,
NULL
};
...
...
servers/slapd/back-meta/search.c
View file @
1bae6d28
...
...
@@ -103,7 +103,7 @@ meta_back_search( Operation *op, SlapReply *rs )
struct
metasingleconn
*
lsc
;
struct
timeval
tv
=
{
0
,
0
};
LDAPMessage
*
res
,
*
e
;
int
count
,
rc
=
0
,
*
msgid
,
sres
=
LDAP_NO_SUCH_OBJECT
;
int
rc
=
0
,
*
msgid
,
sres
=
LDAP_NO_SUCH_OBJECT
;
char
*
match
=
NULL
,
*
err
=
NULL
;
char
*
mmatch
=
NULL
;
BerVarray
v2refs
=
NULL
;
...
...
@@ -361,6 +361,7 @@ meta_back_search( Operation *op, SlapReply *rs )
#if 0
if ( mapped_attrs == NULL && op->oq_search.rs_attrs) {
int count;
for ( count = 0; op->oq_search.rs_attrs[ count ].an_name.bv_val; count++ );
mapped_attrs = ch_malloc( ( count + 1 ) * sizeof(char *));
for ( count = 0; op->oq_search.rs_attrs[ count ].an_name.bv_val; count++ ) {
...
...
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