diff options
-rw-r--r-- | source3/include/client.h | 1 | ||||
-rw-r--r-- | 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 { |