]> git.sur5r.net Git - openldap/commitdiff
Fix pam_authz parameter input
authorHoward Chu <hyc@openldap.org>
Wed, 3 Mar 2010 00:15:04 +0000 (00:15 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 3 Mar 2010 00:15:04 +0000 (00:15 +0000)
contrib/slapd-modules/nssov/pam.c

index 8980c148e936a5e63dcb8225eb55e64c53329f1f..728ce057c5cbd72d66372b10eb1c510b1cfd636c 100644 (file)
@@ -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;