Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
orbea -
OpenLDAP
Commits
4afcbf31
Commit
4afcbf31
authored
Mar 25, 2004
by
Jong Hyuk Choi
Browse files
fix for ITS#2995
parent
c3d2afbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/syncrepl.c
View file @
4afcbf31
...
...
@@ -1028,11 +1028,6 @@ done:
return
rc
;
}
static
struct
berval
uuidbva
[]
=
{
BER_BVNULL
,
BER_BVNULL
};
int
syncrepl_entry
(
syncinfo_t
*
si
,
...
...
@@ -1048,6 +1043,7 @@ syncrepl_entry(
slap_callback
cb
=
{
NULL
};
struct
berval
*
syncuuid_bv
=
NULL
;
struct
berval
syncUUID_strrep
=
{
0
,
NULL
};
struct
berval
uuid_bv
=
{
0
,
NULL
};
SlapReply
rs
=
{
REP_RESULT
};
Filter
f
=
{
0
};
...
...
@@ -1197,11 +1193,11 @@ syncrepl_entry(
}
mod
=
(
Modifications
*
)
ch_calloc
(
1
,
sizeof
(
Modifications
));
ber_dupbv
(
&
uuidbv
a
[
0
]
,
syncUUID
);
ber_dupbv
(
&
uuid
_
bv
,
syncUUID
);
mod
->
sml_op
=
LDAP_MOD_REPLACE
;
mod
->
sml_desc
=
slap_schema
.
si_ad_entryUUID
;
mod
->
sml_type
=
mod
->
sml_desc
->
ad_cname
;
mod
->
sml_bvalues
=
uuidbv
a
;
ber_bvarray_add
(
&
mod
->
sml_bvalues
,
&
uuid
_
bv
)
;
modtail
->
sml_next
=
mod
;
op
->
o_tag
=
LDAP_REQ_MODIFY
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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