From: Howard Chu Date: Wed, 3 Mar 2010 00:15:04 +0000 (+0000) Subject: Fix pam_authz parameter input X-Git-Tag: MIGRATION_CVS2GIT~678 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=38b3fdafb74f40038c082059a6652b26e597449e;p=openldap Fix pam_authz parameter input --- diff --git a/contrib/slapd-modules/nssov/pam.c b/contrib/slapd-modules/nssov/pam.c index 8980c148e9..728ce057c5 100644 --- a/contrib/slapd-modules/nssov/pam.c +++ b/contrib/slapd-modules/nssov/pam.c @@ -271,13 +271,13 @@ int pam_authz(nssov_info *ni,TFILE *fp,Operation *op) READ_STRING_BUF2(fp,svcc,sizeof(svcc)); svc.bv_val = svcc; svc.bv_len = tmpint32; - READ_STRING_BUF2(fp,svcc,sizeof(ruserc)); + READ_STRING_BUF2(fp,ruserc,sizeof(ruserc)); ruser.bv_val = ruserc; ruser.bv_len = tmpint32; - READ_STRING_BUF2(fp,svcc,sizeof(rhostc)); + READ_STRING_BUF2(fp,rhostc,sizeof(rhostc)); rhost.bv_val = rhostc; rhost.bv_len = tmpint32; - READ_STRING_BUF2(fp,svcc,sizeof(ttyc)); + READ_STRING_BUF2(fp,ttyc,sizeof(ttyc)); tty.bv_val = ttyc; tty.bv_len = tmpint32;