summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-04-16 10:24:24 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-04-16 10:24:24 +0000
commitc56eca05bf6922914a3d319fb9725f0401739f8f (patch)
tree0548c84d6d1de8b06790d055952db1e35480df9a /source3
parent2cb0b91ed19c0fbbc3bfb1b5a35c6af2acf5b5d7 (diff)
downloadsamba-c56eca05bf6922914a3d319fb9725f0401739f8f.tar.gz
samba-c56eca05bf6922914a3d319fb9725f0401739f8f.tar.bz2
samba-c56eca05bf6922914a3d319fb9725f0401739f8f.zip
NTSTATUS strings are much more use than raw numbers...
(This used to be commit aeaa60c8432fe06ad51bac52f473e5fdc6c00afc)
Diffstat (limited to 'source3')
-rw-r--r--source3/sam/idmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/sam/idmap.c b/source3/sam/idmap.c
index 06fcc5a956..8b5e23de25 100644
--- a/source3/sam/idmap.c
+++ b/source3/sam/idmap.c
@@ -91,7 +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)));
+ DEBUGADD(0, ("Error: %s", nt_errstr(ret)));
return ret;
}
@@ -101,7 +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)));
+ DEBUGADD(0, ("Error: %s", nt_errstr(ret)));
}
}