git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3324247
)
s3: Remove procid_self() from claim_connection()
author
Volker Lendecke
<vl@samba.org>
Sun, 4 Jul 2010 16:15:36 +0000
(18:15 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 5 Jul 2010 09:06:25 +0000
(11:06 +0200)
source3/smbd/connection.c
patch
|
blob
|
history
diff --git
a/source3/smbd/connection.c
b/source3/smbd/connection.c
index 1b41931279daed989c40c6f89b5710d68aecfbad..5acc8218b75b25201c803313318c79e1c70fc35b 100644
(file)
--- 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;