summaryrefslogtreecommitdiffstats
path: root/source3/sam
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-06-30 21:04:12 +0000
committerJeremy Allison <jra@samba.org>2003-06-30 21:04:12 +0000
commit81befd3c7177f7b4dd3c6b9f06e307d6a8cf8c47 (patch)
tree54f2e72a47ecd468ae2fa913626a6f5a4a618ae2 /source3/sam
parente359dbcedb53b03df79140c30ecfdfdbcb904595 (diff)
downloadsamba-81befd3c7177f7b4dd3c6b9f06e307d6a8cf8c47.tar.gz
samba-81befd3c7177f7b4dd3c6b9f06e307d6a8cf8c47.tar.xz
samba-81befd3c7177f7b4dd3c6b9f06e307d6a8cf8c47.zip
Fix missing ret = found by Volker.
Jeremy. (This used to be commit ba112bb3fdb4e81d8f6ab1ccc4a68960f71ccb23)
Diffstat (limited to 'source3/sam')
-rw-r--r--source3/sam/idmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/sam/idmap.c b/source3/sam/idmap.c
index 7e50fe1906..98588060da 100644
--- a/source3/sam/idmap.c
+++ b/source3/sam/idmap.c
@@ -162,7 +162,7 @@ NTSTATUS idmap_set_mapping(const DOM_SID *sid, unid_t id, int id_type)
/* Being able to update the remote cache is seldomly right.
Generally this is a forbidden operation. */
if (!(id_type & ID_CACHE_SAVE) && (remote_map != NULL)) {
- remote_map->set_mapping(sid, id, id_type);
+ ret = remote_map->set_mapping(sid, id, id_type);
if (!NT_STATUS_IS_OK(ret)) {
DEBUG (0, ("idmap_set_mapping: Error, unable to modify remote cache!\n"));
DEBUGADD(0, ("Error: %s", nt_errstr(ret)));