s3:auth Fix switch statement referencing a uninitialized variable
authorSimo Sorce <idra@samba.org>
Thu, 1 Jul 2010 21:47:46 +0000 (17:47 -0400)
committerSimo Sorce <idra@samba.org>
Thu, 1 Jul 2010 22:18:41 +0000 (18:18 -0400)
Looking at the original commit (9a747d500fad699038ecf75615c680a9fd9e4cc7)
this seem the right solution.

Andrew please check.

source3/rpc_server/srv_pipe.c

index 65251ec36342bd64b4fd9510e9f70922d19ae10c..3bc997ecbf518a288b87cd675e943e2fdac9a9a7 100644 (file)
@@ -1139,7 +1139,7 @@ static bool pipe_spnego_auth_bind_negotiate(pipes_struct *p, prs_struct *rpc_in_
                        goto err;
                }
 
-               switch (auth_info.auth_level) {
+               switch (pauth_info->auth_level) {
                        case DCERPC_AUTH_LEVEL_INTEGRITY:
                                auth_ntlmssp_want_sign(a);
                                break;