summaryrefslogtreecommitdiff
path: root/source3/sam/idmap.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2003-04-08 10:46:46 +0000
committerSimo Sorce <idra@samba.org>2003-04-08 10:46:46 +0000
commit1eda5b4987360b0f2f2e330e8227962fdb890623 (patch)
tree3c7d54480ecd1a5762b3ae76c9229f8af9eea9dd /source3/sam/idmap.c
parentbce94d35f125eaeaa4db7866503418b8f281edf2 (diff)
downloadsamba-1eda5b4987360b0f2f2e330e8227962fdb890623.tar.gz
samba-1eda5b4987360b0f2f2e330e8227962fdb890623.tar.bz2
samba-1eda5b4987360b0f2f2e330e8227962fdb890623.zip
some more debugging in case of failure
(This used to be commit 9374f8692f6587b5f773c72b7847b64edeee9614)
Diffstat (limited to 'source3/sam/idmap.c')
-rw-r--r--source3/sam/idmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/sam/idmap.c b/source3/sam/idmap.c
index 00b45565bb..06fcc5a956 100644
--- a/source3/sam/idmap.c
+++ b/source3/sam/idmap.c
@@ -91,6 +91,7 @@ NTSTATUS idmap_set_mapping(const DOM_SID *sid, unid_t id, int id_type)
ret = local_map->set_mapping(sid, id, id_type);
if (NT_STATUS_IS_ERR(ret)) {
DEBUG (0, ("idmap_set_mapping: Error, unable to modify local cache!\n"));
+ DEBUGADD(0, ("Error num. %d", NT_STATUS_V(ret)));
return ret;
}
@@ -100,6 +101,7 @@ NTSTATUS idmap_set_mapping(const DOM_SID *sid, unid_t id, int id_type)
remote_map->set_mapping(sid, id, id_type);
if (NT_STATUS_IS_ERR(ret)) {
DEBUG (0, ("idmap_set_mapping: Error, unable to modify remote cache!\n"));
+ DEBUGADD(0, ("Error num. %d", NT_STATUS_V(ret)));
}
}