]> andersk Git - openssh.git/blobdiff - openbsd-compat/port-aix.h
- guenther@cvs.openbsd.org 2010/01/15 00:05:22
[openssh.git] / openbsd-compat / port-aix.h
index 8b891faf8b1ec3590dd8c9236597259627c48080..c6f498fb544d2ab89aab1f046f6980192d41fda9 100644 (file)
@@ -71,6 +71,11 @@ int passwdexpired(char *, char **);
 # include <sys/timers.h>
 #endif
 
+/* for setpcred and friends */
+#ifdef HAVE_USERSEC_H
+# include <usersec.h>
+#endif
+
 /*
  * According to the setauthdb man page, AIX password registries must be 15
  * chars or less plus terminating NUL.
@@ -90,6 +95,10 @@ int sys_auth_record_login(const char *, const char *, const char *, Buffer *);
 # define CUSTOM_SYS_AUTH_GET_LASTLOGIN_MSG
 char *sys_auth_get_lastlogin_msg(const char *, uid_t);
 # define CUSTOM_FAILED_LOGIN 1
+# if defined(S_AUTHDOMAIN)  && defined (S_AUTHNAME)
+# define USE_AIX_KRB_NAME
+char *aix_krb5_get_principal_name(char *);
+# endif
 #endif
 
 void aix_setauthdb(const char *);
This page took 0.03399 seconds and 4 git commands to generate.