summaryrefslogtreecommitdiff
path: root/source3/nsswitch/libwbclient
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-27 16:40:44 +0200
committerGünther Deschner <gd@samba.org>2008-05-27 16:47:06 +0200
commitb7ef08507242bcf8dac09d9c204411ac074c7350 (patch)
tree3792c7463c93a0419d5af8c10ac0d98eeadc9f54 /source3/nsswitch/libwbclient
parentc73cc63e9204c8ffcca06aea1073862eba42e701 (diff)
downloadsamba-b7ef08507242bcf8dac09d9c204411ac074c7350.tar.gz
samba-b7ef08507242bcf8dac09d9c204411ac074c7350.tar.bz2
samba-b7ef08507242bcf8dac09d9c204411ac074c7350.zip
libwbclient: fix typo.
Guenther (This used to be commit 83c4a278dfefcef14a9640d319ddf5c7392cd16e)
Diffstat (limited to 'source3/nsswitch/libwbclient')
-rw-r--r--source3/nsswitch/libwbclient/wbc_pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/libwbclient/wbc_pam.c b/source3/nsswitch/libwbclient/wbc_pam.c
index 6385094235..c109625abf 100644
--- a/source3/nsswitch/libwbclient/wbc_pam.c
+++ b/source3/nsswitch/libwbclient/wbc_pam.c
@@ -309,7 +309,7 @@ wbcErr wbcAuthenticateUserEx(const struct wbcAuthUserParams *params,
}
strncpy(request.data.auth.pass,
params->password.plaintext,
- sizeof(request.data.auth.user)-1);
+ sizeof(request.data.auth.pass)-1);
break;
case WBC_AUTH_USER_LEVEL_HASH: