svn commit: samba r13515 - branches/SAMBA_3_0/source/nsswitch trunk/source/nsswitch

jerry at samba.org jerry at samba.org
Wed Feb 15 18:45:27 GMT 2006


Author: jerry
Date: 2006-02-15 18:45:25 +0000 (Wed, 15 Feb 2006)
New Revision: 13515

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

Log:
Make sure to store the correct domain name in the server affinity cache.


Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_cm.c
   trunk/source/nsswitch/winbindd_cm.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_cm.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_cm.c	2006-02-15 18:41:35 UTC (rev 13514)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_cm.c	2006-02-15 18:45:25 UTC (rev 13515)
@@ -360,7 +360,7 @@
 
 	/* cache the server name for later connections */
 
-	saf_store( (*cli)->domain, (*cli)->desthost );
+	saf_store( domain->name, (*cli)->desthost );
 
 	if (!cli_send_tconX(*cli, "IPC$", "IPC", "", 0)) {
 

Modified: trunk/source/nsswitch/winbindd_cm.c
===================================================================
--- trunk/source/nsswitch/winbindd_cm.c	2006-02-15 18:41:35 UTC (rev 13514)
+++ trunk/source/nsswitch/winbindd_cm.c	2006-02-15 18:45:25 UTC (rev 13515)
@@ -360,7 +360,7 @@
 
 	/* cache the server name for later connections */
 
-	saf_store( (*cli)->domain, (*cli)->desthost );
+	saf_store( domain->name, (*cli)->desthost );
 
 	if (!cli_send_tconX(*cli, "IPC$", "IPC", "", 0)) {
 



More information about the samba-cvs mailing list