Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
74230a29
Commit
74230a29
authored
Apr 14, 2008
by
Quanah Gibson-Mount
Browse files
ITS#5441
parent
0cad9471
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
74230a29
...
...
@@ -18,6 +18,7 @@ OpenLDAP 2.4.9 Engineering
Fixed slapd syncrepl refreshAndPersist (ITS#5454)
Fixed slapd syncrepl modrdn processing (ITS#5397)
Fixed slapd-ldap connection handler (ITS#5404)
Fixed slapo-auditlog unnecessary syscall (ITS#5441)
Fixed slapo-refint dnSubtreeMatch (ITS#5427)
Fixed slapo-refint global referential integrity (ITS#5428)
Fixed slapo-syncprov psearch on closed connection (ITS#5401)
...
...
servers/slapd/overlays/auditlog.c
View file @
74230a29
...
...
@@ -74,7 +74,7 @@ static int auditlog_response(Operation *op, SlapReply *rs) {
Modifications
*
m
;
struct
berval
*
b
,
*
who
=
NULL
;
char
*
what
,
*
suffix
;
long
stamp
=
slap_get_time
()
;
time_t
stamp
;
int
i
;
if
(
rs
->
sr_err
!=
LDAP_SUCCESS
)
return
SLAP_CB_CONTINUE
;
...
...
@@ -125,8 +125,9 @@ static int auditlog_response(Operation *op, SlapReply *rs) {
return
SLAP_CB_CONTINUE
;
}
stamp
=
slap_get_time
();
fprintf
(
f
,
"# %s %ld %s%s%s
\n
"
,
what
,
stamp
,
suffix
,
who
?
" "
:
""
,
who
?
who
->
bv_val
:
""
);
what
,
(
long
)
stamp
,
suffix
,
who
?
" "
:
""
,
who
?
who
->
bv_val
:
""
);
if
(
!
BER_BVISEMPTY
(
&
op
->
o_conn
->
c_dn
)
&&
(
!
who
||
!
dn_match
(
who
,
&
op
->
o_conn
->
c_dn
)))
...
...
@@ -173,7 +174,7 @@ static int auditlog_response(Operation *op, SlapReply *rs) {
break
;
}
fprintf
(
f
,
"# end %s %ld
\n\n
"
,
what
,
stamp
);
fprintf
(
f
,
"# end %s %ld
\n\n
"
,
what
,
(
long
)
stamp
);
fclose
(
f
);
ldap_pvt_thread_mutex_unlock
(
&
ad
->
ad_mutex
);
...
...
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