summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-02-09 10:46:21 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-02-09 01:11:06 +0100
commit7e76367e59452bc8f516572eb05ed614b776087d (patch)
tree6eb89a215f850dd958461855eeabd66a21913042
parentce461a7857cfc1658b31f43ebfda0cccf73fb5fb (diff)
downloadsamba-7e76367e59452bc8f516572eb05ed614b776087d.tar.gz
samba-7e76367e59452bc8f516572eb05ed614b776087d.tar.bz2
samba-7e76367e59452bc8f516572eb05ed614b776087d.zip
s4-auth Fix setting of bad_password_count in auth_convert_user_info_dc_sambaseinfo()
Discovered during the convertion to auth_user_info. Andrew Bartlett
-rw-r--r--source4/auth/auth_sam_reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/auth_sam_reply.c b/source4/auth/auth_sam_reply.c
index 11f88701e2..eb9a83418a 100644
--- a/source4/auth/auth_sam_reply.c
+++ b/source4/auth/auth_sam_reply.c
@@ -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;