summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ssh/include
diff options
context:
space:
mode:
authorjp161948 <none@none>2007-03-28 05:47:04 -0700
committerjp161948 <none@none>2007-03-28 05:47:04 -0700
commitf44ef4668fa223436280848405e8aeef639dfe38 (patch)
treec326da3d50c7ad307852f4ec14236b27aabb3b67 /usr/src/cmd/ssh/include
parent5952d5880214b5b96db7c4b4d853f897762c4592 (diff)
downloadillumos-joyent-f44ef4668fa223436280848405e8aeef639dfe38.tar.gz
6203206 sshd should set PAM_AUSER for hostbased userauth for audited logins to roles
Diffstat (limited to 'usr/src/cmd/ssh/include')
-rw-r--r--usr/src/cmd/ssh/include/auth.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/cmd/ssh/include/auth.h b/usr/src/cmd/ssh/include/auth.h
index 16449818d0..d2bd9815b5 100644
--- a/usr/src/cmd/ssh/include/auth.h
+++ b/usr/src/cmd/ssh/include/auth.h
@@ -35,7 +35,7 @@ extern "C" {
*
*/
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -98,6 +98,9 @@ struct Authctxt {
v1 still needs this*/
#ifdef USE_PAM
pam_stuff *pam;
+ char *cuser; /* client side user, needed for setting
+ PAM_AUSER for hostbased authentication
+ using roles */
u_long last_login_time; /* need to get the time of
last login before calling
pam_open_session() */