diff options
-rw-r--r-- | source4/rpc_server/lsa/dcesrv_lsa.c | 2 |
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; } |