From 7b73b6f964471b613c27aabea6550a1d51c75e96 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 11 Jul 2011 22:08:10 +0200 Subject: s3:libsmb: remove unused cli->privileges metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Tue Jul 12 09:30:49 CEST 2011 on sn-devel-104 --- source3/include/client.h | 1 - source3/libsmb/clirap.c | 5 ++++- 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 { -- cgit