s4-auth Fix setting of bad_password_count in auth_convert_user_info_dc_sambaseinfo()
authorAndrew Bartlett <abartlet@samba.org>
Tue, 8 Feb 2011 23:46:21 +0000 (10:46 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 9 Feb 2011 00:11:06 +0000 (01:11 +0100)
Discovered during the convertion to auth_user_info.

Andrew Bartlett

source4/auth/auth_sam_reply.c

index 11f88701e293d7d7176dabb0523b244aa44c6ff0..eb9a83418a1a08bd9db24fdac4d4634c73ec8d1b 100644 (file)
@@ -74,7 +74,7 @@ NTSTATUS auth_convert_user_info_dc_sambaseinfo(TALLOC_CTX *mem_ctx,
        sam->home_drive.string = info->home_drive;
 
        sam->logon_count = info->logon_count;
-       sam->bad_password_count = sam->bad_password_count;
+       sam->bad_password_count = info->bad_password_count;
        sam->groups.count = 0;
        sam->groups.rids = NULL;