diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-02-04 10:02:43 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-02-04 10:02:43 +0000 |
commit | 49640635b15f53be6bb28d3d79255abe10c207dd (patch) | |
tree | ba69c34caf23b1ff0cf810f7534347dd862962e2 /source | |
parent | 3dfdaa0208ee538631378aa921300d95c596b70c (diff) | |
download | samba-49640635b15f53be6bb28d3d79255abe10c207dd.tar.gz samba-49640635b15f53be6bb28d3d79255abe10c207dd.tar.xz samba-49640635b15f53be6bb28d3d79255abe10c207dd.zip |
Actually checking both the account and password tests would be a good idea...
Andrew Bartlett
Diffstat (limited to 'source')
-rw-r--r-- | source/auth/auth_sam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/auth/auth_sam.c b/source/auth/auth_sam.c index 9650dc09401..06e27f1d48d 100644 --- a/source/auth/auth_sam.c +++ b/source/auth/auth_sam.c @@ -420,13 +420,13 @@ static NTSTATUS check_sam_security(const struct auth_context *auth_context, nt_status = sam_account_ok(mem_ctx, sampass, user_info); - nt_status = sam_password_ok(auth_context, mem_ctx, sampass, user_info, user_sess_key); - if (!NT_STATUS_IS_OK(nt_status)) { pdb_free_sam(&sampass); return nt_status; } + nt_status = sam_password_ok(auth_context, mem_ctx, sampass, user_info, user_sess_key); + if (!NT_STATUS_IS_OK(nt_status)) { pdb_free_sam(&sampass); return nt_status; |