svn commit: samba r22214 - in branches/SAMBA_3_0/source/nsswitch: .

vlendec at samba.org vlendec at samba.org
Sat Apr 14 06:44:31 GMT 2007


Author: vlendec
Date: 2007-04-14 06:44:30 +0000 (Sat, 14 Apr 2007)
New Revision: 22214

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22214

Log:
Fix incompatible pointer type warnings. Simo, please check and merge to 3_0_25
if appropriate.

Volker

Modified:
   branches/SAMBA_3_0/source/nsswitch/idmap.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/idmap.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/idmap.c	2007-04-14 06:40:47 UTC (rev 22213)
+++ branches/SAMBA_3_0/source/nsswitch/idmap.c	2007-04-14 06:44:30 UTC (rev 22214)
@@ -828,7 +828,11 @@
 		wbret = winbind_lookup_sid(ctx, map->sid, &domname, &name, &sid_type);
 		winbind_off();
 	} else {
-		wbret = winbindd_lookup_name_by_sid(ctx, map->sid, &domname, &name, &sid_type);
+		char *tmp_dom, *tmp_name;
+		wbret = winbindd_lookup_name_by_sid(ctx, map->sid, &tmp_dom,
+						    &tmp_name, &sid_type);
+		domname = tmp_dom;
+		name = tmp_name;
 	}
 
 	/* check if this is a valid SID and then map it */



More information about the samba-cvs mailing list