summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-01-25 00:50:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:26 -0500
commit6ff9007252c530f59e8365a10be234a13e6202bd (patch)
treedeba94a5512554670e6a84e9df39a609aa210f72 /source3/utils
parentdf1e2693dce2da22a40ae0d0e75d2d3f35bf852f (diff)
downloadsamba-6ff9007252c530f59e8365a10be234a13e6202bd.tar.gz
samba-6ff9007252c530f59e8365a10be234a13e6202bd.tar.bz2
samba-6ff9007252c530f59e8365a10be234a13e6202bd.zip
r21010: fix the pstring change in ntlm_auth for require-membership-of in ntlm_auth
(This used to be commit 2d877e41d1fdf71b45074f257930062539e379d8)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/ntlm_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index 0774866e56..28de39c4f4 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -272,7 +272,7 @@ static BOOL check_plaintext_auth(const char *user, const char *pass,
fstrcpy(request.data.auth.user, user);
fstrcpy(request.data.auth.pass, pass);
if (require_membership_of_sid)
- fstrcpy(request.data.auth.require_membership_of_sid, require_membership_of_sid);
+ pstrcpy(request.data.auth.require_membership_of_sid, require_membership_of_sid);
result = winbindd_request_response(WINBINDD_PAM_AUTH, &request, &response);