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
628deef9
Commit
628deef9
authored
Apr 14, 2008
by
Quanah Gibson-Mount
Browse files
ITS#5411
parent
ac3eea1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
628deef9
...
...
@@ -22,6 +22,8 @@ OpenLDAP 2.4.9 Engineering
Fixed slapo-syncprov/glue search ops (ITS#5434)
Fixed slapo-syncprov null cookie (ITS#5437,#5444)
Fixed slapo-syncprov double-free (ITS#5445)
Build Environment
Fixed leave function naming for OSF1 (ITS#5411)
Documentation
Fixed slapd.access(5) authz-regexp documented behavior (ITS#5400)
Fixed slapd.meta(5) idassert-* documentation (ITS#5406)
...
...
servers/slapd/back-bdb/dn2id.c
View file @
628deef9
...
...
@@ -302,7 +302,7 @@ bdb_dn2id(
data
.
flags
=
DB_DBT_USERMEM
;
rc
=
db
->
cursor
(
db
,
NULL
,
&
cursor
,
bdb
->
bi_db_opflags
);
if
(
rc
)
goto
leave
;
if
(
rc
)
goto
func_
leave
;
rc
=
bdb_dn2id_lock
(
bdb
,
dn
,
0
,
locker
,
lock
);
if
(
rc
)
goto
nolock
;
...
...
@@ -316,7 +316,7 @@ bdb_dn2id(
nolock:
cursor
->
c_close
(
cursor
);
leave:
func_
leave:
if
(
rc
!=
0
)
{
Debug
(
LDAP_DEBUG_TRACE
,
"<= bdb_dn2id: get failed: %s (%d)
\n
"
,
...
...
@@ -624,7 +624,7 @@ hdb_dn2id_add(
}
}
leave:
func_
leave:
op
->
o_tmpfree
(
d
,
op
->
o_tmpmemctx
);
Debug
(
LDAP_DEBUG_TRACE
,
"<= hdb_dn2id_add 0x%lx: %d
\n
"
,
e
->
e_id
,
rc
,
0
);
...
...
@@ -674,7 +674,7 @@ hdb_dn2id_delete(
data
.
data
=
d
;
rc
=
db
->
cursor
(
db
,
txn
,
&
cursor
,
bdb
->
bi_db_opflags
);
if
(
rc
)
goto
leave
;
if
(
rc
)
goto
func_
leave
;
/* We hold this lock until the TXN completes */
rc
=
bdb_dn2id_lock
(
bdb
,
&
e
->
e_nname
,
1
,
TXN_ID
(
txn
),
&
lock
);
...
...
@@ -703,7 +703,7 @@ hdb_dn2id_delete(
nolock:
cursor
->
c_close
(
cursor
);
leave:
func_
leave:
op
->
o_tmpfree
(
d
,
op
->
o_tmpmemctx
);
/* Delete IDL cache entries */
...
...
@@ -779,7 +779,7 @@ hdb_dn2id(
data
.
data
=
d
;
rc
=
bdb_dn2id_lock
(
bdb
,
in
,
0
,
locker
,
lock
);
if
(
rc
)
goto
leave
;
if
(
rc
)
goto
func_
leave
;
rc
=
cursor
->
c_get
(
cursor
,
&
key
,
&
data
,
DB_GET_BOTH_RANGE
);
if
(
rc
==
0
&&
(
dlen
[
1
]
!=
d
->
nrdnlen
[
1
]
||
dlen
[
0
]
!=
d
->
nrdnlen
[
0
]
||
...
...
@@ -803,7 +803,7 @@ hdb_dn2id(
}
}
leave:
func_
leave:
cursor
->
c_close
(
cursor
);
op
->
o_tmpfree
(
d
,
op
->
o_tmpmemctx
);
if
(
rc
!=
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