From 38b3fdafb74f40038c082059a6652b26e597449e Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 3 Mar 2010 00:15:04 +0000 Subject: [PATCH] Fix pam_authz parameter input --- contrib/slapd-modules/nssov/pam.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.5