summaryrefslogtreecommitdiff
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
commit1e0684678eb1851735c9a3321837ad19ea4aba68 (patch)
tree5f8f8fdb926a55037b7d64af5dc17b503d179020
parentc911ac23a94909b61a8e7cdcb4a9e2f7e6b31600 (diff)
downloadsamba-1e0684678eb1851735c9a3321837ad19ea4aba68.tar.gz
samba-1e0684678eb1851735c9a3321837ad19ea4aba68.tar.bz2
samba-1e0684678eb1851735c9a3321837ad19ea4aba68.zip
r12170: Fix a segfault -- this is post-3.0.21 code
(This used to be commit 8b30cf8e09944cd97e4ab959f730bf81591c2541)
-rw-r--r--source3/nsswitch/wb_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nsswitch/wb_client.c b/source3/nsswitch/wb_client.c
index 0e49cd31f3..fcab76b033 100644
--- a/source3/nsswitch/wb_client.c
+++ b/source3/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;
}