diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-10-14 21:54:26 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-10-15 08:45:14 +0200 |
commit | ace4378de19371994e8e4c0d1a2d61bb9c039ea7 (patch) | |
tree | eab445878676ad44ab5888b609ccc9dcf515961d | |
parent | b647b2d5b366a6720adc88918c2bd3d6b16bcd13 (diff) | |
download | samba-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.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; } |