1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-07 09:49:30 +03:00

auth4: Move a variable closer to its use

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Volker Lendecke
2017-03-03 06:03:31 +01:00
parent 6296c32668
commit 2104f45314

View File

@ -266,7 +266,6 @@ _PUBLIC_ struct tevent_req *auth_check_password_send(TALLOC_CTX *mem_ctx,
/* if all the modules say 'not for me' this is reasonable */
NTSTATUS nt_status;
uint8_t chal[8];
struct auth_usersupplied_info *user_info_tmp;
struct tevent_immediate *im;
DEBUG(3,("auth_check_password_send: "
@ -285,6 +284,7 @@ _PUBLIC_ struct tevent_req *auth_check_password_send(TALLOC_CTX *mem_ctx,
if (!user_info->mapped_state) {
int server_role = lpcfg_server_role(auth_ctx->lp_ctx);
struct auth_usersupplied_info *user_info_tmp;
nt_status = map_user_info(
auth_ctx->sam_ctx, req,