From 5387d6ee16d575251d656ce3e17b933e1be52343 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 4 Jul 2010 18:15:36 +0200 Subject: s3: Remove procid_self() from claim_connection() --- source3/smbd/connection.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c index 1b41931279..5acc8218b7 100644 --- a/source3/smbd/connection.c +++ b/source3/smbd/connection.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "smbd/globals.h" /**************************************************************************** Delete a connection record. @@ -138,7 +139,7 @@ bool claim_connection(connection_struct *conn, const char *name) /* fill in the crec */ ZERO_STRUCT(crec); crec.magic = 0x280267; - crec.pid = procid_self(); + crec.pid = sconn_server_id(conn->sconn); crec.cnum = conn->cnum; crec.uid = conn->server_info->utok.uid; crec.gid = conn->server_info->utok.gid; -- cgit