summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-12-10 23:56:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:47 -0500
commit8b30cf8e09944cd97e4ab959f730bf81591c2541 (patch)
tree1800c1bf5569961cc4436c6f344355f9d399b3a8 /source
parent209e4f8793fe9375fc6af1aedb5bd1fe57193bbc (diff)
downloadsamba-8b30cf8e09944cd97e4ab959f730bf81591c2541.tar.gz
samba-8b30cf8e09944cd97e4ab959f730bf81591c2541.tar.xz
samba-8b30cf8e09944cd97e4ab959f730bf81591c2541.zip
r12170: Fix a segfault -- this is post-3.0.21 code
Diffstat (limited to 'source')
-rw-r--r--source/nsswitch/wb_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/nsswitch/wb_client.c b/source/nsswitch/wb_client.c
index 0e49cd31f32..fcab76b033a 100644
--- a/source/nsswitch/wb_client.c
+++ b/source/nsswitch/wb_client.c
@@ -108,7 +108,8 @@ BOOL winbind_lookup_sid(TALLOC_CTX *mem_ctx, const DOM_SID *sid,
*name_type = (enum SID_NAME_USE)response.data.name.type;
DEBUG(10, ("winbind_lookup_sid: SUCCESS: SID %s -> %s %s\n",
- sid_string_static(sid), *domain, *name));
+ sid_string_static(sid), response.data.name.dom_name,
+ response.data.name.name));
return True;
}