Author: vlendec Date: 2005-12-10 23:56:42 +0000 (Sat, 10 Dec 2005) New Revision: 12170
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12170 Log: Fix a segfault -- this is post-3.0.21 code Modified: branches/SAMBA_3_0/source/nsswitch/wb_client.c trunk/source/nsswitch/wb_client.c Changeset: Modified: branches/SAMBA_3_0/source/nsswitch/wb_client.c =================================================================== --- branches/SAMBA_3_0/source/nsswitch/wb_client.c 2005-12-10 23:29:39 UTC (rev 12169) +++ branches/SAMBA_3_0/source/nsswitch/wb_client.c 2005-12-10 23:56:42 UTC (rev 12170) @@ -108,7 +108,8 @@ *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; } Modified: trunk/source/nsswitch/wb_client.c =================================================================== --- trunk/source/nsswitch/wb_client.c 2005-12-10 23:29:39 UTC (rev 12169) +++ trunk/source/nsswitch/wb_client.c 2005-12-10 23:56:42 UTC (rev 12170) @@ -108,7 +108,8 @@ *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; }
