summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-11 22:08:10 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-12 09:30:49 +0200
commit7b73b6f964471b613c27aabea6550a1d51c75e96 (patch)
tree5418f0c8c6ecd4e97b090c11408fcc20ed372b34 /source3
parentaca920b27c15c2c90f7baf41042a66fa556abe80 (diff)
downloadsamba-7b73b6f964471b613c27aabea6550a1d51c75e96.tar.gz
samba-7b73b6f964471b613c27aabea6550a1d51c75e96.tar.bz2
samba-7b73b6f964471b613c27aabea6550a1d51c75e96.zip
s3:libsmb: remove unused cli->privileges
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 09:30:49 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/include/client.h1
-rw-r--r--source3/libsmb/clirap.c5
2 files changed, 4 insertions, 2 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index eada792403..b5b9bfc53e 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -60,7 +60,6 @@ struct cli_state {
int sec_mode;
int rap_error;
NTSTATUS raw_status; /* maybe via NT_STATUS_DOS() */
- int privileges;
char *desthost;
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c
index 96003c1640..b6cbec43fb 100644
--- a/source3/libsmb/clirap.c
+++ b/source3/libsmb/clirap.c
@@ -140,7 +140,10 @@ bool cli_NetWkstaUserLogon(struct cli_state *cli,char *user, char *workstation)
if (cli->rap_error == 0) {
DEBUG(4,("NetWkstaUserLogon success\n"));
- cli->privileges = SVAL(p, 24);
+ /*
+ * The cli->privileges = SVAL(p, 24); field was set here
+ * but it was not use anywhere else.
+ */
/* The cli->eff_name field used to be set here
but it wasn't used anywhere else. */
} else {