summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-14 21:54:26 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-15 08:45:14 +0200
commitace4378de19371994e8e4c0d1a2d61bb9c039ea7 (patch)
treeeab445878676ad44ab5888b609ccc9dcf515961d
parentb647b2d5b366a6720adc88918c2bd3d6b16bcd13 (diff)
downloadsamba-ace4378de19371994e8e4c0d1a2d61bb9c039ea7.tar.gz
samba-ace4378de19371994e8e4c0d1a2d61bb9c039ea7.tar.bz2
samba-ace4378de19371994e8e4c0d1a2d61bb9c039ea7.zip
s4:lsa RPC server - use LDB result constant
-rw-r--r--source4/rpc_server/lsa/dcesrv_lsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c
index 1adfc08f6d..d2339c0e5f 100644
--- a/source4/rpc_server/lsa/dcesrv_lsa.c
+++ b/source4/rpc_server/lsa/dcesrv_lsa.c
@@ -3185,7 +3185,7 @@ static NTSTATUS dcesrv_lsa_SetSecret(struct dcesrv_call_state *dce_call, TALLOC_
}
} else {
if (samdb_msg_add_delete(secret_state->sam_ldb,
- mem_ctx, msg, "priorValue")) {
+ mem_ctx, msg, "priorValue") != LDB_SUCCESS) {
return NT_STATUS_NO_MEMORY;
}