summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-31 21:49:04 +0200
committerGünther Deschner <gd@samba.org>2010-05-31 22:18:30 +0200
commite80301eded1d42b6a015c622be07bba589ee3512 (patch)
tree1a48d3744d289e250ef121c9b7843cbf70f2e7a3 /source3/smbd
parentd33c41fbf5bd48fe32d82174d8bd25d1651ee374 (diff)
downloadsamba-e80301eded1d42b6a015c622be07bba589ee3512.tar.gz
samba-e80301eded1d42b6a015c622be07bba589ee3512.tar.bz2
samba-e80301eded1d42b6a015c622be07bba589ee3512.zip
s3-smbd: remove unused sconn from token_contains_name().
Guenther
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/share_access.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/smbd/share_access.c b/source3/smbd/share_access.c
index d41b05d1d8..6f3bfd020a 100644
--- a/source3/smbd/share_access.c
+++ b/source3/smbd/share_access.c
@@ -73,7 +73,6 @@ static bool token_contains_name(TALLOC_CTX *mem_ctx,
const char *prefix;
struct dom_sid sid;
enum lsa_SidType type;
- struct smbd_server_connection *sconn = smbd_server_conn;
if (username != NULL) {
name = talloc_sub_basic(mem_ctx, username, domain, name);