Displaying 4 results from an estimated 4 matches for "authsuccess".
2003 Jul 03
0
AIX cleanups: includes and arguments
...ese headers for the SIA cases */
# ifdef HAVE_CRYPT_H
# include <crypt.h>
# endif
-# ifdef WITH_AIXAUTHENTICATE
-# include <login.h>
-# endif
# ifdef __hpux
# include <hpsecurity.h>
# include <prot.h>
@@ -150,7 +148,7 @@
}
# endif
# ifdef WITH_AIXAUTHENTICATE
- authsuccess = (authenticate(pw->pw_name,password,&reenter,&authmsg) == 0);
+ authsuccess = (authenticate((char *)pw->pw_name,password,&reenter,&authmsg) == 0);
if (authsuccess) {
/* We don't have a pty yet, so just label the line as "ssh" */
Index: configure.ac...
2003 Jul 05
0
[PATCH] Replace AIX loginmsg with generic Buffer loginmsg
...1,9 +84,7 @@
#endif /* !HAVE_OSF_SIA */
extern ServerOptions options;
-#ifdef WITH_AIXAUTHENTICATE
-extern char *aixloginmsg;
-#endif
+extern Buffer loginmsg;
/*
* Tries to authenticate the user using password. Returns true if
@@ -151,15 +152,28 @@
# endif
# ifdef WITH_AIXAUTHENTICATE
authsuccess = (authenticate(pw->pw_name,password,&reenter,&authmsg) == 0);
+ aix_remove_embedded_newlines(authmsg);
if (authsuccess) {
+ char *msg;
+
+ debug3("AIX/authenticate succeeded for user %s: %.100s",
+ pw->pw_name, authmsg);
+
/* We don't have a pty yet,...
2002 Nov 20
0
[PATCH #9] Password expiration via /bin/passwd.
...;& !HAVE_OSF_SIA */
extern ServerOptions options;
+extern Buffer login_message;
+extern int password_change_required;
#ifdef WITH_AIXAUTHENTICATE
-extern char *aixloginmsg;
+void aix_remove_embedded_newlines(char *);
#endif
/*
@@ -149,13 +153,23 @@
#endif
#ifdef WITH_AIXAUTHENTICATE
authsuccess = (authenticate(pw->pw_name,password,&reenter,&authmsg) == 0);
+ aix_remove_embedded_newlines(authmsg);
- if (authsuccess)
+ if (authsuccess) {
+ char *msg;
+
+ debug("authenticate() succeeded for user %s: %.100s", pw->pw_name, authmsg);
/* We don't have a...
2002 Oct 13
1
[PATCH] AIX password expiration
Hi All.
With one eye on the do_pam_chauthtok() stuff I've merged contributions
by Pablo Sor and Mark Pitt into a patch against -current. I'm
interested in testers and suggestions for improvements.
The patch extends the loginrestrictions test to include expired
accounts (but unlike Mark's patch, doesn't log accounts with expired
passwords unless they're locked) and adds