summaryrefslogtreecommitdiff
path: root/source4/auth/auth_winbind.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/auth_winbind.c')
-rw-r--r--source4/auth/auth_winbind.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/auth/auth_winbind.c b/source4/auth/auth_winbind.c
index 878e706b9b..263aef8cc9 100644
--- a/source4/auth/auth_winbind.c
+++ b/source4/auth/auth_winbind.c
@@ -71,12 +71,12 @@ static NTSTATUS winbind_check_password(struct auth_method_context *ctx,
ZERO_STRUCT(request);
ZERO_STRUCT(response);
request.flags = WBFLAG_PAM_INFO3_NDR;
- fstrcpy(request.data.auth_crap.user,
- user_info->client.account_name);
- fstrcpy(request.data.auth_crap.domain,
- user_info->client.domain_name);
- fstrcpy(request.data.auth_crap.workstation,
- user_info->workstation_name);
+ winbind_strcpy(request.data.auth_crap.user,
+ user_info->client.account_name);
+ winbind_strcpy(request.data.auth_crap.domain,
+ user_info->client.domain_name);
+ winbind_strcpy(request.data.auth_crap.workstation,
+ user_info->workstation_name);
memcpy(request.data.auth_crap.chal, ctx->auth_ctx->challenge.data.data, sizeof(request.data.auth_crap.chal));