svn commit: samba r6530 - in branches/SAMBA_4_0/source/smbd: .

tridge at samba.org tridge at samba.org
Sat Apr 30 09:54:58 GMT 2005


Author: tridge
Date: 2005-04-30 09:54:58 +0000 (Sat, 30 Apr 2005)
New Revision: 6530

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

Log:
the server ID of a connection in the single process model should be
based on the new socket fd, not the listening socket!

this fixes locktest with -M single



Modified:
   branches/SAMBA_4_0/source/smbd/process_single.c


Changeset:
Modified: branches/SAMBA_4_0/source/smbd/process_single.c
===================================================================
--- branches/SAMBA_4_0/source/smbd/process_single.c	2005-04-30 09:47:32 UTC (rev 6529)
+++ branches/SAMBA_4_0/source/smbd/process_single.c	2005-04-30 09:54:58 UTC (rev 6530)
@@ -56,7 +56,7 @@
 
 	talloc_steal(private, sock);
 
-	new_conn(ev, sock2, socket_get_fd(sock), private);
+	new_conn(ev, sock2, socket_get_fd(sock2), private);
 }
 
 /*



More information about the samba-cvs mailing list