s3:libsmb: remove unused cli->privileges
authorStefan Metzmacher <metze@samba.org>
Mon, 11 Jul 2011 20:08:10 +0000 (22:08 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 12 Jul 2011 07:30:49 +0000 (09:30 +0200)
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jul 12 09:30:49 CEST 2011 on sn-devel-104

source3/include/client.h
source3/libsmb/clirap.c

index eada7924039bb9d4a5e24a9e24c208f0181c621b..b5b9bfc53e60dc77c074d7bf93373c74b5d832ae 100644 (file)
@@ -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;
 
index 96003c164089d09980be052f61164a8e24500d05..b6cbec43fb74a21f411eccca8b50e5c3c9d4e9ba 100644 (file)
@@ -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 {