diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-02-03 21:58:44 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-03-08 10:14:05 +0100 |
commit | 77602d877e755b2672b136704b039d85797fe305 (patch) | |
tree | 2145edafe1b4a97eda738c54e89056583c563353 /source3/auth/auth_ntlmssp.c | |
parent | 50547a9950062311a4952846960b15e1d6cdfdf5 (diff) | |
download | samba-77602d877e755b2672b136704b039d85797fe305.tar.gz samba-77602d877e755b2672b136704b039d85797fe305.tar.bz2 samba-77602d877e755b2672b136704b039d85797fe305.zip |
s3-auth: Remove single-implementation plugin layer
The ->get_ntlm_challenge and ->check_ntlm_password elements of struct auth_context
were only ever initialised to a single value. Make it easier to follow by
just calling the function directly.
Andrew Bartlett
Diffstat (limited to 'source3/auth/auth_ntlmssp.c')
-rw-r--r-- | source3/auth/auth_ntlmssp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c index 582c8dc591..3437dbfb83 100644 --- a/source3/auth/auth_ntlmssp.c +++ b/source3/auth/auth_ntlmssp.c @@ -59,7 +59,7 @@ NTSTATUS auth3_get_challenge(struct auth4_context *auth4_context, { struct auth_context *auth_context = talloc_get_type_abort(auth4_context->private_data, struct auth_context); - auth_context->get_ntlm_challenge(auth_context, chal); + auth_get_ntlm_challenge(auth_context, chal); return NT_STATUS_OK; } @@ -146,8 +146,8 @@ NTSTATUS auth3_check_password(struct auth4_context *auth4_context, mapped_user_info->flags = user_info->flags; - nt_status = auth_context->check_ntlm_password(auth_context, - mapped_user_info, &server_info); + nt_status = auth_check_ntlm_password(auth_context, + mapped_user_info, &server_info); if (!NT_STATUS_IS_OK(nt_status)) { DEBUG(5,("Checking NTLMSSP password for %s\\%s failed: %s\n", |