Displaying 9 results from an estimated 9 matches for "auth_userokay".
2001 Feb 16
1
OpenSSH 2.3.0p1 port to BSDI BSD/OS
...ut we need the original */
+#endif
+
/* import */
extern ServerOptions options;
extern char *forced_command;
@@ -258,7 +264,10 @@
NULL, password) == SIASUCCESS) {
authenticated = 1;
}
-#else /* !USE_PAM && !HAVE_OSF_SIA */
+#elif defined(HAVE_BSD_AUTH_H)
+ authenticated = auth_userokay(bsduser, NULL,
+ "auth-ssh", password);
+#else /* !USE_PAM && !HAVE_OSF_SIA && !HAVE_BSD_AUTH_H */
/* Try authentication with the password. */
authenticated = auth_password(pw, password);
#endif /* USE_PAM */
@@ -362,6 +371,10 @@
if (authenticated &&...
2000 Oct 07
0
OpenSSH changes for BSD/OS
...!USE_PAM && !HAVE_OSF_SIA */
/* Try authentication with the password. */
authenticated = auth_password(pw, password);
#endif /* USE_PAM */
--- 321,330 ----
NULL, password) == SIASUCCESS) {
authenticated = 1;
}
! #elif defined(HAVE_BSD_AUTH)
! authenticated = auth_userokay(bsduser, NULL,
! "auth-ssh", password);
! #else /* !USE_PAM && !HAVE_OSF_SIA && !HAVE_BSD_AUTH */
/* Try authentication with the password. */
authenticated = auth_password(pw, password);
#endif /* USE_PAM */
***************
*** 469,474 ****
--- 478,492 -...
2017 Apr 25
2
building Dovecot in Debian 9
I?m trying to build Dovecot 2.2.29.1 in a Docker container today and have the following error in ./configure:
checking for shadow.h... yes
checking for pam_start in -lpam... no
checking for auth_userokay... no
checking for mysql_config... mysql_config
checking for mysql_init in -lmysqlclient... no
configure: error: Can't build with MySQL support: libmysqlclient not found
#> find / -name libmysqlclient\*
/usr/share/doc/libmysqlclient20
/usr/share/lintian/overrides/libmysqlclient20
/usr/lib/x...
2003 Aug 09
0
Timing attacks and owl-always-auth
...word(authctxt, password);
- if (ret == 1 || ret == 0)
- return ret;
+ success = auth_krb5_password(authctxt, password);
+ if (success == 1 || success == 0)
+ if (auth_result(success) == 1)
+ return 1;
/* Fall back to ordinary passwd authentication. */
}
#endif
#ifdef BSD_AUTH
- if (auth_userokay(pw->pw_name, authctxt->style, "auth-ssh",
- (char *)password) == 0)
- return 0;
- else
+ success = (auth_userokay(user, authctxt->style, "auth-ssh",
+ (char *)password) == 0);
+ if (auth_result(success) == 1)
return 1;
#else
/* Check for users with no pas...
2006 Oct 15
1
Authenticating dovecot against Active Directory using bsdauth and login_ldap
...=======================================
These lines seem to require that the pw structure contains the
encrypted password in pw->pw_passwd. Where login_ldap is used against
Active Directory the encrypted password is not available to bsdauth
and instead pw->pw_passwd contains '*'. If auth_userokay is called
independently it is however able to authenticate the user correctly,
as such I wonder if the IS_VALID_PASSWD check is actually necessary.
It could be that my entire approach is wrong in which case I'm happy
to be put right; however it seems that lines 29-34 need modification
to corre...
2017 Apr 25
0
building Dovecot in Debian 9
...bmysqlclient-dev from
the Debian repo.
Peter
On 4/25/17 1:37 PM, KT Walrus wrote:
> I?m trying to build Dovecot 2.2.29.1 in a Docker container today and have the following error in ./configure:
>
> checking for shadow.h... yes
> checking for pam_start in -lpam... no
> checking for auth_userokay... no
> checking for mysql_config... mysql_config
> checking for mysql_init in -lmysqlclient... no
> configure: error: Can't build with MySQL support: libmysqlclient not found
>
> #> find / -name libmysqlclient\*
> /usr/share/doc/libmysqlclient20
> /usr/share/lintian/ov...
2002 Jul 30
0
patch: disable credential forwarding after password auth.
...RB4
if (options.kerberos_authentication == 1) {
int ret = auth_krb4_password(authctxt, password);
- if (ret == 1 || ret == 0)
- return ret;
+ if (ret == 1 || ret == 0) {
+ retval=ret ; goto out;
+ }
/* Fall back to ordinary passwd authentication. */
}
#endif
#ifdef BSD_AUTH
if (auth_userokay(pw->pw_name, authctxt->style, "auth-ssh",
- (char *)password) == 0)
- return 0;
- else
- return 1;
+ (char *)password) == 0) {
+ retval=0 ; goto out;
+ } else {
+ retval=1 ; goto out;
+ }
#endif
pw_password = pw->pw_passwd;
@@ -189,8 +203,9 @@
#endif /* defined(...
2017 Apr 25
2
building Dovecot in Debian 9
...gt;
> Peter
>
> On 4/25/17 1:37 PM, KT Walrus wrote:
>> I?m trying to build Dovecot 2.2.29.1 in a Docker container today and have the following error in ./configure:
>>
>> checking for shadow.h... yes
>> checking for pam_start in -lpam... no
>> checking for auth_userokay... no
>> checking for mysql_config... mysql_config
>> checking for mysql_init in -lmysqlclient... no
>> configure: error: Can't build with MySQL support: libmysqlclient not found
>>
>> #> find / -name libmysqlclient\*
>> /usr/share/doc/libmysqlclient20
&g...
2006 Nov 05
1
RC11 Build Failure on FreeBSD 6.1
...s
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking for pam_setcred in -lpam... yes
checking for auth_userokay... no
checking for vpopmail configuration at ~vpopmail/etc/lib_deps... not found
checking for crypt in -lcrypt... yes
checking for dlopen... yes
checking whether byte ordering is bigendian... no
checking for IPv6... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for z...