mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3: Remove procid_self() from claim_connection()
This commit is contained in:
parent
33242471e5
commit
5387d6ee16
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user