summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-13 17:29:52 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-13 17:29:52 +0200
commitc183acc782ffa881dac770b093f3a50cc24b6262 (patch)
tree28e0f62e037d8cc2078bec28991e26a84d959c55 /source4
parent6b91a2ad8ebf6368c81eefdd225548e42a2ed0c4 (diff)
downloadsamba-c183acc782ffa881dac770b093f3a50cc24b6262.tar.gz
samba-c183acc782ffa881dac770b093f3a50cc24b6262.tar.bz2
samba-c183acc782ffa881dac770b093f3a50cc24b6262.zip
s4:dcesrv_samr - add another constant
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/samr/dcesrv_samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c
index 00820a3ab2..6c5f5b845f 100644
--- a/source4/rpc_server/samr/dcesrv_samr.c
+++ b/source4/rpc_server/samr/dcesrv_samr.c
@@ -2646,7 +2646,7 @@ static NTSTATUS dcesrv_samr_SetAliasInfo(struct dcesrv_call_state *dce_call, TAL
/* modify the samdb record */
ret = ldb_modify(a_state->sam_ctx, msg);
- if (ret != 0) {
+ if (ret != LDB_SUCCESS) {
/* we really need samdb.c to return NTSTATUS */
return NT_STATUS_UNSUCCESSFUL;
}