Displaying 6 results from an estimated 6 matches for "__pampasswd".
2001 Nov 07
2
Flaw in empty password authentication in sshd
...08:37 2001
--- auth-amrita.c Tue Nov 6 22:58:46 2001
***************
*** 203,208 ****
--- 203,209 ----
{
extern ServerOptions options;
int pam_retval;
+ int flags=0;
do_pam_set_conv(&conv);
***************
*** 217,223 ****
__pampasswd = password;
pamstate = INITIAL_LOGIN;
! pam_retval = do_pam_authenticate(0);
if (pam_retval == PAM_SUCCESS) {
debug("PAM Password authentication accepted for "
"user \"%.100s\"", pw->pw_name);
--- 218,227 ----
__pampas...
2001 Oct 09
1
TISviaPAM patch
Here is a patch that does TIS auth via PAM. It's controlled by a switch
in the sshd_config. You'd use it by having a PAM module that sets
PAM_PROMPT_ECHO_ON. eg, you could use it with pam_skey or pam_smxs.
The patch is against the 2.9.9p2 distribution.
I'm not on the list, a reply if this patch is accepted would be great.
(But not required, I know some folks have a distaste for
2002 Feb 15
0
[Bug 118] New: Implement TIS (protocol 1) via PAM
...get_string(&dlen);
+ debug("got response '%s'", response);
+ packet_integrity_check(plen, 4 + dlen, type);
+ reply[count].resp = xstrdup(response);
+ reply[count].resp_retcode = PAM_SUCCESS;
+ xfree(response);
+ break;
+
case PAM_PROMPT_ECHO_OFF:
- if (__pampasswd == NULL) {
+ if (__pampasswd == NULL ||
+ pamprompt != PAM_PROMPT_ECHO_OFF) {
free(reply);
return PAM_CONV_ERR;
}
@@ -198,8 +236,8 @@
}
}
-/* Attempt password authentation using PAM */
-int auth_pam_password(struct passwd *pw, const char *password)
+/* Attempt passwo...
2002 Jul 24
0
pam problems with securid patch
Hi,
I have the securID patch applied to openssh3.4p-1 and it's compiled with
pam. The problem I'm getting is that SecurID auth works OK, but normal
password auth doesn't. I narrowed down the failure to the following section
in auth-pam.c :
__pampasswd = password;
pamstate = INITIAL_LOGIN;
pam_retval = do_pam_authenticate(
options.permit_empty_passwd == 0 ? PAM_DISALLOW_NULL_AUTHTOK :
0);
but I can't see how this works. Can anyone enlighten me please? I know that
the password is correct but pam_retval is still...
2003 May 02
6
openssh 3.6.1_p2 problem with pam (fwd)
----- Forwarded message from Andrea Barisani <lcars at infis.univ.trieste.it> -----
Date: Fri, 2 May 2003 14:01:33 +0200
From: Andrea Barisani <lcars at infis.univ.trieste.it>
To: openssh at openssh.com
Subject: openssh 3.6.1_p2 problem with pam
Hi, I've just updated to openssh 3.6.1_p2 and I notice this behaviour:
# ssh -l lcars mybox
[2 seconds delay]
lcars at mybox's
2002 Jul 25
0
openssh-unix-dev digest, Vol 1 #505 - 15 msgs
...,
>
> I have the securID patch applied to openssh3.4p-1 and it's compiled with
>
> pam. The problem I'm getting is that SecurID auth works OK, but normal
> password auth doesn't. I narrowed down the failure to the following
> section
> in auth-pam.c :
>
> __pampasswd = password;
>
> pamstate = INITIAL_LOGIN;
> pam_retval = do_pam_authenticate(
> options.permit_empty_passwd == 0 ? PAM_DISALLOW_NULL_AUTHTOK
> :
> 0);
>
> but I can't see how this works. Can anyone enlighten me please? I know
> that
&g...